In Android how to decode a jpeg in cmyk color format?

痞子三分冷 提交于 2020-01-03 13:02:23

问题


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.


回答1:


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




回答2:


It's very possible I'd say:

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



来源:https://stackoverflow.com/questions/7608507/in-android-how-to-decode-a-jpeg-in-cmyk-color-format

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!