-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
A few warnings about using GD2 as your thumbnail generator.
I have found at least 2 bugs with the GD2 library, both dealing with PNGs with an alpha channel. One of them is purely aesthetic; the other silently crashes PHP (and Apache).
The first bug is that in resizing a PNG image, it will either (depending on how the destination image was created) * Keep the alpha and change the colors to shades of an arbitrary one (in my case, yellow) * Loose the alpha
The second bug is that while loading the source image, GD2 causes some kind of error and silently kills PHP and (if you're using SAPI) Apache. (To know that it is actually crashing Apache, try running Apache with "-D ONE_PROCESS".)
Just a word of warning. There are advantages to running other programs to do your work.
- -- Jamie - ------------------------------------------------------------------- http://endeavour.zapto.org/astro73/ Thank you to JosephM for inviting me to Gmail! Have lots of invites. Gmail now has 2GB.
mediawiki-l@lists.wikimedia.org