docs.rs failed to build image-convert-0.19.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Image Convert
This crate is a high level library using MagickWand (ImageMagick) for image identification, conversion, interlacing and high quality resizing.
Examples
Identify an image.
use ;
let input = from_path;
let mut output = None;
let id = identify.unwrap;
assert_eq!;
assert_eq!;
assert_eq!;
assert_eq!;
Convert an image to a PNG image and also resize it.
use Path;
use ;
let source_image_path = new;
let target_image_path = join;
let mut config = new;
config.width = 1920;
let input = from_path;
let mut output = from_path;
to_png.unwrap;
Supported output formats are BMP
, JPG
, PNG
, GIF
, WEBP
, ICO
, PGM
and GrayRaw
.
Crates.io
https://crates.io/crates/image-convert