When I upload a user picture that is a PNG with a transparent background, Drupal modifies the image after upload and converts the background to black. I don't know what it is doing to make the changes.

However, if I compare two images: one before upload, and one after, you can see that they are different sizes.

[irwink@sapphire pictures]$ ls -la picture-1.png ~/fanstuff/jenna_icon.png
-rw-rw-r--  1 irwink irwink 21026 May  6  2004 /home/irwink/fanstuff/jenna_icon.png
-rw-r--r--  1 apache apache 14450 Feb  6 03:15 picture-1.png
[irwink@sapphire pictures]$ diff picture-1.png ~/fanstuff/jenna_icon.png
Binary files picture-1.png and /home/irwink/fanstuff/jenna_icon.png differ

I've attached a copy of the original user picture used, called "jenna_icon.png".

I do not know what Drupal uses for its upload scheme - please inform if you need to learn versions of image manipulation libraries.

CommentFileSizeAuthor
jenna_icon.png20.53 KBirwin

Comments

moonthedog’s picture

I don't think that ot is Drupal, I tink that it is how IE views PNG files. Try to view it in Firefox.

crunchywelch’s picture

Status: Active » Closed (won't fix)

Yes, IE notoriously does not support transparency in png files. png is an open format, so it must be bad ;)....

I heard rumor that IE7 may support this...