Table of Contents

Enum InkDepth

Namespace
Egami
Assembly
Egami.dll

How many bits each plane of an InkRaster stores per pixel.

public enum InkDepth

Fields

Unorm16 = 1

16 bits: 0 no ink to 65535 full ink.

Unorm8 = 0

8 bits: 0 no ink to 255 full ink.

Examples

// A page as plates: CMYK and the spot, 8 bits each, plus alpha. Rows are written in place; a plate is also a gray raster.
using InkRaster page = new(inks, 200, 100, InkDepth.Unorm8);
page.Plate("PANTONE 186 C")!.Row8(10).Fill(255);              // a full-tint line of the spot
page.Alpha.Row8(10).Fill(255);
using Raster<Gray8> spot = page.Plate("PANTONE 186 C")!.AsRaster<Gray8>();   // no copy: 0 = no ink, 255 = full ink