开发者

jpeg2000 on ios app

Has anyone had luck converting and using jpeg2000 on the ios? I am writing and inventory app and would开发者_如何学Python love to go with a jpeg2000 file type if I can figure out how to get the phone to support it.

I have seen that there is a nice project for webp - https://github.com/carsonmcdonald/WebP-iOS-example - which seems like it would also work but I think the jpeg2000 results are even better.

Just trying to eval options. Thx in advance


We used JPEG 2000 for my last project (Spot.app)

I downloaded the official open-source JPEG 2000 codec source from here: http://www.openjpeg.org/index.php?menu=download

Build it into a static library and voila.

Here's some sample code I created: https://gist.github.com/1861465


Image IO has nice image conversion functions that eliminate the need for 3rd party code. See more here: How do I convert UIImage to J2K (JPEG2000) in iOS?

No need to bring in the JPEG 2000 project.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜