How to convert a 24 Bit PNG to 3 Bit PNG using Floyd–Steinberg dithering?

前端 未结 4 1841
予麋鹿
予麋鹿 2020-12-16 18:11

How to convert a 24 Bit PNG to 3 Bit PNG using Floyd–Steinberg dithering? java.awt.image.BufferedImage should be used to get and set RGB values.

On wik

4条回答
  •  悲&欢浪女
    2020-12-16 19:03

    You can use JAI: http://java.sun.com/products/java-media/jai/forDevelopers/jai1_0_1guide-unc/Image-manipulation.doc.html

提交回复
热议问题