Function thumbnailer::create_thumbnails
source · [−]pub fn create_thumbnails<R: BufRead + Seek, I: IntoIterator<Item = ThumbnailSize>>(
reader: R,
mime: Mime,
sizes: I
) -> ThumbResult<Vec<Thumbnail>>Expand description
Creates thumbnails of the requested sizes for the given reader providing the content as bytes and the mime describing the contents type