Image catalogs image-catalogs
The features and syntax of image catalogs are described in this section.
Image catalogs offer the following features:
-
Allow persistent association of images with certain metadata and modifier commands.
Entries in image catalogs are referenced using a shortcut notation
*
rootId/objId*
, where*
rootId*
identifies the image catalog and*
objId*
identifies a data record in the catalog. -
Provide defaults for certain request attributes, such as the JPEG quality or whether a watermark is to be applied.
-
Manage fonts, ICC profiles, macro definitions, and request templates
Even if no specific image catalogs are defined, all features of image catalogs are available by way of the default catalog ( default.ini).
If *
rootId*
in the request’s URL path matches attribute::RootId
of a specific image catalog, that catalog becomes the main catalog for this request. The main catalog provides the default attributes and settings for the entire request. If no match is found, the default catalog is used instead.
A catalog identified in a src=
or mask=
command provides the following catalog attributes and data to the current layer:
Within the same layer, src=
and mask=
must reference the same image catalog (if any).
A catalog identified in an icc=
command is used only to look up an entry from the catalog’s ICC profile table. No other catalog attributes or data are involved.
If, *
rootId*
resolves to a catalog, and *
objId*
is matched with a catalog::Id
in this catalog, then *
rootId/objId*
is effectively replaced by the catalog entry somewhat like this:
src=attribute::RootPath/catalog::Path& mask=attribute::RootPath/catalog::MaskPath& anchor=catalog::Anchor& catalog::Modifier& catalog::PostModifier
See also section-00e4f6b39cd14244bcce537a3f831259
Image Catalog Reference, src=, mask=, anchor=