{"repo":"bamlab/react-native-image-resizer","free":true,"listed":false,"github":"https://github.com/bamlab/react-native-image-resizer","clone":"git clone https://github.com/bamlab/react-native-image-resizer.git","description":"🗻 Resize local images with React Native","language":"Java","stars":1661,"topics":["react-native","android","jpeg","ios","resize"],"license":"MIT","category":"mobile-apps","readme_excerpt":"React Native Image Resizer ⚠ Warning Since version 3.0.0 this library has been moved from react-native-image-resizer to @bam.tech/react-native-image-resizer Setup React Native = 0.61 Since the version version 3.0.0 this package support the new architecture out of the box (Turbo Module). It also has retrocompatibility with the old one. React Native ](https://facebook.github.io/react-native/docs/image.html) component. Option Description --------------------- ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ path Path of image file, or a base64 encoded image string prefixed with 'data:image/imagetype' where imagetype is jpeg or png. width Width to resize to (see mode for more details) height Height to resize to (see mode for more details) compressFormat Can be either JPEG, PNG or WEBP (android only). quality A number between 0 and 100. Used for the JPEG compression. rotation Rotation to apply to the image, in degrees, for android. On iOS, rotation is limited (and rounded) to multiples of 90 degrees. outputPath The resized image path. If null, resized image will be stored in cache folder. To set outputPath make sure to add option for rotat","default_branch":null,"files":null,"tree":[],"storefront":"/r/bamlab","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/bamlab/react-native-image-resizer/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}