Voonder / IllustratorMobileAssets

Illustrator Script for exporting artboards to Android, iOS and Universal Windows Platform PNG24 assets

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IllustratorMobileAssets

Illustrator Script for exporting artboards to Android, iOS and Universal Windows Platform PNG24 assets

How To

Installation

To include the file ExportMobileAssets.jsx in Illustrator scripts, place it into folder:

  • Windows: C:\Program Files\Adobe\Adobe Illustrator\Presets\en_US\Scripts
  • Mac: /Applications/Adobe Illustrator/Presets.localized/en_US/Scripts

The location is for reference only, and must be changed according to your own versions of Illustrator.

Use it

  1. Open the Illustrator file that includes the artboards you want to export
  2. Select this script from the Illustrator Scripts menu
  3. A dialog box with destination folder, artboards, folder name (for Android), file suffix (for iOS and UWP) and supported scale type will open
  4. Click "Export" to generate all different assets

ScreenAndroid

Others images available here.

Possible scale

The baseline image used for Android is xxxhdpi, for iOS it is @2x and for UWP it is scale-100. The script will scale up and down from these sizes.

Android iOS Universal Windows Platform
ldpi [@1x] scale-100
mdpi @2x scale-125
tvdpi @3x scale-150
hdpi scale-200
xhdpi scale-400
xxhdpi
xxxhdpi
web

Information

All information of icons assets were retrieved from the official website of different OS :

Contributing

Code contributions are welcome! Please see Contribution Guidelines.

  1. Fork the repository.
  2. Create a local clone of the repository.
  3. Create a local branch (see the Rules section)
  4. Commit your code, and push the changes to your own repository.

License

Copyright (c) 2016 Julien NORMAND - Voonder

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

Illustrator Script for exporting artboards to Android, iOS and Universal Windows Platform PNG24 assets

License:Apache License 2.0


Languages

Language:JavaScript 100.0%