Hai Yen
2005-12-20 07:11:28 UTC
Hi all,
I have a grayscale 8-bit depth PNG image with only 2 possible values for any
pixel: 0 or 255 (i.e. a black and white image).
I want to convert it into a binary 1-bit depth PNG image. Is there any way
to do this using libpng?
Any pointers to relevant directions or funtions is greatly appreciated!
Thanks,
Haiyen.
I have a grayscale 8-bit depth PNG image with only 2 possible values for any
pixel: 0 or 255 (i.e. a black and white image).
I want to convert it into a binary 1-bit depth PNG image. Is there any way
to do this using libpng?
Any pointers to relevant directions or funtions is greatly appreciated!
Thanks,
Haiyen.