• Post Reply Bookmark Topic Watch Topic
  • New Topic

Create gray Buffered Image from 2D array

 
Michael Mas
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!