Nathan Fiedler
07c4971b66
Fix the clippy warnings
...
cargo test passes
2019-02-01 20:00:29 -08:00
Nathan Fiedler
251df0167f
Merge pull request #48 from bbigras/patch-1
...
README: fix windows installer URL
2019-02-01 14:34:16 -08:00
Bruno Bigras
2d26310d0c
README: fix windows installer URL
2019-02-01 16:49:04 -05:00
Nathan Fiedler
4e0a0a219f
Rollback bindgen to 0.31 release
...
The 0.42 release of bindgen was failing in the docker rust image. All
versions between 0.31 and 0.42 failed with other errors, so this is the only
version that works on both macOS and docker.
cargo test passes
2018-10-06 18:19:35 -07:00
Nathan Fiedler
bd34f145a2
Ran cargo fmt on the code base, looks better
...
cargo test passes
2018-10-06 15:38:33 -07:00
Nathan Fiedler
8a4fced836
Update to latest release of bindgen
...
Note that all of the enum definitions changed (again?), and now they are
flattened into the 'bindings' namespace. This breaks the API in a way that
is relatively easy to fix, albeit annoying. Attempts to change the enum
generation using default_enum_style() resulted in endless compiler errors.
cargo test passes
2018-10-06 15:37:41 -07:00
Nathan Fiedler
336606f121
Merge pull request #45 from magiclen/feature/set_sampling_factors
...
Binding for set_sampling_factors
2018-08-12 17:33:39 -07:00
Nathan Fiedler
ab047f562a
Merge pull request #44 from magiclen/master
...
Binding for set_image_background_color and sharpen_image
2018-08-12 17:33:09 -07:00
Magic Len
b190cc787a
Binding for set_sampling_factors
2018-08-12 23:28:32 +08:00
Magic Len
fd8f5e49a2
Binding for set_image_background_color
2018-08-12 23:05:45 +08:00
Magic Len
be0c6f5914
Binding for sharpen_image
2018-08-12 22:45:19 +08:00
Nathan Fiedler
179c696a90
Prepare for release 0.10.0
2018-08-11 09:16:57 -07:00
Nathan Fiedler
1498f7a88d
Merge pull request #43 from NQNStudios/resize
...
Binding for adaptive_resize_image
2018-05-26 18:38:44 -07:00
Nat Quayle Nelson
a10b98a790
Binding for adaptive_resize_image
2018-05-25 19:32:45 -04:00
Nathan Fiedler
5c2853385d
Merge pull request #42 from NQNStudios/new-bindings
...
Adding binding for MagickAddImage and MagicRotateImage
2018-05-25 15:16:14 -07:00
Nat Quayle Nelson
f694737ac5
Revert "Making self mutable"
...
This reverts commit 15a2fd7d1a .
2018-05-25 16:51:23 -04:00
Nat Quayle Nelson
15a2fd7d1a
Making self mutable
2018-05-25 16:49:38 -04:00
Nat Quayle Nelson
3daa8e77e8
adding docs & rotate_image
2018-05-25 16:39:59 -04:00
Nat Quayle Nelson
ccda94221f
Adding binding for MagickAddImage
2018-05-25 16:00:40 -04:00
Nathan Fiedler
f8e930e01e
Merge pull request #41 from pixers/master
...
More MagickWand functions implemented
2018-05-18 20:49:55 -07:00
Błażej Święcicki
88ceb3a4af
Add set_image_alpha_channel function
2018-05-18 13:51:50 +00:00
Błażej Święcicki
631725121a
Add reset_image_page function.
2018-05-18 13:51:50 +00:00
Błażej Święcicki
b47d2e64c5
Add ping_image and ping_image_blob functions.
2018-05-18 13:51:50 +00:00
Nathan Fiedler
3fa19db295
Improve grammar in README file
2018-05-06 18:31:55 -07:00
Nathan Fiedler
279fe97b5b
Update crate version
2018-05-05 10:41:22 -07:00
Nathan Fiedler
92c91713a9
Update changelog for 0.9.0 release
2018-05-05 10:34:35 -07:00
Nathan Fiedler
65dd2e92e1
Set Rust docker image version to "latest"
...
ImageMagick is still set to 7.0.x for now.
2018-03-30 10:45:53 -07:00
Nathan Fiedler
cac80848ed
Merge pull request #37 from pixers/master
...
Wrap additional MagickWand functions.
2018-03-30 09:50:46 -07:00
Nathan Fiedler
0366b9352d
Merge pull request #36 from pixers/fix-string_get-memory-leak
...
Fix memory management in `string_get!`
2018-03-29 20:11:32 -07:00
Błażej Święcicki
1f4a586426
More MagickWand functions wrapped.
2018-03-29 11:12:09 +02:00
Błażej Święcicki
07dd10f9cb
Fix memory management in string_get!
2018-03-29 11:12:09 +02:00
Błażej Święcicki
7b4cca3956
MagickCropImage returns a result, and so should crop_image
2018-03-29 11:12:09 +02:00
Nathan Fiedler
2ba8a3d0d0
Merge pull request #35 from sindreij/fix-multi-page-pdf
...
Fix exporting pdf->jpeg for multi-page pdf
2018-03-28 08:55:51 -07:00
Sindre Ilebekk Johansen
d5fe6f95cf
Fix exporting pdf->jpeg for multi-page pdf
...
When trying to convert a multi-page pdf to jpeg i got a pdf file
instead of a jpeg file. I figured that the pdf that worked was
a one-page pdf and the pdf that did not work was a two-page pdf.
My theory was that the two pages was loaded as to images in the
wand and that the format was set on the first page and it exported
the second page. And since the second page had the old format, it
was exported as a pdf.
Resetting the page iterator before exporting the image fixed the
bug, and the multi-page pdf was exported as a jpeg. The image that
was exported was just the first page, but it works for my usage.
2018-03-27 15:47:54 +02:00
Nathan Fiedler
a97c9a92bc
Prepare for the 0.8.0 minor release
2018-02-16 09:54:20 -08:00
Nathan Fiedler
82dd58b726
Image colors value has some variability
...
cargo test passes
2018-02-16 09:51:20 -08:00
Nathan Fiedler
cfc97f2caf
Merge pull request #34 from sindreij/add-crop-image
...
Add crop_image to MagickWand
2018-02-14 09:23:00 -08:00
Sindre Johansen
f397e65634
Add crop_image to MagickWand
2018-02-14 12:44:00 +01:00
Nathan Fiedler
71b854de9d
Merge pull request #33 from little-bobby-tables/color-transformations
...
Add color-related getters and transforms
2018-01-03 10:38:30 -08:00
little-bobby-tables
ddd33809e3
test new functionality
2018-01-03 17:05:22 +07:00
little-bobby-tables
f2b153c987
add color-related getters and mutations
2018-01-03 17:04:45 +07:00
little-bobby-tables
bc88fa81c2
lock ImageMagick to 7.0 in Dockerfile
...
Specifying a concrete version of IM required updating the Dockerfile
every time a new release is pushed, which happens pretty often.
2018-01-03 10:42:33 +07:00
Nathan Fiedler
1c89e0dc21
Prepare for the 0.7.1 patch release
2017-12-30 08:36:59 -08:00
Nathan Fiedler
7e33bda69f
Update Dockerfile to rust 1.22, latest ImageMagick
...
Using latest bitflags crate requires a newer version of Rust.
cargo test passes
2017-12-22 20:12:58 -08:00
Nathan Fiedler
25547a9178
Merge pull request #32 from gentoo90/fix-build
...
Hide more types to fix build
2017-12-22 17:55:58 -08:00
gentoo90
9b780bc5f1
Hide more types to fix build ( #29 )
2017-12-22 21:49:32 +02:00
Nathan Fiedler
8f41f2ad49
Update to ImageMagick 7.0.7-14 for Docker build
2017-12-07 18:34:43 -08:00
Nathan Fiedler
c8cff380fe
Update to ImageMagick 7.0.7-13 for Docker build
2017-12-02 11:42:24 -08:00
Nathan Fiedler
3e178d1b8e
Update ImageMagick version in Dockerfile
2017-11-26 19:48:21 -08:00
Nathan Fiedler
c2e519f19f
Some tidying up
2017-10-08 17:10:56 -07:00