how to compress a PNG image using Java

后端 未结 4 1219
孤街浪徒
孤街浪徒 2020-12-10 12:18

Hi I would like to know if there is any way in Java to reduce the size of an image (use any kind of compression) that was loaded as a BufferedImage and is going to be saved

4条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-10 12:35

    You may want to try pngtastic. It's a pure java png image optimizer that can shrink may png images down to some degree.

提交回复
热议问题