Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #12115

Re: Image from Webcam

From nk <n.kolb@aon.at>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Image from Webcam
Date 2018-11-13 23:29 +0100
Organization Aioe.org NNTP Server
Message-ID <psfj8h$tl5$1@gioia.aioe.org> (permalink)
References <4e82f026-0c67-49c5-9ff9-42c2d470e91b@googlegroups.com> <735f12ac-7b5f-4220-b97f-59985f7b1135@googlegroups.com>

Show all headers | View raw


Hi Thomas,
you can try

	LOCAL oHttp			AS cHttp
	LOCAL cPage			AS STRING

	oHttp 	:= CHttp{"VoTest"}
//	oHttp:UserName := "user"
//	oHttp:PassWord := "pw"

	cPage   := 
oHttp:GetDocumentByURL("http://xxx.xxx.xxx.xxx:xxx/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=xxx&pwd=xxx")

	// Ergebnis protokollieren
//	MemoWrit( "_Header1.txt", oHttp:ResponseHeader)
	MemoWrit( "MyImage.jpg", cPage)
//      use low level File-functions for images

	oHttp:CloseRemote()
	oHttp:Axit()

Norbert

Am 13.11.2018 um 17:39 schrieb dlzc:
> Dear Thomas:
> 
> On Tuesday, November 13, 2018 at 9:09:50 AM UTC-7, thomas...@wilhelmmueller.de wrote:
>> Hi Folks,
>> the following command, typed in a browser, brings up an
>> image from an ip-camera
>>>>>
>> http://xxx.xxx.xxx.xxx:xxx/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=xxx&pwd=xxx"
>> <<<
>> If I put this into a SHELLEXECUTE, the default browser
>> is called and the image gets diyplayed.
>>
>> Any ideas on how to save the image to disk instead of
>> displaying it?
>>
>> Any help and suggestions appreciated.
>> Thomas
> 
> Can you translate this?
> https://stackoverflow.com/questions/276292/capturing-image-from-webcam-in-java
> 
> David A. Smith
> 

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Image from Webcam thomas.venus@wilhelmmueller.de - 2018-11-13 08:09 -0800
  Re: Image from Webcam dlzc <dlzc1@cox.net> - 2018-11-13 08:39 -0800
    Re: Image from Webcam nk <n.kolb@aon.at> - 2018-11-13 23:29 +0100
      Re: Image from Webcam Gerhard Bunzel <g.bunzel@domonet.de> - 2018-11-14 13:42 +0100
        Re: Image from Webcam nk <norbert.k@chello.at> - 2018-11-14 18:11 +0100

csiph-web