Skip to main content
Skip table of contents

ResamplingFactor (page device)


This page applies to Harlequin v13.1r0 and later; both Harlequin Core and Harlequin MultiRIP


Param

Val

ExType

Vers

Use?

HPS

Ref


x

H


Y

All


The value of the ResamplingFactor page device key must be a positive integer. The default and minimum value is 1 .

When the RIP is producing a contone raster and ResamplingFactor is greater than 1, the raster will be down-sampled (anti-aliased) during rendering. A ResamplingFactor of 2 will mean that each final pixel is the average of a 2 x 2 cell of original pixels, a value of 3 will mean that each final pixel is the average of a 3 x 3 cell of original pixels, and so on. This results in smoother and more visually pleasing edges especially when the output is at low resolution—this is often referred to as anti-aliasing.

Because the down-sampling reduces the final resolution it is normal to increase the pre-down-sampled pixel count by multiplying the value of Scaling in the page device by an equivalent amount, for example:


TEXT
<<
  /ResamplingFactor 2
  /Scaling [ currentpagedevice /Scaling get aload pop exch 2 mul exch 2 mul ]
>> setpagedevice


Large values will probably lead to VMerrors, and values greater than 4 are unlikely to produce significant quality improvement in most cases.

This feature is not currently available for 16-bit output. It will not work for progressive separations. Obviously, it makes no sense down-sample a halftoned raster. Attempting these configurations will raise configurationerror.

The TrimPage page device key cannot be used with the ResamplingFactor page device key.

Default: 1

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.