react-native-image-resizer icon indicating copy to clipboard operation
react-native-image-resizer copied to clipboard

I want to lower the quality of an image without changing the width/height ratio.

Open RominHalltari opened this issue 5 years ago • 1 comments

Can this be done that without passing the height and width of an image?

RominHalltari avatar Sep 23 '20 10:09 RominHalltari

@RominHalltari I thought not, but you can easily use built in { Image } functionality:

Image.getSize(croppedImageUri, (width, height) => {
....

jordangrant avatar Oct 17 '20 00:10 jordangrant

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Sep 01 '22 19:09 stale[bot]

This issue has been automatically closed. Thank you for your contributions.

stale[bot] avatar Sep 09 '22 04:09 stale[bot]