Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[camerax] Implement zoom configuration #125371

Closed
3 tasks done
camsim99 opened this issue Apr 22, 2023 · 3 comments · Fixed by flutter/packages#4950
Closed
3 tasks done

[camerax] Implement zoom configuration #125371

camsim99 opened this issue Apr 22, 2023 · 3 comments · Fixed by flutter/packages#4950
Assignees
Labels
c: new feature Nothing broken; request for a new capability c: proposal A detailed proposal for a change to Flutter p: camera The camera plugin P2 Important issues not at the top of the work list package flutter/packages repository. See also p: labels. platform-android Android applications specifically team-android Owned by Android platform team triaged-android Triaged by Android platform team

Comments

@camsim99
Copy link
Contributor

camsim99 commented Apr 22, 2023

In the camera plugin, there are a number of methods related to retrieving information about the zoom level and its configuration. These must be implemented in the CameraX plugin, as well:

  • Implement getMaxZoomLevel()
  • Implement getMinZoomLevel()
  • Implement setZoomLevel()
@camsim99 camsim99 added c: new feature Nothing broken; request for a new capability platform-android Android applications specifically p: camera The camera plugin package flutter/packages repository. See also p: labels. c: proposal A detailed proposal for a change to Flutter P2 Important issues not at the top of the work list labels Apr 22, 2023
@camsim99 camsim99 self-assigned this Apr 22, 2023
@camsim99 camsim99 added this to In progress in Android Camera Re-write Apr 22, 2023
auto-submit bot pushed a commit to flutter/packages that referenced this issue May 1, 2023
Implements retrieval of exposure and zoom camera information. Specifically, implements the following:

- `getMinExposureOffset()`
- `getMaxExposureOffset()`
- `getExposureOffsetStepSize()`
- `getMaxZoomLevel()`
- `getMinZoomLevel()`

Part of flutter/flutter#115846.
Part of flutter/flutter#125371.
Part of flutter/flutter#120468.
@flutter-triage-bot flutter-triage-bot bot added multiteam-retriage-candidate team-android Owned by Android platform team triaged-android Triaged by Android platform team labels Jul 8, 2023
nploi pushed a commit to nploi/packages that referenced this issue Jul 16, 2023
Implements retrieval of exposure and zoom camera information. Specifically, implements the following:

- `getMinExposureOffset()`
- `getMaxExposureOffset()`
- `getExposureOffsetStepSize()`
- `getMaxZoomLevel()`
- `getMinZoomLevel()`

Part of flutter/flutter#115846.
Part of flutter/flutter#125371.
Part of flutter/flutter#120468.
@panzikeji
Copy link

May I ask how to set a custom scale in the end

@camsim99
Copy link
Contributor Author

May I ask how to set a custom scale in the end

You can use setZoomLevel for all package implementations except camera_android_camerax, hence this issue.

auto-submit bot pushed a commit to flutter/packages that referenced this issue Oct 25, 2023
@camsim99 camsim99 moved this from In progress to Done in Android Camera Re-write Oct 25, 2023
Copy link

github-actions bot commented Nov 8, 2023

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 8, 2023
HugoOlthof pushed a commit to moneybird/packages that referenced this issue Dec 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
c: new feature Nothing broken; request for a new capability c: proposal A detailed proposal for a change to Flutter p: camera The camera plugin P2 Important issues not at the top of the work list package flutter/packages repository. See also p: labels. platform-android Android applications specifically team-android Owned by Android platform team triaged-android Triaged by Android platform team
Development

Successfully merging a pull request may close this issue.

2 participants