pdfspine
API reference

Color

API for the Colorspace class describing a pixel colorspace, plus the DeviceGray/RGB/CMYK singletons.

Colorspace describes a pixel colorspace. The DeviceGray / DeviceRGB / DeviceCMYK singletons are re-exported as csGRAY / csRGB / csCMYK.

Full API for pdfspine.Colorspace — methods, signatures, and docstrings — is generated from source. See the pdfspine API reference or your editor's autocomplete.