tedd wrote:

In the php manual it says:

imagecreate() returns an image identifier representing a blank image of specified size.
We recommend the use of imagecreatetruecolor().

Q: Why the recommendation?

Because the need to create 256 colour (or less) images grows less year by year. If you need to work with a jpeg/png then imagecreatetruecolor() is required. As this is what most people need, hence the manual comment exists.

imagecreate() returns a "blank" page whereas imagecreatetruecolor() returns a "black" page.

Sure, but both are easily changed.

Cheers,

Rich
--
Zend Certified Engineer
http://www.corephp.co.uk

"Never trust a computer you can't throw out of a window"

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to