Re: Command button to take a photo

2016-10-21 Thread Wollenhaupt, Christof
>
> Do you think the process is the same for an in-built camera as it is for a
> usb camera?
>

Yes, the process causes the same kind of headache for a built-in camera vs
an external USB camera. Here is the summary of taking pictures in VFP from
my sensor session last year:

CameraCaptureUi
- Only available in Windows Store Apps

MediaCapture
- Crashes, probably due to driver issue

TWAIN
- Complicated, hard to get drivers

Windows Image Aqcuisition
- Kind of works, but low resolution and camera keeps disappearing

HTML 5 getUserMedia
- Works in Edge and Chrome, but can‘t easily embed those


TWAIN is covered in the article from Mile Lewis, Windows Image Acquisition
is the news2news solution that is also on the FoxPro wiki. Using the camera
application gives much better pictures, but zero control over the image
taking process and picture location.

-- 
Christof


--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---

___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/CAL4QJhgn_CXnELeL=N7zTDiJBsdXz5zagFFzMJZ=mSX6POWV=a...@mail.gmail.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.

Re: Command button to take a photo

2016-10-21 Thread Tracy Pearson
My experience with the API is hit and miss depending on the hardware.

I occasionally look for another solution.

On October 21, 2016 1:04:04 AM EDT, Andrew Stirling  
wrote:
>Heres another article
>http://www.ml-consult.co.uk/foxst-29.htm
>
>
>
>Andrew Stirling
>
>On 20/10/2016 22:44, Chris Davis wrote:
>> http://fox.wikis.com/wc.dll?Wiki~VideoCaptureApi
>>
>> On 20 Oct 2016, at 22:37, Sytze de Boer
>> wrote:
>>
>> In my application, which will be installed on a tablet or laptop, I
>need a
>> command button which will take a photograph.
>>
>> As I understand it, these photos will always automatically be stored
>in a
>> specific folder.
>> Is this possible?
>> Is there someone who has done this and willing to share the source?
>>
>>
>>
>> --
>> Kind regards,
>> Sytze de Boer
>>
>
>---

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/5da2d449-f736-45d3-98a3-975de6dbd...@powerchurch.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.


Re: Command button to take a photo

2016-10-20 Thread Andrew Stirling

Heres another article
http://www.ml-consult.co.uk/foxst-29.htm



Andrew Stirling

On 20/10/2016 22:44, Chris Davis wrote:

http://fox.wikis.com/wc.dll?Wiki~VideoCaptureApi

On 20 Oct 2016, at 22:37, Sytze de Boer 
> wrote:

In my application, which will be installed on a tablet or laptop, I need a
command button which will take a photograph.

As I understand it, these photos will always automatically be stored in a
specific folder.
Is this possible?
Is there someone who has done this and willing to share the source?



--
Kind regards,
Sytze de Boer



---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus


___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/b58dc1bc-0dee-99e0-c455-afe4f0d93...@calcpay.co.uk
** 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.


Re: Command button to take a photo

2016-10-20 Thread Sytze de Boer
Hello Chris and Darren

I have not yet had time to check out your responses, but I want to thank
you for the quick responses.

Do you think the process is the same for an in-built camera as it is for a
usb camera?


On Fri, Oct 21, 2016 at 10:52 AM, Darren <fox...@ozemail.com.au> wrote:

> If you have an image on a form similar to the situation in the link below
> then it is a relatively simple matter to use the API to define a rectangle
> and capture that as a bitmap image file. Also relatively easy to convert to
> other image formats using for example the offering in gdiplus. I am sure a
> number of other options exist too. So yes - possible.
>
> -Original Message-
> From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of Chris
> Davis
> Sent: Friday, 21 October 2016 8:45 AM
> To: profoxt...@leafe.com
> Subject: Re: Command button to take a photo
>
> http://fox.wikis.com/wc.dll?Wiki~VideoCaptureApi
>
> On 20 Oct 2016, at 22:37, Sytze de Boer
> <sytze.k...@gmail.com<mailto:sytze.k...@gmail.com>> wrote:
>
> In my application, which will be installed on a tablet or laptop, I need a
> command button which will take a photograph.
>
> As I understand it, these photos will always automatically be stored in a
> specific folder.
> Is this possible?
> Is there someone who has done this and willing to share the source?
>
>
>
> --
> Kind regards,
> Sytze de Boer
>
>
> --- StripMime Report -- processed MIME parts --- multipart/alternative
> text/plain (text body -- kept)  text/html
> ---
>
[excessive quoting removed by server]

___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/cag1nny-kmsw57pvwwign8upng6suqw0dpfse0bwuzggsmhj...@mail.gmail.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.


RE: Command button to take a photo

2016-10-20 Thread Darren
If you have an image on a form similar to the situation in the link below
then it is a relatively simple matter to use the API to define a rectangle
and capture that as a bitmap image file. Also relatively easy to convert to
other image formats using for example the offering in gdiplus. I am sure a
number of other options exist too. So yes - possible.

-Original Message-
From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of Chris
Davis
Sent: Friday, 21 October 2016 8:45 AM
To: profoxt...@leafe.com
Subject: Re: Command button to take a photo

http://fox.wikis.com/wc.dll?Wiki~VideoCaptureApi

On 20 Oct 2016, at 22:37, Sytze de Boer
<sytze.k...@gmail.com<mailto:sytze.k...@gmail.com>> wrote:

In my application, which will be installed on a tablet or laptop, I need a
command button which will take a photograph.

As I understand it, these photos will always automatically be stored in a
specific folder.
Is this possible?
Is there someone who has done this and willing to share the source?



--
Kind regards,
Sytze de Boer


--- StripMime Report -- processed MIME parts --- multipart/alternative
text/plain (text body -- kept)  text/html
---

[excessive quoting removed by server]

___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/007401d22b1c$51cf6270$f56e2750$@ozemail.com.au
** 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.


Re: Command button to take a photo

2016-10-20 Thread Chris Davis
http://fox.wikis.com/wc.dll?Wiki~VideoCaptureApi

On 20 Oct 2016, at 22:37, Sytze de Boer 
> wrote:

In my application, which will be installed on a tablet or laptop, I need a
command button which will take a photograph.

As I understand it, these photos will always automatically be stored in a
specific folder.
Is this possible?
Is there someone who has done this and willing to share the source?



--
Kind regards,
Sytze de Boer


--- StripMime Report -- processed MIME parts ---
multipart/alternative
 text/plain (text body -- kept)
 text/html
---

[excessive quoting removed by server]

___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/bf231a25-da88-4933-a1a9-2ed55c00a...@actongate.co.uk
** 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.