https://github.com/SSilence/asset-generator
This is a simple command line asset resizer for Android and iOS
https://github.com/SSilence/asset-generator
android asset asset-studio command-line ios resizer
Last synced: 11 months ago
JSON representation
This is a simple command line asset resizer for Android and iOS
- Host: GitHub
- URL: https://github.com/SSilence/asset-generator
- Owner: SSilence
- License: mit
- Created: 2017-01-27T12:33:50.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-11-15T09:20:35.000Z (over 6 years ago)
- Last Synced: 2025-07-02T08:10:56.034Z (12 months ago)
- Topics: android, asset, asset-studio, command-line, ios, resizer
- Language: JavaScript
- Homepage:
- Size: 32.2 KB
- Stars: 28
- Watchers: 1
- Forks: 13
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
asset-generator
===============
This is a cheap asset resizer for Android and iOS. It takes an image in @3x or xxhdpi size and resize it:
* Android: mdpi, ldpi, hdpi, xhdpi, xxhdpi
* iOS: @1x, @2x, @3x
## Installation
```
npm install asset-generator -g
```
## Usage
```
asset-generator --android --ios
```
android or ios option is optional. Only use --android if you need only android assets.
example:
```
#asset-generator *.png --android /my-android-project/app/src/main/res --ios /my-ios-project/app/assets
```
---
Copyright (c) Tobias Zeising, tobias.zeising@aditu.de
http://www.aditu.de
Licensed under the MIT license