Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

java.awt.* is not supported by GAE? how to resolve this?

BufferedImage image = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB);

in app engine , i found it doesn't work, it said that java.awt.image.bufferedImage is not supported by GAE.and java.awt.*, javax.imageio.ImageWriter also are not suppoted by GAE. so can someone tell me how to implement those functions in GAE?

like image 546
lmarsxiu Avatar asked Dec 06 '25 16:12

lmarsxiu


2 Answers

so can someone tell me how to implement those functions in GAE?

The simple answer is that it is not possible in GAE.

like image 140
Stephen C Avatar answered Dec 08 '25 05:12

Stephen C


The Google App Engine has a great built-in Images API for image processing tasks. For filesystem emulation on the Google App Engine, have a look at GAE VFS

In short, the way you are trying to accomplish your goal is inconsistent with the design of the App Engine.

like image 41
Travis Webb Avatar answered Dec 08 '25 06:12

Travis Webb



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!