Update CHANGELOG, add bindgen link to README

This commit is contained in:
Nathan Fiedler
2017-04-08 20:58:20 -07:00
parent e7054d3e35
commit 034a7313bf
2 changed files with 11 additions and 2 deletions

View File

@ -3,6 +3,13 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).
## [0.6.3] - 2017-04-08
### Changed
- Changed to use `pkg-config` crate to get MagickWand compiler settings.
- Fixed bindings generation on FreeBSD (i.e. no longer hard-coded).
- Changed the bindings generation to use `libc` prefix for C types.
- Changed the bindings generation and interface code to use Rust enums.
## [0.6.2] - 2016-10-20
### Changed
- Presence of `pkg-config` checked in `build.rs` script at build time.
@ -25,7 +32,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
## [0.5.1] - 2016-06-25
### Changed
- hjr3: Changed read_image_blob() to borrow data rather than take ownership.
- hjr3: Changed `read_image_blob()` to borrow data rather than take ownership.
## [0.5.0] - 2016-05-18
### Changed

View File

@ -11,7 +11,7 @@ A somewhat safe Rust interface to the [ImageMagick](http://www.imagemagick.org/)
- Homebrew: `brew install imagemagick@6` followed by `brew link --force imagemagick@6`
- Linux may require building ImageMagick from source
* Clang (version 3.5 or higher)
- Or whatever version is dictated by rust-bindgen
- Or whatever version is dictated by [rust-bindgen](https://github.com/servo/rust-bindgen)
* Must have `pkg-config` in order to link with MagickWand.
See the `docs/Development_Setup.md` file for details particular to each platform.
@ -47,3 +47,5 @@ fn resize() -> Result<Vec<u8>, &'static str> {
wand.write_image_blob("jpeg")
}
```
Writing the image to a file rather than an in-memory blob is done by replacing the call to `write_image_blob()` with `write_image()`, which takes a string for the path to the file.