Results 1 to 4 of 4

Thread: Picturebox to binary string and visa versa

  1. #1

    Thread Starter
    New Member
    Join Date
    Dec 2002
    Location
    Belgium
    Posts
    2

    Post Picturebox to binary string and visa versa

    hi all,
    I'm looking for a way to put a string containing the contents of a small gif picture in to picture box and visa versa. So I need to convert a binary string (with data from a picture, like a gif-file) and make it "visible" in picture box and also to put the contents of a picture box in to a binary string, so that it can be "decoded" both ways to display the picture. In short picturebox <-> binary string
    Many thanks in advance!

  2. #2
    PowerPoster
    Join Date
    Aug 2001
    Location
    new jersey
    Posts
    2,904
    what's with this "binary string" stuff? Why don't you just put the GIF file in the picture box?

  3. #3

    Thread Starter
    New Member
    Join Date
    Dec 2002
    Location
    Belgium
    Posts
    2
    I know how to put a picture in a picture box lol, but the reason why I need this is to send the binary contents (ascii string) through a radiotransmitter as text, so it can be decoded at the receivers end. This way the picture could be build up again just by reading those strings.

  4. #4
    PowerPoster
    Join Date
    Aug 2001
    Location
    new jersey
    Posts
    2,904
    just break each byte into upper and lower nibble and or them with &H30, then on the other end, take off the &H30 and put them back together.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width