I need to convert 32bpp images in Android , an instance of Bitmap class with a Bitmap.Config as ARGB_8888.
1. How can I reduce the color depth image to 8bpp and 4bpp?
2. Does android provide any java helper classes to achieve the same?
I need to convert 32bpp images in Android , an instance of Bitmap class
Share
You need to use an external image processing library to do that kind of color quantization. I would prefer use Leptonica. Its written in C but you can find Android Java bindings in this project