i use imagetruecolortopallete to reducebit image from 24 bit rgb to 8 bit rgb but result image not beautiful as same as from tinypng.com how can i do ?
image 8 bit rgb convert by my code
image 8 bit rgb convert by tinypng.com
[Spektre]: sorry for not whole image but I lost the patience the source link is too slow/unstable (this took ~20 min after 3th attempt to download it ...)
<?php
$im = imagecreatetruecolor(1024, 768);
imagetruecolortopalette($im, true, 255);
imagepng($im, 'cat.png');
imagedestroy($im);
?>