Saving an image from a web cam

Author: Joe Yoder

Posted: 2011-02-22 at 02:06:23

I am in need of some code that can be embedded in or called from a VFP program to automatically crop and convert a .bmp file to a .jpg file.

The .bmp files come from a USB web cam. I was hoping to be able to set the video format to have the horizontal and vertical dimensions the same but apparently that would require rewriting the camera drivers. A .jpg output option from the camera driver would have been nice as well. Since neither of these features appear to be available, I believe cropping the image in the same operation that converts it to a .jpg will be a satisfactory solution.

If someone has a recommendation of a package that works well with VFP, it will probably save me a lot of time wading through all the options that Google turns up.

TIA - Joe

--- StripMime Report -- processed MIME parts ---

multipart/alternative

text/plain (text body -- kept)

text/html

---

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/profox

OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/4d6360ce.c438e70a.69ed.1ed0@mx.google.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2011 Joe Yoder