Interface: IRenderingProperty
A structure containing the hi-res output and proof images configuration.
Remarks
For details, see Configuring Print Files topic.
Example
configuration = {
rendering: {
proofImageSafetyLinesEnabled: true,
proofImageSpineAndFoldingLinesEnabled: false,
proofImageInterpolationMode: "NearestNeighbour",
proofImageRotateMode: "auto",
},
};
Properties
hiResOutputToSeparateFiles?
optionalhiResOutputToSeparateFiles?:boolean
If true, the hi-res output for each page of a multipage product will be put in a separate file. The default value is false.
hiResOutputChannelContainersToSeparateFiles?
optionalhiResOutputChannelContainersToSeparateFiles?:boolean
If true, enables rendering spot colors and textures to separate PDF files. The default value is false.
hiResOutputChannelContainersRenderEmptyPage?
optionalhiResOutputChannelContainersRenderEmptyPage?:boolean
To maintain the same number of pages in output files of the base design and channel containers, this parameter allows you to add empty pages to PDF with spot colors and textures if the corresponding pages of the base design do not have channel containers. The default value is true.
hiResOutputDpi?
optionalhiResOutputDpi?:number
Hi-res output resolution in dots per inch (DPI). The default value is 300.
hiResOutputFileFormat?
optionalhiResOutputFileFormat?:string
The type of the hi-res output. It can have one of the following values: "pdf", "jpeg", "png", or "tiff". The default value is "pdf".
hiResOutputColorSpace?
optionalhiResOutputColorSpace?:string
The color space of the hi-res output. It can have one of the following values: "rgb", "cmyk", or "grayscale". The default value is "cmyk".
hiResOutputBackgroundColor?
optionalhiResOutputBackgroundColor?:string
The background color for the hi-res output. The default value is "rgba(255,255,255,0)".
hiResOutputCompression?
optionalhiResOutputCompression?:string
The type of hi-res output compression; "jpeg" and "zip" are supported for PDF files only, whereas "lzw" is supported for TIFF files; it can have one of the following values: "jpeg", "zip", "none", or "lzw". The default value is "jpeg".
hiResOutputJpegCompressionQuality?
optionalhiResOutputJpegCompressionQuality?:number
JPEG compression quality in percent; this parameter makes sense only for JPEG and PDF formats. For PDF it should be used along with hiResOutputCompression="jpeg". The default value is 90.
hiResOutputFlipMode?
optionalhiResOutputFlipMode?:string
The flip mode of the hi-res outputs. Allows for flipping hi-res output images. It can have one of the following values: "none", "vertical", "horizontal", or "both". The default value is "none".
hiResOutputRotateMode?
optionalhiResOutputRotateMode?:string
The rotate mode of hi-res outputs. Allows for rotating hi-res output images. It can have one of the following values: "none", "rotate90", "rotate180", or "rotate270". The default value is "none".
hiResOutputPdfMetadata?
optionalhiResOutputPdfMetadata?:IPdfMetadata
PDF metadata to be saved in the hi-res output. You can save such data as a document title, author and creator names, keywords, and a document subject.
hiResOutputInStringPlaceholderHintsEnabled?
optionalhiResOutputInStringPlaceholderHintsEnabled?:boolean
If true, displays hints for unfilled in-string placeholders in hi-res outputs. The default value is false.
hiResOutputRgbColorProfileName?
optionalhiResOutputRgbColorProfileName?:string
The name of an RGB color profile for the hi-res output. By default, the editor uses the sRGB IEC61966-2.1 profile to render hi-res outputs in RGB.
hiResOutputCmykColorProfileName?
optionalhiResOutputCmykColorProfileName?:string
The name of a CMYK color profile for the hi-res output. By default, the editor uses the SWOP (Coated) 20%, GCR, Medium profile to render hi-res outputs in CMYK.
hiResOutputGrayscaleColorProfileName?
optionalhiResOutputGrayscaleColorProfileName?:string
The name of a color profile for grayscale outputs. By default, the editor uses the Dot Gain 30% profile to render hi-res outputs in grayscale.
hiResOutputDestinationColorProfileName?
optionalhiResOutputDestinationColorProfileName?:string
The name of the destination color profile for hi-res outputs. If present then cmyk-mode is enabled with the corresponding destination color profile.
proofImageFileFormat?
optionalproofImageFileFormat?:string
The type of proof image files; it can be either "JPEG" or "PNG". The default value is "JPEG".
proofImageSafetyLinesEnabled?
optionalproofImageSafetyLinesEnabled?:boolean
Allows for drawing safety lines on proof images. The default value is true.
proofImageCropSafetyLine?
optionalproofImageCropSafetyLine?:string
The name of a safety line which proof images are cropped to; if there is no safety line with the given name, proof images are not cropped. The default value is an empty string. For details, see the Configuring Proof Images topic.
proofImageFlipMode?
optionalproofImageFlipMode?:string
The flip mode of proof images. Allows for flipping proof images. Possible values are "none", "vertical", "horizontal", or "both". The default value is "none".
proofImageRotateMode?
optionalproofImageRotateMode?:string
The rotate mode of proof images. Allows for rotating proof images. Possible values are "none", "auto", "rotate90", "rotate180", and "rotate270". The default value is "none".
proofImageSpineAndFoldingLinesEnabled?
optionalproofImageSpineAndFoldingLinesEnabled?:boolean
Displays spines and folding lines on proof images. The default value is true.
proofImageMockupEnabled?
optionalproofImageMockupEnabled?:boolean
Displays mockups on proof images. The default value is true.
proofImageShowStubContent?
optionalproofImageShowStubContent?:boolean
Displays stub images and text hints in unfilled placeholders. The default value is false.
proofImageInterpolationMode?
optionalproofImageInterpolationMode?:string
An interpolation algorithm used for resizing proof images. You can find the list of supported algorithms in the specification of the Aurigma Graphics Mill library. For example, you can use "Lanczos", "NearestNeighbour", and others. By default, no interpolation algorithms are applied to resize proof images.
proofImageInStringPlaceholderHintsEnabled?
optionalproofImageInStringPlaceholderHintsEnabled?:boolean
If true, displays hints for unfilled in-string placeholders on proof images. The default value is false.
proofImageRgbColorProfileName?
optionalproofImageRgbColorProfileName?:string
The name of an RGB color profile for proof images. By default, the editor uses the sRGB IEC61966-2.1 profile to render proof images.
proofImageUsePrintAreasAsClippingMasks?
optionalproofImageUsePrintAreasAsClippingMasks?:boolean
When rendering proof, the print area is overlaid on the content as a clipping mask.. The default value is false.