Struct pdf_writer::writers::ColorSpace [−][src]
pub struct ColorSpace<'a> { /* fields omitted */ }
Expand description
Writer for a color space.
This struct is created by PdfWriter::color_space
,
Shading::color_space
, ImageXObject::color_space
and
Group::color_space
.
Implementations
CIE-based color spaces.
Write a CalRGB
color space.
Write a CalGray
color space.
Device color spaces.
Write a DeviceRGB
color space.
Write a DeviceCMYK
color space.
Write a DeviceGray
color space.
Special color spaces.
Write a Separation
color space. PDF 1.2+.
Write a DeviceN
color space. PDF 1.3+.
Write an Indexed
color space. PDF 1.2+.
The length of the lookup slice must be the product of the dimensions of
the base color space and (hival + 1
) and hival
shall be at most 255.