From 034a7313bf3a651efb302d68ae949af4aa39aca1 Mon Sep 17 00:00:00 2001 From: Nathan Fiedler Date: Sat, 8 Apr 2017 20:58:20 -0700 Subject: [PATCH] Update CHANGELOG, add bindgen link to README --- CHANGELOG.md | 9 ++++++++- README.md | 4 +++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 58463bf..b65bf23 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/README.md b/README.md index 3f1b085..c8b7fb6 100644 --- a/README.md +++ b/README.md @@ -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, &'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.