问题
How to use ImageService in AppEnginge to add watermark on images. Images are uploaded to blobstore then serve. Simple text watermark will do.
Any reference on this? Thanks
回答1:
You can do this using ImagesServiceFactory.makeComposite, which allows you to specify X and Y positions and an opacity for an image to composite onto a canvas (the base image). Simply include your watermark image as a resource your app can access using ImagesServiceFactory.makeImageFromFilename.
来源:https://stackoverflow.com/questions/11553232/images-in-watermark-in-google-app-engine-java