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: photo,high,medium,low,352x288,640x480,1280x720,320x240,960x540,iFrame960x540,iFrame1280x720
From where you can get possible ”native” dimensions. :-Håkan > On 23 Apr 2021, at 13:12, Klaus major-k via use-livecode > <[email protected]> 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. > > > Best > > Klaus > > -- > Klaus Major > https://www.major-k.de > https://www.major-k.de/bass > [email protected] > > > _______________________________________________ > use-livecode mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
