Closed (won't fix)
Project:
Drupal core
Version:
x.y.z
Component:
user system
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Feb 2005 at 08:31 UTC
Updated:
3 Sep 2005 at 20:34 UTC
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.
| Comment | File | Size | Author |
|---|---|---|---|
| jenna_icon.png | 20.53 KB | irwin |
Comments
Comment #1
moonthedog commentedI don't think that ot is Drupal, I tink that it is how IE views PNG files. Try to view it in Firefox.
Comment #2
crunchywelch commentedYes, 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...