phunction icon indicating copy to clipboard operation
phunction copied to clipboard

phunction_Disk::Image()

Open alixaxel opened this issue 14 years ago • 2 comments

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 avatar Jul 21 '11 23:07 alixaxel

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

alixaxel avatar Sep 03 '11 16:09 alixaxel

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

xeoncross avatar Jul 30 '12 17:07 xeoncross