advanced-cropper / react-advanced-cropper

The react cropper library that embraces power of the advanced cropper core to give the possibility to create croppers that exactly suited for your website design

Home Page:https://advanced-cropper.github.io/react-advanced-cropper/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Image reduced in height when taken with camera

Fritswp opened this issue · comments

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)

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

@Fritswp, any news?