Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/raxityo/android-asset-generator
A small script to generate scaled down assets for Android.
https://github.com/raxityo/android-asset-generator
android image-processing nodejs
Last synced: about 1 month ago
JSON representation
A small script to generate scaled down assets for Android.
- Host: GitHub
- URL: https://github.com/raxityo/android-asset-generator
- Owner: raxityo
- License: mit
- Created: 2017-02-27T15:36:00.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-03-18T01:15:32.000Z (almost 8 years ago)
- Last Synced: 2024-10-14T07:10:00.867Z (3 months ago)
- Topics: android, image-processing, nodejs
- Language: JavaScript
- Size: 2.93 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Android Asset Generator
A small script to generate scaled down assets for Android. It was written in early 2014 to speed up asset management for Android apps. With tools like Sketch, such utility might not be needed anymore.### Install:
Get it from `npm`:
```
npm install -g android-asset-generator
```### Usage:
```
android-asset-generator path/to/image.pngOPTIONS :
-s Source format. Must be from [mdpi,hdpi,xhdpi,xxhdpi].
Default : xxhdpi
-d Destination formats separated by comma.
Default : [mdpi,hdpi,xhdpi,xxhdpi] - [source]-w Destination width.
-h Destination height.
-n Destination name.
Default: android specific name for source.
```Follow me on twitter at: [@raxityo](https://twitter.com/raxityo).