alixaxel / phunction

Small and carefully designed PHP 5.2+ HMVC framework.
//github.com/alixaxel/phunction/
MIT License
105 stars 10 forks source link

phunction_Disk::Image() #3

Open alixaxel opened 13 years ago

alixaxel commented 13 years ago

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.

alixaxel commented 13 years ago

NTS: Look into ExactImage (http://www.exactcode.com/site/open_source/exactimage/).

xeoncross commented 12 years ago

Also, note possible improvements based on order of GD functions.