skip to Main Content

Java Greyscale buffered image – Photoshop

So I have a byte array representing pixel data (8bit grayscale). No header. No nothing. Just the data. I want to create a buffered image from this data. I did image = new BufferedImage(w, h, BufferedImage.TYPE_BYTE_GRAY); image.getRaster().setDataElements(0, 0, w, h,…

VIEW QUESTION
Back To Top
Search