Skip to main content

thumbnail

Function thumbnail 

Source
pub fn thumbnail(path: &Path, ext: &str) -> Option<RgbaImage>
Expand description

Eagle’s import thumbnail of the 3D file at path: the render on a CANVAS square, trimmed and padded by PADDING. None when the file can’t be read as a model or shows nothing.