Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Converting image to binary data???
Message
 
To
03/12/2004 09:31:51
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
00966671
Message ID:
00966782
Views:
9
Hi Hilmar,

I tried _cliptext, but it only works for text it seems.

Dave


>To get data from the ClipBoard, see _cliptext. I am not sure if it works for images.
>
>You can get data from files with FileToStr().
>
>You can save the data in a memo binary field.
>
>>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.
>>
>>Also, is there some way to convert an image stored in a general field, back into it's original binary data?
>>
>>Dave
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform