On Android, how to decode jpeg in cmyk format?

I am trying to decode a jpeg that is in CMYK color format. BitmapFactory returns null. I googled around, but with no luck. Is it possible that the Android team did not do the job, supporting all color formats?

I am using Android 2.2.

Thank you very much.

+5
source share
2 answers

Found a solution: loading JPEG using an external libjpeg library compiled using the NDK. It was hard work, but I did it!

+3
source

It is very possible, I would say:

http://code.google.com/p/skia/issues/detail?id=69

0
source

Source: https://habr.com/ru/post/916099/


All Articles