Search code examples
iosimagejpegjpeg2000

jpeg2000 on ios app


Has anyone had luck converting and using jpeg2000 on the ios? I am writing and inventory app and would 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


Solution

  • 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