Small script that generates multi-resolution images for nativescript folder. It transforms the ".jpg, .gif, .png" format files.
- Install imagemagick:
brew install imagemagick
- Install nodejs
- Clone this repository:
git clone https://github.com/ottojimb/nativescript-resource-generator.git
- Access to the create folder
cd nativescript-resource-generator
- Install as global package
npm -g install .
ns-convert path/to/assets_gallery path/to/nativescript/App_Resources
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
- Created global package definition
- Fix bug when the animated gif returns multiple sizes (one for each frame)
- Better documentation
- First release
- Clean code (it was a quickly implementation)
- Verify it on windows
MIT