Closed
Description
Hello,
As and enhancement, is it possible that width
and height
could be treated conditionally when KeepAspectRatio
is set to true
, depending on camera orientation when photo is taken?
Motive: let's say I have the following options setted:
takePicture({
width: 640,
height: 480,
keepAspectRatio: true,
...
As a result, I see that landscape/horizontal photo I take, is like 576x324 (Ok case).
Also see that portrait/vertical photo is 648x1152 (because of the "rule" that says that only one of width/height could be respected with keepAspectRatio: true
), but actually, in this case, would be better for me to specify that when taking portrait photo, I would like to have maybe width: 480
and height: 640
.