phunction
phunction copied to clipboard
phunction_Disk::Image()
As any other wrapper that relies on GD for image manipulation, the phunction_Disk::Image() method discards all image color profiles instead of converting them to the (web safe) sRGB color profile. This may result in a faded image output.
Relying on the ImageMagick extension (if available) may be an option however, besides being considerably slower than GD, it also produces PNG images orders of magnitude larger. Another drawback is that it can only open local images.
NTS: Look into ExactImage (http://www.exactcode.com/site/open_source/exactimage/).
Also, note possible improvements based on order of GD functions.