Hi, if i use the image service there seem to be some problems with transparency.
I tried to comibe two pictures. the first one without any transparency information and the second with some. The picture with transparency is this one<http://dl.dropbox.com/u/1716912/thurbo/error/overlay.png> : <https://lh6.googleusercontent.com/_ns5i2WXP9ek/TTG5dfkfAnI/AAAAAAAAAAM/P5j4iqj3dzI/overlay.png> some parts are complete white and some are transparent white. But what i get is the following: <https://lh4.googleusercontent.com/_ns5i2WXP9ek/TTG6FnFUdOI/AAAAAAAAAA4/S2AA89JeVW0/wrong.png> which obviously does not using transparency for combining the two pictures. There seems to be a black background behind the picture with the transparency. code looks like this: private byte[] createThumbnail(String path, int width, int height) throws IOException { /* some missing parts*/ Image thumbnail = imagesService.applyTransform(crop, oldImage, ImagesService.OutputEncoding.PNG); // create overlay Composite th = ImagesServiceFactory.makeComposite(thumbnail, 0, 0, 1.0f, Anchor.TOP_LEFT); // TODO: check if online works with transparency Composite ov = ImagesServiceFactory.makeComposite(overlay, 0, 0, 1.0f, Anchor.TOP_LEFT); LinkedList<Composite> finalImage = new LinkedList<Composite>(); finalImage.push(ov); finalImage.push(th); thumbnail = imagesService.composite(finalImage,THUMBNAIL_WITH, THUMBNAIL_HEIGHT,0,ImagesService.OutputEncoding.PNG); return thumbnail.getImageData(); } first i get the first pictures, which is in .jpg format, crop it and transform to .png. Then i try to stack the overlay with some transparency on it. Have you any ideas what causes the problem and/or have an idea how to work around this? thanks -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
