7.0

Table Of Contents
13.9 PlanetPress Talk Expressions for Dynamic Images that Reference
Image Resources
What do I need to know to construct a PlanetPress Talk expression for a dynamic image that references image
resources? What are some examples of these expressions?
You must be able to construct a PlanetPress Talk expression that resolves to the name of an image resource.
In the simplest case, the name of the image resource exists in the input data, and the PlanetPress Talk
expression you construct contains a single data selection command. For example, if columns 1 through 15 of
the first line of each data page contain the name of the image resource, you would enter the following
PlanetPress Talk expression in the Image box.
=@(1,1,15)
If the input data does not contain the complete name of the image resource, in a single location, but you can
construct the name using more than one data selection, you construct an expression that contains the
necessary number of data selections, concatenated to form a single string.
If the input data contains only part of the name of the image resources, and the missing part is the same for
all image resources, you can construct an expression that takes the part of the name in the input data and
concatenates the missing part. For example, imagine a situation in which the name of each of the image
resources begins with a country code that is the same for all of the image resources, and that the country
code is missing in the names in the input data. You could construct a PlanetPress Talk expression that takes
the name of image from the input data and adds the country code as a prefix. So the final expression might
be
='c10' + @(2,1,22)
where c10 is the country code, and the name of the image resource appears in columns 1 through 22 of the
second line of each data page.
If you cannot construct an expression that resolves to the names of the image resources you want the
dynamic image to reference, two alternatives are to rename the image resources in the document so they
match the names in the input data, or to adjust the names of the images in the input data. In the first case,
the number of image resources the dynamic image references may determine whether this is a realistic
solution. In the second case the adjustment may require altering the source from which you generate the
input data, and may or may not be a feasible solution.
Related topics:
Static and Dynamic Images (Page 168)
Supported Image Formats (Page 169)
Image Formats: Bitmapped, Vector, and Metafile Formats (Page 171)
Resolution (Page 172)
Color Depth (Page 192)
Pixel Dimensions (Page 175)
Image Quality (Page 176)
Scanline Orientation (Page 352)
Image Size on the Document Page (Page 179)
PlanetPress Talk Expressions for Dynamic Images that Reference External Images (Page 181)
Image Name and Pathname Resolution in Dynamic Images (Page 187)
Caches (Page 188)
Guidelines for Optimizing Images (Page 189)
Objectif Lune Inc. © 2009 180