Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Converting image to binary data???
Message
From
03/12/2004 11:06:54
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
00966671
Message ID:
00966736
Views:
9
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform