Skip to content

This is a simple command line asset resizer for Android and iOS

License

Notifications You must be signed in to change notification settings

walnut-co/asset-generator

 
 

Repository files navigation

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 <files> --android <target-dir-android> --ios <target-dir-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, [email protected]
http://www.aditu.de
Licensed under the MIT license

About

This is a simple command line asset resizer for Android and iOS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%