note 13742 added to function.imagecreatetruecolor.php

From: Date: Sat, 30 Jun 2001 21:22:53 +0000
Subject: note 13742 added to function.imagecreatetruecolor.php
Groups: php.notes 
Request: Send a blank email to php-notes+get-14828@lists.php.net to get a copy of this message
ImageCreateTrueColor is used to create an image resource with an unlimited number of colors, which is useful when manipulating JPEG images, for example. ImageCreate is used to create an image resource with a 256 color palette, sometimes called indexed color. In previous versions, ImageCreate worked OK for manipulating JPEG images. But in experimenting with the Win32 version of PHP 4.0.6, which I think relies on the GD 2.0.1 lib beta, you have to use ImageCreateTrueColor to get accurate color results with JPEGs. http://www.php.net/manual/en/function.imagecreatetruecolor.php

« previous php.notes (#14828) next »