How to replace colors in BufferedImage in JAVA

后端 未结 4 1865
星月不相逢
星月不相逢 2020-12-16 06:48

I\'m wondering if there is a more efficient method for replacing colors in a BufferedImage. At the moment I use the following method:

I fill an array with colors to

4条回答
  •  执念已碎
    2020-12-16 07:27

    Have a look at BufferedImageFilter/BufferedImageOp to filter your image in the producer/consumer/observer paradigm.

提交回复
热议问题