imagepalettetotruecolor

PHP 5 >= 5.5.0, PHP 7, PHP 8
imagepalettetotruecolor - Converts a palette based image to true color
Manual
Code Examples

Example #1 Converts any image object to true color

Result: typeof($im) = palette typeof($im) = true color
PHP Version:


Function imagepalettetotruecolor:

Image Processing and GD Functions

Most used PHP functions