wizard32 Posted July 1, 2011 Share Posted July 1, 2011 Hi all I was searching throw the Imagic and GD libary but couldnot find a function near info on google about this question. I want to adjust the total count of colors in an image but how to do that? I couldnot find a function 'setColorCount' or what so ever Thanks a lot Link to comment https://forums.phpfreaks.com/topic/240880-adjusting-images-in-php-imagick-or-gd/ Share on other sites More sharing options...
The Little Guy Posted July 1, 2011 Share Posted July 1, 2011 what do you mean by "adjust the total count of colors"? Link to comment https://forums.phpfreaks.com/topic/240880-adjusting-images-in-php-imagick-or-gd/#findComment-1237322 Share on other sites More sharing options...
wizard32 Posted July 1, 2011 Author Share Posted July 1, 2011 Well an image can have lets say 90 colors. But i want that the image can only contain 50 colors max so imagick then changes the image that it contains 50 colors. Link to comment https://forums.phpfreaks.com/topic/240880-adjusting-images-in-php-imagick-or-gd/#findComment-1237323 Share on other sites More sharing options...
The Little Guy Posted July 1, 2011 Share Posted July 1, 2011 http://www.imagemagick.org/script/quantize.php Link to comment https://forums.phpfreaks.com/topic/240880-adjusting-images-in-php-imagick-or-gd/#findComment-1237347 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.