Interface: IHiResOutput
A structure holding the hi-res output settings.
Example
const product = {
surfaces: [
{
printAreas: [
{
designFile: "Envelope",
hiResOutput: {
fileFormat: "PDF",
cmykColorProfileName: "US Sheetfed Coated v2",
dpi: 400,
flipMode: "both",
rotateMode: "rotate90",
},
},
],
},
],
};
Properties
dpi?
optionaldpi?:number
Hi-res output resolution in dots per inch (DPI).
fileFormat?
optionalfileFormat?: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".
colorSpace?
optionalcolorSpace?:string
The color space of the hi-res output. It can have one of the following values: "RGB", "CMYK", or "Grayscale".
backgroundColor?
optionalbackgroundColor?:string
The background color of the hi-res output.
compression?
optionalcompression?: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".
jpegCompressionQuality?
optionaljpegCompressionQuality?: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.
flipMode?
optionalflipMode?:string
The flip mode of 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".
rotateMode?
optionalrotateMode?: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".
inStringPlaceholderHintsEnabled?
optionalinStringPlaceholderHintsEnabled?:string
If true, displays hints for unfilled in-string placeholders in hi-res outputs. The default value is false.