如何在Java中解码JPX图像? [英] How to decode JPX images in java?
本文介绍了如何在Java中解码JPX图像?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试渲染pdf(使用pdf-renderer或jpedal),它无法处理使用JPX编码的图像.有没有可以解码JPX的开源Java库?
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?
推荐答案
JPX需要JPEG2000,后者需要JAI和imageIO库. JPedal支持JPX-您只需要启用它就可以在支持部分进行了解释.
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/
这篇关于如何在Java中解码JPX图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文