In Android how to decode a jpeg in cmyk color format?
-
05-02-2021 - |
Question
I'm trying to decode a jpeg that is in CMYK color format. BitmapFactory returns null. I googled around but with no luck. Is it possibile Android team did not the right job supporting all kind of color format?
I'm using Android 2.2.
Thank you so much.
Solution
Found the solution: loading the JPEG using the external library libjpeg compiled with NDK. It has been a hard work, but I did it!
OTHER TIPS
It's very possible I'd say:
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow