Metadata-Version: 2.1
Name: android-asset-generator
Version: 1.0.1
Summary: A simple android assets generator
Home-page: https://github.com/pypa/sampleproject
Author: Alejandro Pascual
Author-email: alex_paz_5599@hotmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: python-resize-image

# android-asset-generator
___
### Description
android-assset-generator is a command line program for generate ldpi, mdpi, hdpi, xhdpi, xxhdpi and xxxhdpi density images for your Android Studio Project.
___
### Requeriments
* Pillow 8.0.1
___

### Installing
       pip install android-asset-generator
___

### Usage
1. Prepare a folder that contains only the images you want to convert to the different densities.
2. Run the following command.

       android-asset-generator  path   density

Argument | Description | Example
---------|------------ | -----------
path     | Full path string of your asset folder | C:\Users\MyUser\Desktop\img xhdpi
density  | The source density. If your images are mdpi, put mdpi as argument | ldpi, mdpi, hdpi, xhdpi, xxhdpi or xxxhdpi

> **Note:** You must not switch order of the arguments

3. The generated images will be saved in different folders within the specified path following the Android Studio standard:
 - drawable-ldpi
 - drawable-mdpi
 - drawable-hdpi
 - drawable-xhdpi
 - drawable-xxhdpi
 - drawable-xxxhdpi

4. The source images will be moved to the corresponding folder without having suffered alterations.
___


