This is just a set of layers that the JSON can hide and show. The element will be resized to fit into the location (while maintaining the aspect ratio of the original element). This folder contains layers that represent locations on the file that the elements will get copied to. Any layer that is not provided a string in the JSON will be hidden. The name of each layer is how the script will know which layer to update. The script will be able to update the text based on the provided JSON. Each text area needs a predefined area, font size, and text effects. This folder contains text areas that you want the script to have access to. This folder is for the script to place the temporary layers that it creates based on your JSON (which will be explained more below). Since the script will resize them, they should be larger that their final size. You could put in here icons, banners, images, etc. Think of these as the primary "pieces" that the script will put together in order to make your image. The elements folder contains a set of layers that the script can automatically copy, move, and resize. In this file you will see the following folders: To use Photofoundry, you first need to update the provided template PSD file. Finally, you can write your own JSON in the example.js file to generate your images. When you are ready, you can resize the template PSD file to be the dimensions you need, and you can start adding your own elements, text, and toggles. Once you understand what is going on, start updating the JSON in the data method, using the different features of Photofoundry to generate new images. Then look at the provided PSD template and the example.js file. To get started read this README thoroughly. One reason to do this would be to combine your images into printable sheets so that you could then cut out the each image. By default the script will not produce sheets, but can be configured to combine the images into sheets with how many columns and rows you want. The fourth file is the same three images combined into a "sheet". The first four files represent the three items from the JSON array. If you open the template.psd file and run the example.js script, it will generate the following files: It comes with a Photoshop template to start from. Each image it produces will have the same dimensions. Some limitations of Photofoundry are that it only saves to JPG (although this could be easily enhanced) and that the template file must be of a certain size. This automates all of that otherwise tedius work. I also needed to be able to quickly make changes to lots of cards, and then reprint the new versions. I needed to be able to create hundreds of cards with slight variations. My original use case for building this tool was to create cards for a game. Photofoundry is great when you need lots of slight variations to the same basic template. This script is provided with an array of JSON data that manipualtes that file and saves an image for each item in the array. It is a Photoshop script that requires a specifically formatted Photoshop file. With Photofoundry you can use build images from JSON.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |