PeachDrawing

PeachDrawing.RasterSurfaceEncoding

RasterSurfaceEncoding.ToCmykPixels(RasterSurface, bool) Method

Converts surface’s (necessarily opaque) RGB pixels to raw CMYK bytes by naive subtractive conversion, for the PDF/X-1a raw-DeviceCMYK embedding path (PDF/X-1a forbids RGB).

public static byte[] ToCmykPixels(PeachDrawing.Core.RasterSurface surface, bool richBlack);

Parameters

surface RasterSurface

richBlack System.Boolean

Returns

System.Byte[]