本文介绍了ios app上的jpeg2000的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时删除!!

有没有人在ios上转换和使用jpeg2000?我正在编写和库存应用程序,如果我能弄清楚如何让手机支持它,我很乐意使用jpeg2000文件类型。

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.

我看到那里是一个很好的webp项目 - - 这似乎也可以,但我认为jpeg2000的结果更好。

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.

只是尝试评估选项。 Thx提前

Just trying to eval options. Thx in advance

推荐答案

我们使用JPEG 2000作为我的上一个项目(Spot.app)

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

我从这里下载了官方的开源JPEG 2000编解码器源代码:

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

这篇关于ios app上的jpeg2000的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

1403页,肝出来的..

09-06 14:51