Class ProofOptions
- Namespace
- Egami
- Assembly
- Egami.dll
How Proof<TPixel>(ProofOptions?) shows the plates on screen.
public sealed record ProofOptions : IEquatable<ProofOptions>
- Inheritance
-
ProofOptions
- Implements
- Inherited Members
Examples
// How the plates look on screen, and whether they print within the press's total ink limit.
using Raster<Rgba8> proof = page.Proof<Rgba8>(new ProofOptions { SimulatePaper = true });
InkCoverage coverage = page.MeasureCoverage(limit: 3.0f);
bool tooMuchInk = coverage.MaxTotal > coverage.Limit; // where: coverage.MaxAt; how often: coverage.ShareOver
Properties
BlackPointCompensation
Gets a value indicating whether the conversion uses black point compensation, without paper simulation. Defaults to false.
public bool BlackPointCompensation { get; init; }
Property Value
Default
Gets the default options: sRGB, paper shown white.
public static ProofOptions Default { get; }
Property Value
SimulatePaper
Gets a value indicating whether the paper's own colour shows (absolute colorimetric), as a print looks beside a white screen; otherwise paper is white and the rest scales to it (relative colorimetric, the default).
public bool SimulatePaper { get; init; }
Property Value
Target
Gets the encoding of the proof's pixels. Defaults to Srgb.
public ColorProfile Target { get; init; }
Property Value
Exceptions
- ArgumentException
The encoding is neither RGB nor gray.