Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Scanning
Message
General information
Forum:
Visual FoxPro
Category:
Third party products
Title:
Miscellaneous
Thread ID:
00050201
Message ID:
00050704
Views:
28
>>>Is there a product which enables Fox to scan in from a form, and which will allow Fox to read the coordinates of the scanned images? Do you remember those battery tests we used to take in school? The kind where you needed a #2 pencil to fill in the bubbles? I have a client who has the forms and the equipment, but I don't know how to procede to integrate it into their VFP v.5 app. Espia doesn't do it. I've been in contact with their sales department, and it will read in a scanned image, but nothing will allow Fox to get the coordinates of those colored-in bubbles. Any suggestions?
>>>
>>>JR
>>
>>Just couple thoughts. I remember when working with images, I was able to write some procedures which could change color for part of the image using API GetPixel, SetPixel functions. Basically, these functions allows to scan image particular area, check for specific color and change it to another. Is it what are you looking for?
>
>Yes! I believe that's exactly what I need. I'm not sure I understand what an API library is, though. Does it have to be written in C or some other lower language? And what kind of drivers does it need? Obviously, if I just use C syntax, Fox won't interpret it. Please enlighten me.
>
>JR

The idea is following: some Active-X will return bitmap handle to VFP app (I used Lead OCX with method GetBitmapDc), then I used GetPixel/SetPixel win32api functions to analyze bitmap pixel by pixel. Actually, there are many other helpful API calls (see Win32api help) which allow draw lines/text on image, etc. (it's a way to build own image editor).
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform