Class InkTiffOptions
- Namespace
- Egami
- Assembly
- Egami.dll
How an InkRaster is saved as a separated TIFF.
public sealed record InkTiffOptions : IEquatable<InkTiffOptions>
- Inheritance
-
InkTiffOptions
- Implements
- Inherited Members
Examples
// One separated TIFF with every plate and the ink names, Deflate by default; it loads back plate for plate.
page.Save(file, new InkTiffOptions { Compression = Egami.Formats.Tiff.TiffCompression.Lzw });
file.Position = 0;
using InkRaster loaded = InkRaster.Load(file);
Properties
Compression
Gets the compression: Deflate (the default) or Lzw, both with the horizontal predictor, PackBits or None.
public TiffCompression Compression { get; init; }
Property Value
Exceptions
- ArgumentOutOfRangeException
Another compression.
IncludeAlpha
Gets a value indicating whether the alpha plane is saved, as an associated alpha extra sample. Off by default: the plates hold the ink as printed, which is what a RIP needs, and loading treats the page as covered. libtiff reads CMYK with alpha, but not more than four inks with alpha.
public bool IncludeAlpha { get; init; }