How to get Color Depth and Bit Depth from an Image Android

1.6k views Asked by At

I have been trying for some days to find the Color depth and/or Bit depth of any already available image (jpeg,png format preferable) in SD card for Android.

I have not been able to get any breakthrough till now.

I want output to be accordingly like 8 bit,16 bit,24 bit,32 bit...

Yes it should be inclusive of the R,G,B pattern.

I have stumbled upon A Java class to determine image width, height and color depth for a number of image file formats. Written by Marco Schmidt

Any guidance is welcomed.

0

There are 0 answers