Retrieving image pixel values ​​in google appengine

I am working on a Google appengine to create a tool for comparing image affinities. I need to extract pixel values ​​for each image in order to accomplish this. Unfortunately appengine does not support java images of libs.So I cannot continue.

Is there any free appengine image library in Java capable of extracting image data? I saw some methods in python, but don't want to switch to python if I can do it in java somehow ...

+4
source share
3 answers

GAEJ has its own graphics library with fairly limited functions and java.awt.image.BufferedImage is a limited class (i.e. java.awt.Image not supported and is not yet in the whitelist of the Jre class ).

There is an open problem here that you might want with the stars.

EDIT:
Someone fixed pngj to work with InputStream (you can use it to read a PNG pixel by pixel)

+2
source

The new version of pngj is now an alternative pngj-sandbox.jar, which refers only to classes with white lists, it should be run in the google-application engine.

+1
source

can https://github.com/witwall/appengine-awt help you? I believe that this will be enough to add theis lib to the project dependency to make BufferedImage work (but havent 'tried it yet)

0
source

All Articles