Page 1 of 1

Colors optimized

Posted: Mon Dec 31, 2007 12:50 pm
by Agus
It is possible to have a palette of approximately 500 colors and can convert an image 24-bit in a palette of 40 colors optimized?

I want to buy the current version, but this time the next version 5?

Thanks

Re: Colors optimized

Posted: Mon Dec 31, 2007 5:21 pm
by Loïc
Hi,

You can use the Quantize8Bpp() method of the Imaging class:
https://gdpicture.com/references/gdpictu ... e8Bpp.html

Imaging1.Quantize8Bpp(40)


The next V5 major release will be available within 1 - 3 month.

If you purchase the actual V4 edition you will get the V5 for free.

Regards and happy new year !

Loïc