You are not logged in.
Pages: 1
Hello all,
I should to save an Image with the needed color depth.
To read the color depth from IGPImage, I use IGPImage.RawFormat. But GDI+ has no a possibility to set RawFormat with a function.
What must I do?
Which PropertyItem must I set and how I do it?
Thank you.
Offline
AFAIK it looks like the ColorDepth parameter is only supported on the TIFF image type, thus converting to GIF or TIFF and another conversion to BMP or PNG is the only way to convert from 24-bit BMP or PNG to 8-bit BMP or PNG.
See https://groups.google.com/forum/#!topic … HfVKfZ2psA
I suppose you don't want to use TIFF format...
Offline
Thank you.
I want to use it for all supported formats.
But if it is not possible, I'm going to think of something else.
Thanks for link, but I've already read it.
Offline
Pages: 1