Skip to content

DontBelieveTheByte/vector_to_mobile_assets_generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Supported resolutions

  • LDPI
  • MPDI (set up as the base rate)
  • HDPI
  • XHDPI
  • XXHDPI
  • XXXHDPI
  • Low *
  • Normal *
  • High *

*iOS support is untested, it should work in theory but it would be nice if an iOS developer gave some feedback regarding if anything should be fixed.

Download

Direct download of latest version.

Just click "save as".

Installation

  • In CS6, it's possible to run a script by installing it in the proper directory. You simply need to drag and drop the scrip into the right folder.

For Mac OS this should be in : $YOUR_ILLUSTRATOR_ROOT_FOLDER/Presets/en_US/

layers layers layers

  • If you do not want to install the script into your CS6 installation folder, it's also possible to run it from anywhere by selecting from the "Ctrl+F12" shortcut.

layers

How to use it

  • You will need to prefix the layers names with an '#' hashtag symbol otherwise it will not be picked up.

layers

  • When you're ready to export your images, you should make so that your layers fit a normal MDPI screen, other exported files will be shrunk or expanded relative to this size.

layers

  • Run the script

layers

  • Check the generated assets_dump folder for your new files.

layers

layers

About

Export Adobe illustrator vector files to all Android and iOS resolutions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published