pub fn as_image(&mut self) -> DynamicImage {
        ImageBuffer::from_raw(
            self.config.width as u32,
            self.config.height as u32,
            self.as_bytes().to_owned(),
        )
        .map(DynamicImage::ImageRgba8)
        .unwrap()
    }
/// Returns a new DynamicImage created from the bitmap buffer backing
/// this PdfBitmap, rendering the referenced page if necessary.
Returns a new DynamicImage created from the bitmap buffer backing
this PdfBitmap, rendering the referenced page if necessary.
Returns a new DynamicImage created from the bitmap buffer backing this PdfBitmap rendering the referenced page if necessary .
pub fn as_image(&mut self) -> DynamicImage {
        ImageBuffer::from_raw(
            self.config.width as u32,
            self.config.height as u32,
            self.as_bytes().to_owned(),
        )
        .map(DynamicImage::ImageRgba8)
        .unwrap()
    }
pub fn as_image ( & mut self ) -> DynamicImage { ImageBuffer :: from_raw ( self . config . width as u32 , self . config . height as u32 , self . as_bytes ( ) . to_owned ( ) , ) . map ( DynamicImage :: ImageRgba8 ) . unwrap ( ) }
Returns a new DynamicImage created from the bitmap buffer backing
this PdfBitmap, rendering the referenced page if necessary.
Returns a new DynamicImage created from the bitmap buffer backing this PdfBitmap rendering the referenced page if necessary .
&mut self
&mut self