views:

24

answers:

1

I'm trying to draw text to an image from Java in the Google App engine, but I've found no methods (since the java.awt.image.* isn't whitelisted) to do it with. I'm also trying to "layer" one image on top of another, which I can't figure out how to do.

Is there any way to draw text on an image or overlay one image over another in App Engine using Java? Has anyone found any other solutions to this?

+1  A: 

You have to use Google's Images API instead.

Not sure if it can do all you need it to, but it does include image composition.

Thilo
It can't add text or overlay one image over another from what I've seen of it, though I could be wrong.
NightExcessive
You can combine two or more images using the `composite` method: http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/images/ImagesService.html
Jason Hall