[−][src]Trait iconwriter::Raster
Rasterizes a generic image to series of RgbaImage
's, conforming to the configuration options specifyed in the options
argument.
Required methods
pub fn raster(&self, opts: &IconOptions) -> Result<Vec<RgbaImage>, E>
[src]
Rasterizes self
to series of RgbaImage
's, conforming to the configuration options specifyed in the options
argument.
Returns Ok(Vec<RgbaImage>)
if the rasterazation was sucessfull. Otherwise returns Err<E>