https://github.com/logisticinfotech/react-native-resize-image
React Native Resize Image module
https://github.com/logisticinfotech/react-native-resize-image
image-demo react react-native react-native-resize-image react-native-resize-image-demo reactnative resize-images
Last synced: 5 months ago
JSON representation
React Native Resize Image module
- Host: GitHub
- URL: https://github.com/logisticinfotech/react-native-resize-image
- Owner: logisticinfotech
- License: mit
- Created: 2018-05-28T13:17:21.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-08-08T14:25:14.000Z (over 6 years ago)
- Last Synced: 2025-04-23T21:08:10.089Z (9 months ago)
- Topics: image-demo, react, react-native, react-native-resize-image, react-native-resize-image-demo, reactnative, resize-images
- Language: Java
- Homepage: https://www.logisticinfotech.com/blog/react-native-import-resized-image-photo-gallery
- Size: 340 KB
- Stars: 11
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Introduction
Generally its not a good way to use actually image fetched from Photo Gallery or camera to your mobile application specially while you are dealing with number of images. Because as number of images being fetch with actual size provided by Image-picker or camera will lead to memory issue and that makes app to crash as memory stack grows.
I come to accros this issue while developing one of my application using React Native. I have tried to used react-native-photos-framework to fetch image reference urls instead of image it self but if I load image with that reference url directly then it will lead to memory issue as I have explain above. So now I need something that will provide me resized image with better quality image. I have tried this code to achieve that but there is issue with photo framework and its won’t work.
So i have created Native module with my React Native project. [Here](https://www.logisticinfotech.com/blog/react-native-import-resized-image-photo-gallery) you will get step by step detail how to acheive this.