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
https://advanced-cropper.github.io/react-advanced-cropper/
Other
626 stars 27 forks source link

Image reduced in height when taken with camera #59

Open Fritswp opened 5 months ago

Fritswp commented 5 months ago

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 commented 5 months ago

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

Norserium commented 1 month ago

@Fritswp, any news?