react-native-image-resizer
react-native-image-resizer copied to clipboard
If maxWidth or maxHeight is larger than image width or height, image is enlarged.
If I pass an image of width 100 to createResizedImage, with maxWidth set to 1000, the resulting image will be of width 1000, not 100. If this is the intended behavior, it should be better documented, and the parameter should be renamed to width.
Just encountered this myself. Besides the aforementioned documentation suggestions, Is there no way to just not resize the image?
#233
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.
This issue has been automatically closed. Thank you for your contributions.