Is this on the dev server? There's a known issue with transparency on the
dev server.

Rodrigo's comment in the following thread for how to patch it:
http://groups.google.com/group/google-appengine/browse_thread/thread/8c9aef5b96ead12f

Nick


On 9 March 2010 09:27, Genkido <[email protected]> wrote:

> I'm trying to make a composite image using the Images module. The idea
> is that an image is pasted over another, with full opacity, but based
> on the alpha channel; Composite image is to have the sum of both
> alphas.
>
> However, when I try the following:
>
> im1 = images.Image(urlfetch.Fetch(url1).content)
> im2 = images.Image(urlfetch.Fetch(url2).content)
>
> im = images.composite(
>            [(im1, 0, 0, 1.0, images.TOP_LEFT),
>            (im2, 0, 0, 1.0, images.TOP_LEFT)],
>            201, 201
>        )
>
> The result is im2. According to PIL's composite, this is to be
> expected, however, I'm looking for something similar to paste. Is
> there any way to do what I'm looking for?
>
> Thanks!
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-appengine%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" 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?hl=en.

Reply via email to