Table of Contents

Field ColorSpace

Namespace
PdfSharp.Pdf.Advanced
Assembly
PdfSharp.dll

(Required for images, except those that use the JPXDecode filter; not allowed for image masks) The color space in which image samples are specified; it can be any type of color space except Pattern. If the image uses the JPXDecode filter, this entry is optional: • If ColorSpace is present, any color space specifications in the JPEG2000 data are ignored. • If ColorSpace is absent, the color space specifications in the JPEG2000 data are used. The Decode array is also ignored unless ImageMask is true.

public const string ColorSpace = "/ColorSpace"

Returns

string
(Required for images, except those that use the JPXDecode filter; not allowed for image masks) The color space in which image samples are specified; it can be any type of color space except Pattern. If the image uses the JPXDecode filter, this entry is optional: • If ColorSpace is present, any color space specifications in the JPEG2000 data are ignored. • If ColorSpace is absent, the color space specifications in the JPEG2000 data are used. The Decode array is also ignored unless ImageMask is true.