Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

android-asset-resizer

Asset resizer for android applications. Powered by Django.

Live on https://android-asset-resizer.herokuapp.com/

To be able to use the system, sign up process is required. After creating account, one can simply upload the image file(xxxhdpi based) and get the prepared assets folder for each size.

The system output is a zip file. It produces directory tree like this:

assets.zip
      |- assets
            |- drawable-ldpi
            |- drawable-mdpi
            |- drawable-hdpi
            |- drawable-xhdpi
            |- drawable-xxhddpi
            |- drawable-xxxhdpi

While generating assets, precalculated ratios are used between xxxhdpi image and the others. These ratios are like the following:

  • xxxhdpi : 1.0000
  • xxhdpi   : 0.7500
  • xhdpi     : 0.5000
  • hdpi       : 0.3750
  • mdpi      : 0.2500
  • ldpi        : 0.1875

About

Asset resizer for android applications.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages