@codinghog/asset-generator
Simple asset resizer. Fork of asset-generator
Last updated 2 years ago by codinghog .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @codinghog/asset-generator 
SYNC missed versions from official npm registry.

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, tobias.zeising@aditu.de
http://www.aditu.de
Licensed under the MIT license

Current Tags

  • 1.0.0                                ...           latest (2 years ago)

1 Versions

  • 1.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 1
Dependencies (4)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |