How to decode JPX images in java?

喜欢而已 提交于 2019-12-11 05:39:40

问题


I'm trying to render a pdf (with pdf-renderer or jpedal), and it can't handle an image encoded using JPX. Is there any open-source java library that can decode JPX?


回答1:


JPX needs JPEG2000 which needs the JAI and imageIO libraries. JPedal has support for JPX - you just need to enable it which explained on the support section.

There is a patched version of the imageio to fix the memory bug on our site at http://www.jpedal.org/PDFblog/2011/03/java-jai-image-io-jpeg2000-memory-leak-fix/



来源:https://stackoverflow.com/questions/8279252/how-to-decode-jpx-images-in-java

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