jordanjoz1 / ios2androidres

Copy iOS image resources to their appropriate Android directory

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Travis build image Coverage Status PyPi version PyPi download count image Android Arsenal Code Climate

ios2androidres

Ever find yourself stuck with image assets exported for iOS? Rather than write your own script, use this one to rename and move iOS image resources so they work for Android.

How to use

Getting started

pip install ios2andres

Usage

From the directory that contains the iOS image files simply run

ios2andres

By default, this creates output directories in the current folder. You can change this output directory to be your current project's directory.

ios2andres --output /Path/to/project/app/src/main/res/

Options

-h, --help

Prints help message.

--input

Location of the iOS formatted files to be moved and renamed to Android formatted resources.

--output

Output directory path (directory will be created automatically). Like, /Path/to/project/app/src/main/res/

By default creates drawable directories in the current working directory.

--prefix

Prefix some text, like "ic_" to all files.

Release History

  • 2017-02-06   v0.1.8   First working pypi build
  • 2017-02-05   v0.1.0   Initial release

License

See the LICENSE file for license rights and limitations (MIT).

About

Copy iOS image resources to their appropriate Android directory

License:MIT License


Languages

Language:Python 100.0%