Skip to content

Aspect ratio broken in image_picker #40334

@autolainen

Description

@autolainen

I am using https://pub.dev/packages/image_picker plugin:

                ImagePicker.pickImage(
                        source: ImageSource.camera,
                        maxHeight: 1024,
                        maxWidth: 1024)
                    .then((imageFile) { ... })

By business requirements I don't need photos with high resolution modern cameras usually make. The plugin resizes the original image and after that aspect ratio of the image appears to be broken. The same for gallery source. Such behaviour is on iOS only.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions