Reputation: 5140
I'm writing a mobile android application which send an image (as Base64 encoded byte array) to a Google app engine server. On the server I want to supply the image I got from the client to a third party module which expects it to be a Bitmap. The problem is that I can't find a way to get create an image from the encoded byte array on GAE. Each thing I tried failed due to app engine restrictions: "x is not supported by Google App Engine's Java runtime environment".
Any suggestions?
Upvotes: 3
Views: 383
Reputation: 7054
Why not use the Image API setImageData method, which takes a byte array of image data to create an Image object that can be used with the rest of the image APIs?
Upvotes: 2
Reputation: 3297
That Google App Engine doesn't support some javax classes.
Would imageIO class if available solves your problem? then the possible answer is as follows:
Does this solutions seems to work?
Upvotes: 0