Would you be open to someone implementing a maximum resolution setting?
I might try to implement a new feature, so I thought I'd pitch it first before investing time.
The resolution at which my camera produces photos that take up more space than I'd like. I often end up resizing them before I upload them to cloud storage. Ideally, the camera app could save photos at a lower resolution so that my phone can automatically sync my photos to cloud storage as-is. While I'm aware of the existing image quality setting, I'd prefer to set the resolution instead.
What I want to try implementing:
- Adding a setting below 'Timer' called 'Max Edge Size' that limits the pixel size of the longest edge to the given value. It's a dropdown menu containing 'Off', '2560px', '1920px' and '1080px'.
- Find some method to either immediately save the photo at a lower resolution or downsize it when needed. If you have a preference for how to do it, let me know. I can imagine you want to avoid a new dependency on an obscure image processing library for this.
Is this a feature you'd be open to including in Camera?
@pieterdd You can work on this if you want but CameraX may not support it yet. There may be an issue filed about it already.
We can track further conversation at https://github.com/GrapheneOS/Camera/pull/596.