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 Quote 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"? Quote 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. Quote 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 Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.