Last modified: 2012-02-22 12:35:17 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 11045 - Transparent PNGs resized with GD display with ugly background in IE 6
Transparent PNGs resized with GD display with ugly background in IE 6
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
1.11.x
All All
: Lowest enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: testme
Depends on:
Blocks: 640
  Show dependency treegraph
 
Reported: 2007-08-23 19:45 UTC by Brion Vibber
Modified: 2012-02-22 12:35 UTC (History)
2 users (show)

See Also:
Web browser: Internet Explorer
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Brion Vibber 2007-08-23 19:45:52 UTC
PNG images can contain a bKGD chunk which defines a background color; this is used for instance by Internet Explorer 6.0 when displaying PNGs with multiple-bit alpha transparency.

When we resize PNGs with ImageMagick, we specify a white background color, which is usually an acceptable fallback for decent display in IE 6 and generic image viewers. When resizing with GD, no background color gets set. IE 6 ends up displaying its generic ugly bluish grayish background, which is fairly unattractive.

Unfortunately the GD library doesn't appear to provide any interface for setting the background color. It might be relatively easy to hack up the file after saving, though, and add a hardcoded  background chunk. :)

Just a minor thing, but it's these little things that keep people happy.
Comment 1 Siebrand Mazeland 2009-06-04 11:05:25 UTC
Update Web browser.
Comment 2 Siebrand Mazeland 2009-06-04 11:35:34 UTC
Adding testme. Please test with Internet Explorer 8 and note the result here.
Comment 3 Brion Vibber 2009-09-23 21:15:02 UTC
IE8 results would be useless, as this is only relevant to browsers *not* supporting alpha transparency in PNGs; these (eg, IE 6 or below) will display the background color chunk instead.
Comment 4 Guillaume Paumier 2009-12-31 00:51:36 UTC
Is this the same issue as bug 234 ?
Comment 5 Brion Vibber 2011-02-06 12:41:58 UTC
I'm going to go out on a limb and mark this WONTFIX; workaround of installing ImageMagick should work for most any site that finds they care about this issue still in 2011. :)

Wikimedia not affected.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links