A JavaScript extension for Adobe Illustrator to create a contact sheet from a folder of SVG files. The script allows you select a folder of SVG files and imports and arranges them in a grid pattern as a contact sheet. You can specify the page width and height, number of columns and rows, and the scale of the imported files.
Donations help open source developers, who are often self-employed freelancers, continue to create free resources. You can donate to this project using the button below.
To use this script, you will need to copy the entire Contact Sheet folder to your Illustrator scripts folder, then restart Illustrator. Follow the steps below to install.
- Unzip the Contact Sheet ZIP archive.
- Copy the Contact Sheet folder to Adobe Illlustrator/Presets/{language}/Scripts/ where {language} is your chosen language. For example, if you have a US version of Illustrator this will be
en_US
. - Restart Illustrator
- Once Illustrator restarts, verify that the script was installed by going to File > Scripts > Contact Sheet
Go to File > Scripts > Contact Sheet to launch the script. You will see a dialog like the one below.
Contact Sheet creates a single artboard, imports a folder of SVG files you specify, and arranges them in a grid. Using the dialog inputs, specify the page width and height, the number of columns and rows, the scale of the imports (from 1 to 100 - do not include the percent sign). Once you have the values you want, you can click the Save Preset button to save these settings for future use.
Click the Choose Folder button to select your folder of SVG files (NOTE: Contact Sheet was created to create previews of icon sets so for now it only works with SVG files).
Double-check your settings and click Ok. Contact Sheet will display a progress dialog to let you know how many files are left to import. Once the files are imported and arranged, the file will be saved to the name you specified.
If you checked the Logging? checkbox, you can view the log file in /your-home-folder/ai-contact-sheet where
/. For example, on a Mac the folder can be found at /Users/yourname/ai-contact-sheet/ (or /ai-contact-sheet/ for shorthand). The preset configuration files can also be found in this location.
NOTE : changing the default configuration can break the Contact Sheet utility. Proceed with caution.
You can change many of the default settings such as the location of the presets and log files, Illustrator version compatibility, etc., by editing the config.jsx
file in the download.
This script is offered AS-IS without any warranty or guarantees of any kind. You use this script completely at your own risk and under no circumstances will the developer and/or distributor of this script be held liable for damages of any kind including loss of data or damage to hardware or software. If you do not agree to these terms, do not use this script.
You are free to use, modify, and distribute this script as you see fit as long as you maintain the copyright notices in the original source files. A link to the Atomic Lotus website would be appreciated as well. You must also extend the same license to users of your code. This is not to say that your original code must be open source, but the code from this project must remain free and open forever.
Attribution:
Contact Sheet by:
Scott Lewis <scott@atomiclotus.net>
https://atomiclotus.net