|
-
Feb 16th, 2010, 07:32 PM
#2
Re: Fast way to check if an image file (JPG, BMP, etc) is viewable?
Welcome to the forums.
The alternative may not be faster. You would have to parse the image file manually. And that is what VB is doing before it loads the image.
JPGs & GIFs being compressed, will be much more complicated to parse.
Bitmaps are relatively easy to determine if they are corrupt or not.
But if you are also talking about icons, cursors, wmfs, emfs, and GIFs then you'd need manual parsers for each of them too.
If you are loading the image into a visible object (like a form, picbox, image control) then that will take more time because VB is displaying it after loading it.
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
|