MarcR
10/19/2004 4:45:00 PM
I have two JPG in a directory. Both are pictures from digital cameras (but
not the same camerat). I use the following code to load the image:
dim objImage as system.drawing.image
dim sFile as string
objImage = objImage.FromFile(sFile)
When sfile is set to c:\a.jpg, I have no problem, howerver when it is set to
use c:\b.jpg it throws an out of memory error. I know that it is related to
the JPG file, but cannot figure out how to deal with it.
The b.jpg file opens fine in paint and image editor under windows. Both
files are <100k.
Any thoughts on this problem would be helpful.
Thanks,
Marc.
rivsoftinc-a@yahoo.ca