apache / apache/cordova-plugin-camera
Max resolution according to aspectratio
- Dominant language
- Objective-C
- Stars
- 976
- Forks
- 1.6k
- PR merge metrics
- No merged PRs in 30d
Description
I would like to limit the size of the picture on the longest size of the picture.
So when the picture is taken in Landscape or Portrait mode, the longest size may not be heigher than for example 1920px.
Now you can set targetHeight and targetWidth.
When I set both to 1920px, the landscape version is width is higher than 1920px.
Contributor guide
Research direction
Start by tracing how targetHeight and targetWidth are handled for landscape and portrait captures. Verify the current dimensions and identify the camera implementation and tests covering these options. Done means the longest image dimension never exceeds the requested maximum while preserving the aspect ratio.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- objective-c
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100