// from: https://stackoverflow.com/questions/14416107/int-array-to-bufferedimage // pixels are RGBA pixels static BufferedImage pixelsToBufferedImage(int[] pixels, int w, int h default pixels.length/w) { ret intArrayToBufferedImage(pixels, w, h); }