react-native-image-formats
v0.0.9
Published
Creates @1x, @2x and @3x images formats for the React Native
Maintainers
Readme
react-native-image-formats
Creates scaled versions of the input image with a prefix 'img_' and with suffixes: '@2x' amd '@3x'.
Usage:
npx react-native-image-formats file.pngInput file: file.png (120px x 120px)
It will create 3 files:
- [email protected] - original size (120px x 120px)
- [email protected] - 2/3 of the original size (80px x 80px)
- img_file.png - 1/3 of the original size (40px x 40px)
