G
Guest
Hi all,
I have a directory full of images (most over 2MB in size) I was to show
each image as a thumbnail on a form, however in order to create a thumbnail I
have to open the complete image then scale it down. This is quite slow,
since there is a lot of file IO going on, what I want to be able to do is
open the image in the scaled down size so that I miss out the step of opening
the file then dowsizing it. I have not been able to find any way to do this
using .NET, possibly it is some Win32 API call, does anyone know?
If you look in Windows Explorer in thumbnail view it shows a thumbnail for
all the images in a directory lightening fast, there must be some Win32
method that can produce thumb size images without reading the whole file -
how can I be this fast using .Net?
Thanks
Mark
I have a directory full of images (most over 2MB in size) I was to show
each image as a thumbnail on a form, however in order to create a thumbnail I
have to open the complete image then scale it down. This is quite slow,
since there is a lot of file IO going on, what I want to be able to do is
open the image in the scaled down size so that I miss out the step of opening
the file then dowsizing it. I have not been able to find any way to do this
using .NET, possibly it is some Win32 API call, does anyone know?
If you look in Windows Explorer in thumbnail view it shows a thumbnail for
all the images in a directory lightening fast, there must be some Win32
method that can produce thumb size images without reading the whole file -
how can I be this fast using .Net?
Thanks
Mark