Skip to content

Commit

Permalink
build: requires ImageMagick 7.1.1-26
Browse files Browse the repository at this point in the history
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
  • Loading branch information
nlfiedler committed Jul 4, 2024
1 parent 459e392 commit d50f01b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down

0 comments on commit d50f01b

Please sign in to comment.