Skip to main content

Stamping

Compared to the 3-Heights® Document Converter, stamping in the Conversion Service is much simpler:

  • The functionality is more limited, while still covering the most common use cases.
  • The configuration is easier to understand: no separate stamp configuration file is needed.

This means that for many existing stamp configurations, a one-to-one migration is not possible, but often a similar result can be achieved.

For more about stamping in the Conversion Service, see Configure stamping.

Content TypeConversion Service3-Heights® Document Converter
TextYesYes
ImagesYesYes
ShapesNoYes
BarcodesYesVia image URL
LinksNoYes
Compound contentNoYes

Document-level configuration

While the 3-Heights® Document Converter provides many options to configure the stamps on a document level, the Conversion Service can only apply stamps as page content on the first page of the document, the last page, or all pages.

FeatureConversion Service3-Heights® Document Converter
Apply as foreground contentYesYes
Apply as background contentNoYes
Apply as PDF annotationNoYes
Apply as layer (optional content)NoYes
Page selectionNoYes
Modify existing stampNoYes

Layout configuration

The 3-Heights® Document Converter provides separate configuration settings for position and alignment that can be combined arbitrarily.

In the Conversion Service, the position and alignment of a stamp are linked: if the position is specified as a distance to a specific page border, the alignment is automatically chosen accordingly. For example, if the position is specified relative to the right and top border, the stamp is also aligned to the right and top.

FeatureConversion Service3-Heights® Document Converter
Position relative to bordersYesYes
AlignmentTied to relative positionYes
Auto-detect page orientationNoYes
Scale relative to page sizeNoYes
Clip to sizeNoYes
RotationOnly for textYes
Arbitrary transformationNoYes
Transparency / opacityOnly for textYes

Text configuration

Both the 3-Heights® Document Converter and the Conversion Service provide configuration settings to determine the style and text variables.

Text style

FeatureConversion Service3-Heights® Document Converter
Font family & styleYesYes
SizeYesYes
ColorYesYes
Transparency / opacityYesFor entire stamp
Stroke (outline)NoYes
UnderlineNoYes
Multiple stylesNoYes

Variable text

The 3-Heights® Document Converter supports two kinds of placeholders:

  • Predefined placeholders using the syntax {PLACEHOLDERNAME} are available only for the actual text value.
  • Custom placeholders using the syntax [[PLACEHOLDERNAME]] can be used to provide runtime data for any parts of the stamp XML configuration.

The Conversion Service uses a unified placeholder syntax for both predefined and custom placeholders:

  • [input:PLACEHOLDERNAME] for placeholders referencing data from converted file (e.g. [input:TITLE]).
  • [custom:PLACEHOLDERNAME] for custom placeholders.

Both are only applicable to the actual text value of the stamp, not to other properties like position or alignment.

FeatureConversion Service3-Heights® Document Converter
Standard PDF metadata placeholdersOnly titleYes
Date & time placeholdersNoYes
Page number & count placeholdersOnly in Dossier workflowYes
Custom placeholdersYesYes

Image configuration

Both the 3-Heights® Document Converter and the Conversion Service provide configuration settings to determine variable image content.

In the Document Converter, the variable image content was often used to dynamically create barcode images.

Barcodes are natively supported by the Conversion Service using the Barcode stamp type, which directly accepts the barcode data. It's no longer necessary to create the image on the client side.

FeatureConversion Service3-Heights® Document Converter
Local pathYesYes
URLNoYes
URL / path placeholderNoYes
Automatic aspect ratioYesNo

Variable image content

The 3-Heights® Document Converter supports variable content by using the general placeholder syntax to supply the image URL at runtime, e.g <image src="[[IMAGEURL]]" ...>. Variable image data is not supported by the Document Converter in the general case.