Information générale
Catégorie:
Photos et traitement d'images
Titre:
Using MIAA in VFP - how to display a picture
I'm working on an application where I want to display the thumbnail pictures contained in a collection of JPG files from a digital camera.
I've been working with the Microsoft Image Acquisition Automation (MIAA) package in VFP. I am able to read JPG files, and enumerate all of the items in the files, including the thumbnail pictures.
My problem: how to get those thumbnail pictures to display in controls on my form in the most efficient manner possible.
VFP has an image control, but the Picture property of that control requies the full pathname of a file containing the picture. It seems pretty inefficient for me to copy the thumbnail out of the JPG file into a separate BMP file just to read it back into the Picture property of the control. Is there another, more efficient way to load this control, or is there another image control that would be easier to work with?
Thanks for your help.
Jim
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement