|
-
Jan 21st, 2002, 02:22 AM
#1
Thread Starter
PowerPoster
Display image...
How can I display an image from the loaded *.gif or *.bmp image file with CreateFile and ReadFile API?
regards,
Chris.C
-
Jan 22nd, 2002, 07:29 AM
#2
Retired VBF Adm1nistrator
With difficulty
You'd have to try and create a device context from the data of the file ... you sure you can't use a GenerateDC() function or something similar instead of reading in the file ?
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Jan 22nd, 2002, 11:47 AM
#3
Thread Starter
PowerPoster
actually, im spliting the GIF imgae file into an individual image(per frame), in order to display the image i can create a temporary GIF file and reload into a picturebox/image control. But it seem too much file I/O involve.
Hence, I plan to use the read data to display the image without save into the temporary GIF file. Do you think this is a good method? or do suggest/recommend some others method to me 
regards,
-
Jan 22nd, 2002, 01:15 PM
#4
Retired VBF Adm1nistrator
Hmmm.
I'll have a think 
I would suggest messaging zaei on this one too ... sastraxi and fox too ...
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
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
|