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

Image reduced in height when taken with camera #59

Open
Fritswp opened this issue Feb 12, 2024 · 1 comment
Open

Image reduced in height when taken with camera #59

Fritswp opened this issue Feb 12, 2024 · 1 comment

Comments

@Fritswp
Copy link

Fritswp commented Feb 12, 2024

The image displayed on mobile devices when taken directly by camera is significantly smaller and severly reduced in height. for example, my camera takes an image that is Width: 2268 Height: 4032. the cropper changes it to: advanced cropper transformed it to: element.style {
width: 412.444px;
height: 231.75px;
}
Screenshot_20240212-221533

Using imageRestriction="fillArea" only fills the available space on the left and right but the image does not take up the available space above and below.

This can be seen as well when using the Custom Size Restrictions demo at https://advanced-cropper.github.io/react-advanced (https://advanced-cropper.github.io/react-advanced-cropper/docs/guides/advanced-recipes)

@Norserium
Copy link
Collaborator

@Fritswp, what's browser do you use? Could you upload that image in an archive here?

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

No branches or pull requests

2 participants