I am working on google appengine to create a tool for comparing image similarity.
I need to extract the pixel values of each image to perform this.
Unfortunately appengine does not support the java image libs.So I am unable to proceed.
Is there any appengine safe image library in java capable of extracting image data?
I saw some techniques in python but dont want to switch to python if I can do it in java somehow…
GAEJ has its own graphic library with fairly limited features and
java.awt.image.BufferedImageis a restricted class (ie,java.awt.Imageis not supported and still not present in the Jre Class White List ).There’s an open issue here, that you might want to star.
EDIT:
Somebody has patched pngj to work with InputStream.(You could use it to read a PNG pixel by pixel)