You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not completely sure this is a bug or rather my interpretation.
I take a picture with the following parameters: takePicture({maxWidth:640, maxHeight:640});
Expected result: the saved image will be at most 640 pixels width OR height, the other dimension smaller.
Actual result: the smallest dimension is 640 pixels, the other dimension bigger.
If this is not intended the fix is trivial: change the less than comparison into greater than in line 202 of CameraPreview.m like this:
Not completely sure this is a bug or rather my interpretation.
I take a picture with the following parameters:
takePicture({maxWidth:640, maxHeight:640});
Expected result: the saved image will be at most 640 pixels width OR height, the other dimension smaller.
Actual result: the smallest dimension is 640 pixels, the other dimension bigger.
If this is not intended the fix is trivial: change the less than comparison into greater than in line 202 of
CameraPreview.m
like this:The text was updated successfully, but these errors were encountered: