Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Converting image to binary data???
Message
De
03/12/2004 11:06:54
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
00966671
Message ID:
00966736
Vues:
8
>Hi,
>
>Is there a way to convert an image stored in the clipboard into raw binary data (to be stored in a memo field)? For example, if I right click on a photograph on a web page and select "Copy", the photograph is stored to the clipboard in some kind of picture/image format (maybe bmp?). The stored clipboard image is not accessible as binary data at that point. I would like to convert the clipboard image back into its original binary data format, so that I can store it in a memo field. Is this possible?
>
>My ultimate goal is to store binary data of images, and be able to convert that data back into their original picture file formats (jpg, gif, bmp, etc.)at some later point.

I've done something similar using Office automation - saved the document as html, and it exports the images into a *_files subdirectory, then I copy them from there. In my case, I had a series of spreadsheets with images in them. In your case, I'd create a new document, do a paste, save the document (which contains just the image) as HTML, and pick the image from the subdirectory, most probably using Word.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform