Yukun Guo
8edd324f0b
Use C++ compiler on Windows if needed
2023-11-08 16:49:49 +08:00
Nathan Fiedler
f020fd25f7
Merge pull request #109 from protochron/add_autothreshold
...
Add auto_threshold
2023-10-23 09:18:28 -07:00
Dan Norris
1ddf6cf4b9
Add auto_threshold
2023-10-22 22:44:29 -04:00
Nathan Fiedler
b676db0661
doc: add details for Windows build setup
2023-09-24 10:46:51 -07:00
Nathan Fiedler
612c13166d
chore: prepare for 0.19.1 release
2023-09-23 16:04:40 -07:00
Nathan Fiedler
8a9536d83a
fix: make disable-hdri default to fix compile error
...
By making the disable-hdri feature a default, the `quantum_range()` function
will be one which computes a value for `QuantumRange` based on a constant
that rust-bindgen seemingly does not have any problem discovering.
cargo test passes
2023-09-23 11:43:07 -07:00
Nathan Fiedler
ef1867e9f9
chore: fix some clippy warnings
2023-09-17 14:45:35 -07:00
Nathan Fiedler
ce0792f27b
chore: prepare for 0.19 release
2023-06-19 10:23:17 -07:00
Nathan Fiedler
dc34cecc68
Merge pull request #105 from FaithBeam/master
...
Add compose_images_gravity
2023-06-09 19:03:24 -07:00
FaithBeam
76f90b98a5
Add compose_images_gravity
2023-06-09 17:41:36 -04:00
Nathan Fiedler
c82503d134
Merge pull request #104 from walterbm/add-support-for-coalesce
...
Add support for image coalesce
2023-05-16 09:34:10 -07:00
walter
834d30041e
add support for image coalesce
2023-05-16 00:36:45 -04:00
Nathan Fiedler
f1cbfa8304
Prepare for 0.18 release
2023-04-15 10:37:25 -07:00
Nathan Fiedler
257243c96c
Merge pull request #102 from BeatButton/write-image-blob-null
...
don't segfault if MagickGetImageBlob returns null
2023-04-07 11:31:08 -07:00
BeatButton
c8fdace590
don't segfault if MagickGetImageBlob returns null
2023-04-07 10:17:57 -06:00
Nathan Fiedler
1cfbc83471
Merge pull request #101 from 2e0byo/master
...
Deploy docs to github pages (without storing in repository).
2023-03-08 10:32:59 -08:00
John Maximilian
cb5e450cf3
docs: add note in readme.
...
This way it will be visible on crates.io and send people just browsing to the page.
2023-03-08 11:57:19 +00:00
John Maximilian
357995a15a
ci: add index.html.
...
Currently this is just a redirect, but we could build for different versions and
add a menu.
2023-03-08 11:49:48 +00:00
John Maximilian
ecc1345338
ci: build docs.
2023-03-08 11:49:48 +00:00
Nathan Fiedler
e44ec078a2
chore: update change log
2023-02-06 21:18:22 -08:00
Nathan Fiedler
afef3a3baf
test: fix broken merge
2023-02-06 21:17:15 -08:00
Nathan Fiedler
3c17e8cff2
Merge pull request #100 from jshrake/add-auto-gamma-auto-level
...
Add MagickAutoGammaImage and MagickAutoLevelImage
2023-02-06 08:49:41 -08:00
Nathan Fiedler
6595344bf9
Merge branch 'master' into add-auto-gamma-auto-level
2023-02-06 08:49:31 -08:00
Nathan Fiedler
c239c5af22
Merge pull request #99 from jshrake/import-image-pixels-add-map-argument
...
Add map argument to MagickWand::import_image_pixels
2023-02-06 08:47:10 -08:00
Justin Shrake
ce5dc1d4f9
Add MagickAutoGammaImage and MagickAutoLevelImage
2023-02-05 20:33:38 -08:00
Justin Shrake
7d2b7710cf
Add map argument to MagickWand::import_image_pixels
...
... and update the pixels argument to a slice.
Now, callers can specify the pixel layout and call this function without an owned Vec.
2023-02-05 20:22:05 -08:00
Nathan Fiedler
08fb952056
fix: builds on FreeBSD once again
...
The resource limis feature seems to be available only on certain platforms,
so the set_resource_limit() function and its test are enabled only on the
platforms that are known to be supported (linux and macos).
cargo test passes
2023-01-28 21:59:56 -08:00
Nathan Fiedler
9aaf0244d1
doc: clarify building instructions for Windows
...
Note that invoking `cargo test --libs` only avoids failures by not running
the tests for the library itself. This is useless and only hides the real
issue.
cargo test passes
2023-01-28 15:48:02 -08:00
Nathan Fiedler
e52fb7bf90
fix: cfg the non-windows test away
2023-01-28 15:40:20 -08:00
Nathan Fiedler
cd4f282ce1
Merge pull request #98 from Matthew6186/fix_readme
...
add optional argment to cargo test
2023-01-28 15:27:17 -08:00
Matthew6186
044a4c39b2
add optional argment to cargo test
2023-01-28 08:41:00 +09:00
Nathan Fiedler
c4ec37d1cc
chore: update bindgen and prepare for release
2022-12-10 11:39:01 -08:00
Nathan Fiedler
bc0b4960c6
test: fix docker build with updated ImageMagick URL
2022-12-10 11:38:44 -08:00
Nathan Fiedler
aeee42de19
Merge pull request #97 from MaksRawski/my-changes
...
Add bindings for `DrawRectangle` and `MagickBrightnessContrastImage` methods
2022-12-10 10:44:25 -08:00
Maks Rawski
d123b95b9e
change 2 normal comments in magick.rs into docstrings
2022-11-13 18:41:07 +01:00
Maks Rawski
b3fc4473b9
add MagickBrightnessContrastImage
2022-11-13 18:40:00 +01:00
Maks Rawski
f30dfb43fe
add draw_rectangle method
2022-11-13 18:38:59 +01:00
Nathan Fiedler
743f823032
Merge pull request #96 from DCjanus/master
...
Upgrade dependency `bindgen` (0.59 -> 0.60)
2022-08-26 12:46:39 -07:00
DCjanus
723d1ddc62
Upgrade dependency bindgen (0.59 -> 0.60)
2022-08-27 02:31:21 +08:00
Nathan Fiedler
d8802a0f58
chore: update changelog with latest changes
2022-05-30 15:22:42 -07:00
Nathan Fiedler
95fa3d2316
Merge pull request #94 from walterbm/add-bindings-for-image-deskew
...
Add bindings for MagickDeskewImage
2022-05-30 15:19:22 -07:00
walter
471fc164cf
add support for image deskew
2022-05-30 14:23:45 -04:00
Nathan Fiedler
54a35a2dab
Merge pull request #92 from liyunde/master
...
FIX:error LNK2019: unresolved external symbol SetMagickResourceLimit …
2022-05-20 09:12:44 -07:00
liyunde
f57de2e792
FIX:error LNK2019: unresolved external symbol SetMagickResourceLimit referenced in function _ZN11magick_rust4wand6magick10MagickWand18set_resource_limit;
...
#[cfg(not(windows))] cfgSetMagickResourceLimit;
ImageMagick-7.1.0-Q16-HDRI + Windows\MSVC\14.29.30133
can not link function
2022-05-20 17:45:47 +08:00
Nathan Fiedler
faaf9acdbf
Prepare for the 0.16.0 release
...
cargo test passes
2022-04-09 09:47:31 -07:00
Nathan Fiedler
b19f1498ce
Merge pull request #88 from davidwilemski/imagemagick-version
...
Update ImageMagick version compatibility in README
2022-01-18 06:32:01 -08:00
Nathan Fiedler
a035544a96
Merge pull request #89 from davidwilemski/strip
...
Add binding for MagickStripImage
2022-01-18 06:29:20 -08:00
David Wilemski
cf7db8e39a
Add binding for MagickStripImage
...
Per the API docs, this should strip all profiles and comments attached
to the image. This can be useful for removing identifying information
from an image (e.g. EXIF tags).
2022-01-16 23:22:05 -06:00
David Wilemski
48dc7b06c4
Update ImageMagick version compatibility in README
...
The MagickKmeansImage function appears to have been added in ImageMagick 7.0.10-36.
if you try to build against an earlier version, you'll get a compilation
error about the bindings not having such a function.
2022-01-16 22:49:27 -06:00
Nathan Fiedler
63dc05aece
Merge pull request #87 from DCjanus/master
...
feat: std error compatible error
2021-12-24 11:53:52 -08:00