Using Custom Scripts and Actions
You may use scripts and actions to achieve the desired Photoshop effect, or to perform certain production-oriented tasks, such as changing the color mode or resolution, scaling, cropping, etc.
An action or a script may be executed after the automatic personalization of the text and graphics (for backward compatibility purposes, when using the template Workflow, you may also execute an action or a script before the personalization).
For example: some effects require rasterizing layers, but uImage can only work with vector layers. To solve this problem, use scripts or actions as follows:
-
Save the Photoshop template in its pre-rasterized state.
-
This state enables uImage to replace the tags with dynamic content.
-
Create a script or action that rasterizes the relevant layers.
-
In your uImage QLingo function call (defined in the Plan file or in the uImage content object expression in uCreate Print), state that this script or action should be executed after the tags are replaced with recipient-specific values.
Note: Do not save your Photoshop template after testing your script or action, since uImage can only work with the template in its pre-rasterized state.
For more information on how to integrate scripts into uImage function calls, see Using Scripts and Actions in uImage Calls.