Information générale
Catégorie:
Photos et traitement d'images
Versions des environnements
>Is there a way for a VFP application to read icon images from an .ICL library file? If so, please provide some code to give me a jump start. If not, would anyone know of a way to consolidate ico files into a master file, and still allow the ico to be used in FoxPro?
>
(1) If you really insist on a single file, it could be a DBF -- in which case, store your
images in BLOB fields, NOT General fields. Avoid the latter like the plague.
-OR-
(2) If you don't insist on a single file, you could use a master DBF to store the
paths to the individual image files, instead of storing the images themselves.
-OR-
(3) If each image is associated with a specific record (i.e., picture of a customer),
you don't even have to store paths -- you could make the path and the image-file/
folder/subfolder/etc. names be functions of the associated record's primary key.
-OR-
(4) You could use a combination of the above techniques for different types of
images, depending on what you are trying to accomplish. (Just IMHO, while mashing
everything into a single file reduces clutter, it also reduces flexibility too much.)
-m.
Précédent
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