If you have an int array representing individual pixels' RGB and Alpha values, how can I turn this into an image? Thanks in advance.
1 Answer
You might want to use BufferedImage and setRGB method, see the docs and look for following method:
public void setRGB(int startX,
int startY,
int w,
int h,
int[] rgbArray,
int offset,
int scansize)
1 Comment
Mechanical snail
See also this answer.