在Android中如何去code CMYK颜色格式的JPEG? [英] In Android how to decode a jpeg in cmyk color format?

查看:281
本文介绍了在Android中如何去code CMYK颜色格式的JPEG?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图去code JPEG格式是CMYK颜色格式。 BitmapFactory返回null。我用Google搜索周围,但没有运气。它是不可能性Android团队都没有合适的工作,支持所有类型的彩色格式的?

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?

我使用的是Android 2.2的。

I'm using Android 2.2.

感谢你这么多。

推荐答案

找到了解决办法:使用外部库加载JPEG libjpeg的的编译NDK。这是一个艰苦的工作,但我做到了!

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

这篇关于在Android中如何去code CMYK颜色格式的JPEG?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆