Thumbnails
A thumbnailing library.
This crate converts various file formats into an image::DynamicImage of a user-specified size.
Supports images, videos, PDFs, and ZIP/CBZ archives.
API
Create a thumbnail:
use Thumbnailer;
let thumbnailer = new;
let thumb = thumbnailer.get?;
thumb.save?;
Building
Some file types require additional setup and can be disabled via features if unneeded.
Video thumbnails depend on ffmpeg. See rust-ffmpeg
PDF thumbnails depend on pdfium. See pdfium-render