|
-
Feb 16th, 2010, 08:09 PM
#4
Re: Fast way to check if an image file (JPG, BMP, etc) is viewable?
Hmmm, maybe it isn't the testing that is slow but other processes. VB can load images quite fast. And though some may not be viewable in VB it doesn't mean it is corrupted. For example, VB has real problems with modern day icons, but the icons are not corrupted. VB can't display PNG/TIFF natively but it doesn't mean the image is corrupted.
If you give us more details of what you are trying to do and how you are doing it, we may be able to give better advice.
Edited: Regarding DLLs, there are several; here are 2 free ones. GDI+ that comes with XP & above and free download with 98 & above from MSDN. FreeImage library is another; there's examples of its usage in the Code Bank section. Simply search there for FreeImage. But answering my question may be the best answer . Remember what I said above; even if those other DLLs say it is a valid image format, doesn't mean VB can load it.
Last edited by LaVolpe; Feb 16th, 2010 at 09:01 PM.
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
|