Struct pdf_writer::writers::ImageStream [−][src]
pub struct ImageStream<'a> { /* fields omitted */ }
Expand description
Writer for an image XObject.
This struct is created by PdfWriter::image
.
Implementations
impl<'a> ImageStream<'a>
[src]
impl<'a> ImageStream<'a>
[src]pub fn color_space(&mut self, space: ColorSpace) -> &mut Self
[src]
pub fn color_space(&mut self, space: ColorSpace) -> &mut Self
[src]Write the /ColorSpace
attribute.
pub fn bits_per_component(&mut self, bits: i32) -> &mut Self
[src]
pub fn bits_per_component(&mut self, bits: i32) -> &mut Self
[src]Write the /BitsPerComponent
attribute.