CakeFest 2025 Madrid: The Official CakePHP Conference

Voting

: min(six, three)?
(Example: nine)

The Note You're Voting On

robert at scpallas dot de
23 years ago
The function ImageCreate() creates a PALETTE image.
The function ImageCreateFromJPEG() creates a TRUE COLOR image.

When you use GD 2.0 you will get an error when you try to use ImageCopy()
with one True color image and one Palette image.

Be sure to convert one of the images before using ImageCopy() or use ImageCreateTrueColor() instead of ImageCreate().

<< Back to user notes page

To Top