Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy and save part of a picture
Message
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Miscellaneous
Thread ID:
00496599
Message ID:
00496683
Views:
9
Interesting Idea !
Cheers !

One problem thou ...... my BMP is larger than 1024x768

Any sugestion ?


>>You can't access the pixel run directly from the VFP image control, however there are ActiveX (OCX) controls that allow you to do this. Try the LeadTools OCX control (www.leadtools.com) as it has support for doing this. The control isn't the cheapest but it certainly is the most feature rich and offers support for a vast number of raster formats.
>>
>>The solutions open to you using the LeadTools OCX are using rectangle or freehand selection invoke the Copy method and paste it into another instance of the control, as an alternative you could just crop the image.
>
>I was giving this thread some thought, and just found and interesting use for George Tasker's wonderful Obj2BMP utility. I put an image control on the form, and placed a transparent shape with no border over part of the picture. Then I ran Obj2BMP and captured the shape control into BMP file. Naturally, there was exactly that part of picture in the BMP. So, with proper positioning and resizing code for the shape and Obj2BMP utility you can capture parts of the picture to BMP.
>I think such a transparent shape and code from George's utility could be combined into a new utility which does the job.
>
>Just playing around... :)
Regards
Hiten K M

( The best and the worst are yet to come .. keep coding ! )

My Resume >>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform