cameracontrol, knowing the physical resolution of the camera
Hakan at Exformedia.se
Fri Apr 30 04:13:09 EDT 2021
If you don’t set the rect at all you get an image at maximum resolution. At least I do on my Mac and my iPhone :) There is also a CameraControlGet( ”myCamera”, ”qualityPresets”) you can call. On my Mac it returns:
From where you can get possible ”native” dimensions.
> On 23 Apr 2021, at 13:12, Klaus major-k via use-livecode <use-livecode at lists.runrev.com> wrote:
> Hi all,
> we have this wonderful "cameracontrol" in LC. :-)
> Is there a way to get the physical resolution of the
> devices camera BEFORE we do
> -> cameracontrollset "el camera", tRect
> Or at least its aspect ratio?
> Know what I mean?
> We definitively need this info to be able to set up a correct
> RECT for the control with no "cut off" sides.
> Klaus Major
> klaus at major-k.de
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the use-livecode