Generating Personalized Images in uPlan
It is assumed that you are a uPlan user, familiar with general database concepts and have a basic knowledge of programming, scripting, the SQL query language and XMPie’s proprietary QLingo scripting language.
uPlan has two main uses in the uImage workflow:
You can also use the uPlan Preferences for Setting uImage Default Folders.
Defining a uImage Content Object
To use the uImage template (Photoshop or Illustrator) in your campaign, you need to define a graphic content object, known as a uImage content object, whose QLingo expression is a uImage call.
The uImage content object is defined either in uPlan or in uCreate Print.
To define the uImage content object in uPlan, perform the following procedures:
-
Create a graphic Content Object
-
Define the uImage Call
Create a Graphic Content Object
-
In uPlan’s ADOR Objects pane, right-click the ADOR Objects node and choose New ADOR Object > graphic.
-
Name the new content object after your uImage template.
-
Right click the uImage content object and choose Edit Read Expression from the context menu.
The uImage content object's Expression window is displayed. -
From the Expression menu, choose QLingo Templates > uImage and then choose one of the options for creating personalized images:
-
Create Image From Template
-
Create Image From Package
-
Create Illustration from Template
The option you choose adds a specific uImage call to the content object expression.
-
-
Define the parameters of the uImage call.
Define the uImage Call
The uImage CALL function invokes uImage and passes uImage generation parameters, such as the name and path of the template; the output format; the Copy Fitting mode and method; the key-value pairs of uImage tags, etc.
The return value of the uImage call is the name of the personalized image, which is used as the value of the uImage content object.
Each menu option adds a different uImage call to the uImage content object expression:
-
Create Image From Package: Adds a uImage.uImage call, which creates personalized images from a Photoshop document package (DPKG file). Packages contain the uImage template, as well as all other components required to complete the Photoshop effect.
-
Create Illustration from Template: Adds a uImage.CreateIllustration2 call, which creates personalized illustrations from an Illustrator template.
Each uImage call defines a set of production parameters, such as the uImage template name; the output format of the personalized images; the uImage tag key-value pairs etc.