How to achieve jpeg lossless?

后端 未结 2 1678
忘了有多久
忘了有多久 2020-12-10 09:45

How to achieve jpeg-lossess in Java?

ImageWriter writer = (ImageWriter) ImageIO.getImageWritersByFormatName(\"JPEG-LS\").next();
ImageWriteParam param = writ         


        
2条回答
  •  暖寄归人
    2020-12-10 10:23

    Standard java does not have a compression type for JPEG-LS.

    You can to download and use the JAI (Java Advanced Imaging) API though which I beleive includes such a compression type.

    Can be downloaded from here

提交回复
热议问题