|
-
Dec 23rd, 2002, 06:32 PM
#1
Thread Starter
New Member
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!
-
Dec 24th, 2002, 10:48 AM
#2
PowerPoster
what's with this "binary string" stuff? Why don't you just put the GIF file in the picture box?
-
Dec 24th, 2002, 11:10 AM
#3
Thread Starter
New Member
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.
-
Dec 24th, 2002, 11:30 AM
#4
PowerPoster
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|