something in the way

a tumblog about design + code
Jun 29
views

Collection of Illustrator scripts to help export mobile designs for production

This is a collection of Adobe Illustrator Scripts that export layers or artboards to PNGs of different densities (iOS Retina Display, Android Devices, etc). How to install If you place the script in the Adobe Illustrator CS5/Presets/Scripts folder, the script will appear in the File > Scripts submenu. If you place the script in another location on the hard disk, you can run the script in Illustrator by choosing File > Scripts > Browse. How to use Mobile > General The general scripts asks for 3 values in sequence:
  1. The folder where you want to save the files.
  2. The scale factor 1 = 100% = 160dpi = mdpi, 2 = 200% = 320dpi = retina display (these values are only valid if you designed for 160dpi aka mdpi).
  3. A suffix if you want to use one, e.g., @2x for retina display in iOS. You can also leave it empty if you don't want a suffix or if you are exporting to android or iOS non-retina.
How to use Mobile > iOS
  1. Choose the folder where you want to save the files.
  2. Optionally you can add a sufix to the files.
  3. That's it, all files will be saved with the appropriate names.
How to use Mobile > Android
  1. Choose the folder where you want to save the files.
  2. That's it, all files will be saved on the appropriate directories.
Note on exporting layers: Locked layers visibility will be ignored and also they will not be exported. For example, this can be used to keep global layers visibility or guide layers from being exported. If you find it useful buy me a coffee! ;)

Download zip file here: Illustrator Scripts for Mobile