Skip to content

Conversation

@leper
Copy link
Contributor

@leper leper commented Aug 29, 2025

If the config preference is set to maximize quality, then also consider high resolution outputs.
Switch to using a ResolutionSelector instead of the deprecated setTargetResolution API, as some of the higher resolution modes are only supported that way.

Type of change(s)

  • Bug fix
  • Feature / enhancement
  • Infrastructure / tooling (CI, build, deps, tests)
  • Documentation

What changed and why

Fixes #20. After testing a variant of the diff in that ticket I noticed that it only fixes high resolution on one device I have access to, and another did not. The fix for that one was to switch to the newer API.

Before & after preview

Closes the following issue(s)

Checklist

  • I read the contribution guidelines.
  • I manually tested my changes on device/emulator (if applicable).
  • I updated the "Unreleased" section in CHANGELOG.md (if applicable).
  • All checks are passing.

@leper leper requested a review from naveensingh as a code owner August 29, 2025 18:28
@leper leper force-pushed the high_resolution_support branch from 5a9b75a to fea7ed7 Compare August 30, 2025 20:09
If the config preference is set to maximize quality, then also
consider high resolution outputs.
Switch to using a ResolutionSelector instead of the deprecated
setTargetResolution API, as some of the higher resolution modes
are only supported that way.
@leper leper force-pushed the high_resolution_support branch from fea7ed7 to cd07f5b Compare August 30, 2025 20:26
Copy link
Member

@naveensingh naveensingh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be good, thanks.

@naveensingh naveensingh merged commit e896780 into FossifyOrg:main Aug 30, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unable to use high resolution output sizes from camera

2 participants