1f4a586426
More MagickWand functions wrapped.
2018-03-29 11:12:09 +02:00
f2b153c987
add color-related getters and mutations
2018-01-03 17:04:45 +07:00
c50b3e27de
Add compare_images method
2017-05-16 16:43:08 +03:00
e7054d3e35
Use the rust-bindgen crate properly
...
Using the changes from @gadomski along with some additional work, to get the
generated bindings working again. Works on macOS and FreeBSD 11. A couple of
hacks are needed for FreeBSD, but nothing too serious.
Changed to use the libc prefix, and changed to use the generated enums.
Fixes #22 , #15 , and #14
cargo test passes
2017-04-08 16:03:58 -07:00
eec7998d25
Use new rust-bindgen crate for faster builds
...
Rather than cloning the bindgen repository and building from source, use
the packaged crate. The result is the rebuilds are much, much faster.
Also, had to make numerous changes for the new version of bindgen.
cargo test passes
2016-08-14 21:23:05 -07:00
9d2eba64a3
use size_t and ssize_t types for cross-compilation
2016-05-16 19:03:45 +03:00
9e2285a4aa
add drawing and pixel wands; add some methods to MagickWand
2016-05-11 22:12:42 +03:00
4c7cebe628
move MagickWand to wand/magick.rs and filters to filters.rs
2016-05-11 17:03:53 +03:00
85a4b97b70
place generated files in OUT_DIR
2016-05-11 16:52:15 +03:00
faebc468ba
Detect and correct non-optimal image orientation
...
cargo test passes
2016-03-29 18:28:33 -07:00
7bc3f274d2
Fix image property accessor to copy C string
...
cargo test passes
2016-01-02 19:57:39 -08:00
19377db422
Add get_image_property() to retrieve properties
...
cargo test passes
2016-01-02 14:31:20 -08:00
0cc8073a48
Upgrade to libc 0.2.4
2015-12-26 20:02:32 -08:00
5e091bf488
Add a fit function to resize an image
...
Given a bounding box defined by the desired width and height, resize the
image to fit that box, maintaining the aspect ratio.
cargo test passes
2015-06-10 21:27:58 -07:00
56877aaad3
Write image to a vector of bytes (in memory write)
...
cargo test passes
2015-06-09 22:18:57 -07:00
78d681608d
Read image data from a vector of bytes
...
cargo test passes
2015-06-09 06:57:56 -07:00
1781b39863
Basic API in place, some tests working
...
Reading an image, getting its dimensions, and resizing are working.
cargo test passes
2015-06-08 21:47:17 -07:00
ed91ab75d0
Initial generated bindings and basic API
2015-06-06 21:30:42 -07:00