|
-
Jan 12th, 2000, 07:13 PM
#1
Thread Starter
Registered User
What is the fastest way to:
1) Read binary data file to a string buffer
2) Draw that code to picture box?
This is the way I have done it, first the data read and then the drawing:
Seek place, #1
Buffer=input(sizeofbuffer,#1)
For A = 0 to Xsize
For B = 0 to Ysize
Color = RGB(0,asc(mid(Buffer,B*Xsize+A,1)),0
'API call used to draw pixel to the picturebox, can't remember which one
Next B
Next A
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
|