Skip to content

Aspect ratio #34

@ELPepe87

Description

@ELPepe87

Would be nice to have a prop where you could set an aspect ratio for the camera preview. getMaxPreviewResolution function (OpenNoteCameraView.java) as for now returns the supported resolution with maximum width and for example on my device that means resolving to a resolution of 2560x800. That's pretty awkward to work with. :) Resulting aspect ratio is then used for finding the corresponding image size and that's also problematic in this case. Seems to work decently when modified to get max preview resolution by width * height.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions