How do I create a BufferedImage from array containing pixels?

后端 未结 3 619
旧时难觅i
旧时难觅i 2021-01-14 18:38

I get the pixels from BufferedImage using the method getRGB(). The pixels are stored in array called data[]. After some manipulation o

3条回答
  •  无人及你
    2021-01-14 19:35

    You can set the RGB (int) values for the pixels in the new image using the setRGB methods.

提交回复
热议问题