Bookmark Topic Watch Topic
  • New Topic

Image Stream  RSS feed

 
Paul Tarbit
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi all,

Sorry, dont know where to post this...I have a black and white png image. I was wanting to load the file, and then convert every pixel to binary (ie o for black and 1 for white) then put them into a 2D array, or file.
Example...

A picture of chess board section into

110011001100
110011001100
001100110011
001100110011

I tried to explain it anyway hehe. The pixel position still kept after conversion. Well if you get what I mean and can help this would be great!!

Thanks all the best
 
Joe Ess
Bartender
Posts: 9406
12
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Report post to moderator
If you are uncertain where to post something, your best bet would be one of the Java in General forums rather than posting to multiple forums. That dilutes the efforts of the community to get all questions answered. I'm going to lock this question. Follow up in the post in the Swing forum
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!