Register / Login
Swing / AWT / SWT
Create gray Buffered Image from 2D array
posted 10 years ago
Im trying to create a new bufferedImage of TYPE_BYTE_GRAY from
a 2D array with (gray) pixel's intensity (0-255) .
I couldnt use the raster etc stuff succesfully because I have
an int[x][y] array and seems that it looks for byte input...
any ideas ?
Thanks a lot
create ImageIcon from bytes, not from file
Need An Idea to solve This
How to get name of 2D matrix as user input?