Last modified: 2011-09-21 17:37:05 UTC
Hi, Problem: Thumbnails for PNG images are generated using rusty tones using the GD plugin. ( $this->bits > 8 ) line 1277 in Image.php is returning false when it should return true for PNG images. The thumbnail is created using an indexed palette instead of true color, due to the code calling PHP's imagecreate() instead of imagecreatetruecolor(). I have it hard-coded to 'true' now as a temporary workaround. I am not sure if the bug is a Mediawiki-specific issue. Build and OS information for the problematic server is located at: http://php.scripts.psu.edu/phpinfo.php Thanks, George en:[[User:GChriss]] * MediaWiki: 1.7.1 * PHP: 5.1.6 (apache) * MySQL: 4.1.21-standard * Extensions: o Extension functions: + Auth_remote_user_hook o Parser extension tags: + <pre>
*** Bug 9055 has been marked as a duplicate of this bug. ***
As of 1.10, it looks like all thumbs are done in truecolor mode with GD rendering, thus nicely colored and resampled.