binary data

Mobile

New member
Joined
Jan 31, 2004
Messages
1
what would the decoding/encoding system line be for a gif/jpg image. I just cant figure it out.


Thanks in advance Mobile
 
You can use the System.Text.Encoding.Default for reading in all characters from 0 - 255.
But, your GIF/JPG file is going to be text.
If you want an image, use the Image.FromFile shared method.
Code:
Dim Bmp As System.Drawing.Bitmap = Bitmap.FromFile(Filename)
 
Back
Top