Hi all,

I currently try to use the Images Python API to scale images. While
scaling works generally, there are two issues I'd love to know a way
to work around:

- If I resize and crop a PNG image having an 8 bit alpha channel:
  Expected: Transparency is not affected by scale & crop.
  Actual: The transparent parts are black afterwards.

- If I resize and crop a PNG image having no alpha channel:
  Expected: The resulting image has no alpha channel.
  Actual: The resulting image has an alpha channel.

For both issues, I tried to prevent these using the images.composite
function, but could not find any work around: The PNG image I got in
the first case always gets the transparent parts in black, and the PNG
image in the second case always gets an alpha channel (even if the
background color used in images.composite is opaque).

Do you know whether there are any workarounds for these issues?


Cheers,

Tammo Freese

-- 
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