---
title: "IProofImage Interface"
canonical: https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.objectmodel.iproofimage.htm
archived: true
applies_to:
  - product: "Customer's Canvas On-Premises"
  - product: "Design Editor"
    versions: ["6.15.0", "6.x (may differ)"]
---

**You’re viewing outdated documentation.** [View the latest Customer’s Canvas On-Premises documentation](https://customerscanvas.com/docs/on-premises/).

# IProofImage Interface

**Applies to:** Customer's Canvas On-Premises; Design Editor 6.15.0, 6.x (may differ) · **Archived documentation**
 
A structure holding settings for proof images.
  
 - example
     - ```
var emptyProduct = {
    surfaces: [{
        width: 720,
        height: 504,
        proofImage: {
            fileFormat: "PNG",
            rgbColorProfileName: "Adobe RGB (1998)",
            mockupEnabled: false
        }
    }]
};
```
 
## Properties
 
### Optional cropSafetyLineName
 
cropSafetyLineName: 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.
 
### Optional fileFormat
 
fileFormat: string

The type of preview files. It can be either `"JPEG"` or `"PNG"`. The default value is `"JPEG"`.
 
### Optional flipMode
 
flipMode: string

The flip mode of proof images. Allows for flipping proof images. Possible values are `"none"`, `"vertical"`, `"horizontal"`, and `"both"`. The default value is `"none"`.
 
### Optional inStringPlaceholderHintsEnabled
 
inStringPlaceholderHintsEnabled: boolean

If `true`, displays hints for unfilled in-string placeholders on proof images. The default value is `false`.
 
### Optional interpolationMode
 
interpolationMode: string

The interpolation algorithm used for resizing proof images. You can find the list of supported algorithms in the specification of the [Aurigma Graphics Mill↗](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Transforms_ResizeInterpolationMode.htm) library. For example, you can use `"Lanczos"`, `"NearestNeighbour"`, and other algorithms. By default, no interpolation algorithms are applied to resize proof images.
 
### Optional mockupEnabled
 
mockupEnabled: boolean

Displays mockups on proof images. The default value is `true`.
 
### Optional rgbColorProfileName
 
rgbColorProfileName: 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.
 
### Optional rotateMode
 
rotateMode: 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"`.
 
### Optional safetyLinesEnabled
 
safetyLinesEnabled: boolean

Allows for drawing safety lines on proof images. The default value is `true`.
 
### Optional showStubContent
 
showStubContent: boolean

Displays stub images and text hints in unfilled placeholders. The default value is `false`.
 
### Optional spineAndFoldingLinesEnabled
 
spineAndFoldingLinesEnabled: boolean

Displays spines and folding lines on proof images. The default value is `true`.
