2 Replies Latest reply: Aug 7, 2007 8:28 AM by 807605 RSS

    Create an image from a bit String

      Hi everybody

      I don't know if this is the correct forum for this so first of all sorry if I did it wrong. I have never created an image in Java so I am a little bit lost with my new task.
      I have a bit String (for example "00111010") and I want to create an image converting the 0-s into white pixels and 1-s into black ones. The new image should be 8x1 pixels (for the previous example would be white-white-black-black-black-white-black-white).
      As I have explained before, I have never done something similar so I don't know how easy is my problem to resolve. Any help?