Skip to content

Support output resolution and compression options in Camera plugin #30459

Closed

Description

@fvisticot
  • By default this plugin generates very big image 6MB on my iPhoneX
  • There is currently no good Dart plugin to resize the image (takes to much time)
  • Solution is to use native plugin but those plugin does not work with compute
  • It is a currently a pb when we want to upload an image coming from camera to a server

Regarding those 3 remarks, it would be fine to provide "natively" the image with the right resolution and compression.

Activity

  1. quentinleguennec commented on Apr 5, 2019

    @quentinleguennec

    Hi @fvisticot. I added a way to control video and picture capture quality.
    You can check the PR here:
    flutter-team-archive/plugins#1403
    Suggestions are welcome. Don't hesitate to leave a comment to push the review process if that works for you.

  2. fvisticot commented on Apr 6, 2019

    @fvisticot
    Author

    Tx for your PR.
    In addition I think i would be fine to allow JPEG compression value. It is set to 1 (max quality) in iOS plugin.
    This option would avoid to compress the image a second time.

  3. self-assigned this
    on Jul 30, 2019
  4. changed the title [-][camera] support output resolution and compression options[/-] [+]Support output resolution and compression options in Camera plugin[/+] on Jul 30, 2019
  5. added this to the August 2019 milestone on Jul 30, 2019
  6. mklim commented on Aug 8, 2019

    @mklim
    Contributor

    This should be fixed in 0.5.3.

  7. github-actions commented on Aug 28, 2021

    @github-actions

    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.

  8. locked as resolved and limited conversation to collaborators on Aug 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

c: new featureNothing broken; request for a new capabilityp: cameraThe camera pluginpackageflutter/packages repository. See also p: labels.waiting for PR to land (fixed)A fix is in flight

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions