build: requires ImageMagick 7.1.1-26

With the addition of the OffIfOpaque alpha channel option, this crate now
requires ImageMagick 7.1.1-26 or later. However, the build.rs cannot specify
the -26 so 7.1.1 is as specific as it gets for now.

cargo test passes
This commit is contained in:
Nathan Fiedler
2024-07-04 10:03:20 -07:00
parent 459e392068
commit d50f01b49f
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ A somewhat safe Rust interface to the [ImageMagick](http://www.imagemagick.org/)
Because this crate is generating bindings for a C/C++ library, there are several dependencies beyond simply having the latest Rust toolchain installed.
* [Rust](https://www.rust-lang.org) stable
* [ImageMagick](https://imagemagick.org) (version 7.0.10-36 to 7.1.x)
* [ImageMagick](https://imagemagick.org) (version 7.1.1-26 or later)
- Does _not_ work with ImageMagick **6.x** due to backward incompatible changes.
- [FreeBSD](https://www.freebsd.org): `sudo pkg install ImageMagick7`
- [Homebrew](http://brew.sh): `brew install imagemagick`

View File

@ -23,7 +23,7 @@ use std::io::prelude::*;
use std::path::{Path, PathBuf};
use std::process::Command;
const MIN_VERSION: &str = "7.0";
const MIN_VERSION: &str = "7.1.1";
const MAX_VERSION: &str = "7.2";
#[cfg(windows)]