Beta
PHP function imagetruecolortopalette() has 3 arguments:

&im required
&ditherFlag required
&colorsWanted required

Full syntax: imagetruecolortopalette(&im, &ditherFlag, &colorsWanted)

See PHP documentation: http://php.net/imagetruecolortopalette

Share the knowledge your way

Please wait while checking