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

后端 未结 5 1361
失恋的感觉
失恋的感觉 2021-01-21 04:16

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 i

5条回答
  •  心在旅途
    2021-01-21 04:59

    GAE does not support java.awt images. You have to use GAE Image API to work with images. Reference: https://developers.google.com/appengine/docs/java/images/

    This API operates with bytes. The source/destination of your image data can be: post from form, URL connection, DataStore BLOB or BlobStorage.

提交回复
热议问题