开发者

writing Jpeg 2000 images in java

开发者 https://www.devze.com 2023-01-17 05:02 出处:网络
I am trying to encode (write) jpeg 2000 in Java. I am reading a \'.bmp\' image and try to write \'.jp2\' image. I am using:

I am trying to encode (write) jpeg 2000 in Java. I am reading a '.bmp' image and try to write '.jp2' image. I am using:

javax.imageio.ImageIO.write(img1, "jpeg 2000", file1);

I do not receive any error, but the size of the produced image is zero. Can 开发者_运维知识库anybody help me please?

Thanks a lot in advance.


The only problem was that when I was installing JAI_ImageIO, I should have selected "custome installation" and checked everything to be installed. Thanks everyone.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号