hi, i am working on an image catalog program. i think LoadPicture function is very slow.
1. is there a faster way to load images?
2. can you advise me a way to load all images in a dir quickly ?
Yea I was wondering this, but my front-end processing takes so long it was not the highest priority. Is there an API? Seems a bit unlikely though, where do you put the image? (address etc)
hi, thanks for the responses.
I am not very sure about what control i am using exactly, i am using this algorithm:
i have a picturebox, named P e.g., then I load like:
Try using an image control, see if that makes a difference
i think the syntax is something like image.picture = (filename)
The Image control uses fewer system resources and repaints faster than a PictureBox control, but it supports only a subset of the PictureBox properties, events, and methods.
Ah here we go, I just found this on a site:
Whenever possible, use Visual Basic's Image control instead of the PictureBox control. Both can display images, but the Image control displays much more quickly. Use the PictureBox control only when you need one of its special capabilities, such as dynamic data exchange (DDE), font properties or a special drawing method (such as .Line, .Circle or .PSet).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.