Friday, February 25, 2022

Tip of the Day: Perform Silent/Hidden Camera Captures
Product.......: R:BASE X.5 and R:BASE X.5 Enterprise (Version 10.5)
Build.........: 10.5.4.20222 or higher
Sections......: Forms
Keywords......: Image, Capture, PROPERTY, Camera, Timeout, Hide

Did you know that the "capture from video" functionality has been enhanced to support silent/hidden camera snap shots?

With the enhanced CaptureFromVideoEx PROPERTY command parameter, an image may be captured from the dialog window without having to press the OK button.

As the CaptureFromVideoEx dialog may take a second or two to focus when initialized, the silent mode can be set to pause for a defined millisecond prior to the image capture.

Two extra parameters were added to the CaptureFromVideoEx parameter for the DB Image and Variable Image controls.

<TimeoutInMs>: auto-click wait time (milliseconds). Default = 0
<SHOW_CAMERA|HIDE_CAMERA>: shows/hides the camera. Default = SHOW_CAMERA

Syntax (last two are new):

PROPERTY <CompID> CaptureFromVideoEx '<Format> <Width> <Height> <TimeoutInMs> <SHOW_CAMERA|HIDE_CAMERA>'

The fifth parameter (to show/hide the camera) is only interpreted if <TimeoutInMs> is not zero.

Example:

-- Captures a JPG image after two seconds, without displaying the dialog,
-- using a maximum width and height dimensions of 320x240 pixels:
PROPERTY EmployeePhoto CaptureFromVideoEx 'JPG 320 240 2000 HIDE_CAMERA'

Very Best R:egards,

Razzak.

R:BASE Technologies, Inc.
https://www.rbase.com



--
For group guidelines, visit 
http://www.rbase.com/support/usersgroup_guidelines.php
--- You received this message because you are subscribed to the Google Groups "RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rbase-l+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rbase-l/0LaVlh-1o5BOl3qb1-00mNdn%40mrelay.perfora.net.

Reply via email to