read jpeg2000 files in java

后端 未结 4 598
北荒
北荒 2020-12-06 11:58

I have a code using a byte[] that contains a image jpeg2000 bytes. I want show this in jLabel component howto do this? Anyone have idea or code to

4条回答
  •  Happy的楠姐
    2020-12-06 12:28

    With the Java library imageio-openjpeg (Apache 2 license) you can use Jpeg2000 files (*.jp2) with the imageio API from Java. It is based on OpenJPEG (BSD license). Since 2015 is OpenJPEG the reference software of the Jpeg2000 standard.

    If you want use it then you need both imageio-openjpeg and the OpenJPEG for your platform.

提交回复
热议问题