ce5dc1d4f9
Add MagickAutoGammaImage and MagickAutoLevelImage
2023-02-05 20:33:38 -08:00
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
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
e52fb7bf90
fix: cfg the non-windows test away
2023-01-28 15:40:20 -08:00
cd4f282ce1
Merge pull request #98 from Matthew6186/fix_readme
...
add optional argment to cargo test
2023-01-28 15:27:17 -08:00
044a4c39b2
add optional argment to cargo test
2023-01-28 08:41:00 +09:00
c4ec37d1cc
chore: update bindgen and prepare for release
2022-12-10 11:39:01 -08:00
bc0b4960c6
test: fix docker build with updated ImageMagick URL
2022-12-10 11:38:44 -08:00
aeee42de19
Merge pull request #97 from MaksRawski/my-changes
...
Add bindings for `DrawRectangle` and `MagickBrightnessContrastImage` methods
2022-12-10 10:44:25 -08:00
d123b95b9e
change 2 normal comments in magick.rs into docstrings
2022-11-13 18:41:07 +01:00
b3fc4473b9
add MagickBrightnessContrastImage
2022-11-13 18:40:00 +01:00
f30dfb43fe
add draw_rectangle method
2022-11-13 18:38:59 +01:00
743f823032
Merge pull request #96 from DCjanus/master
...
Upgrade dependency `bindgen` (0.59 -> 0.60)
2022-08-26 12:46:39 -07:00
723d1ddc62
Upgrade dependency bindgen (0.59 -> 0.60)
2022-08-27 02:31:21 +08:00
d8802a0f58
chore: update changelog with latest changes
2022-05-30 15:22:42 -07:00
95fa3d2316
Merge pull request #94 from walterbm/add-bindings-for-image-deskew
...
Add bindings for MagickDeskewImage
2022-05-30 15:19:22 -07:00
471fc164cf
add support for image deskew
2022-05-30 14:23:45 -04:00
54a35a2dab
Merge pull request #92 from liyunde/master
...
FIX:error LNK2019: unresolved external symbol SetMagickResourceLimit …
2022-05-20 09:12:44 -07:00
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
faaf9acdbf
Prepare for the 0.16.0 release
...
cargo test passes
2022-04-09 09:47:31 -07:00
b19f1498ce
Merge pull request #88 from davidwilemski/imagemagick-version
...
Update ImageMagick version compatibility in README
2022-01-18 06:32:01 -08:00
a035544a96
Merge pull request #89 from davidwilemski/strip
...
Add binding for MagickStripImage
2022-01-18 06:29:20 -08:00
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
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
63dc05aece
Merge pull request #87 from DCjanus/master
...
feat: std error compatible error
2021-12-24 11:53:52 -08:00
409a583b22
feat: std error compatible error
2021-12-25 02:49:43 +08:00
679ccc43fa
Merge pull request #85 from DCjanus/master
...
Add some methods
2021-12-24 09:32:09 -08:00
dcb6046f5b
add some methods
2021-12-24 19:37:20 +08:00
2e843d7336
test: fix compiler warning about dyn Error
2021-10-09 06:53:57 -07:00
fd004cc15e
chore: update CHANGELOG
2021-10-09 06:53:44 -07:00
5a7a2a5dce
Merge pull request #84 from walterbm/thumbnail-resize
...
Add support for "thumbnail" image resizing
2021-10-09 06:44:51 -07:00
f8685e8531
add simple thumbnail resize test
2021-10-08 13:45:46 -04:00
734a545847
add support for thumbnail image resizing
2021-10-08 13:45:26 -04:00
cd50e1c578
doc: add help and work-around for HDRI issue
2021-09-29 09:00:18 -07:00
32f854cd6f
Prepare for the 0.15.0 release
2021-08-10 06:35:56 -07:00
cfd9849604
docker: copy to avoid local host dependency
2021-08-03 19:00:19 -07:00
aae7b562ef
chore: update bindgen dependency to latest
2021-08-03 18:59:55 -07:00
8f9526e5ae
chore: update dependencies and bindgen usage
...
cargo test passes
2021-06-28 18:27:27 -07:00
fe415039b1
Merge pull request #82 from brownjohnf/allow-imagemagick-7-1
...
Update imagemmagick checks to support 7.1
2021-06-28 18:26:12 -07:00
c65027800d
Update imagemmagick checks to support 7.1
...
On Arch Linux, imagemagick is currently at 7.1.0. I tried increasing the
max version and the version used in the Dockerfile to 7.1 and it appears
to compile and tests pass. Version used for local testing:
```
Linux 5.12.12-arch1-1 #1 SMP PREEMPT Fri, 18 Jun 2021 21:59:22 +0000 x86_64 GNU/Linux
Version: ImageMagick 7.1.0-1 Q16 x86_64 2021-06-21 https://imagemagick.org
Copyright: (C) 1999-2021 ImageMagick Studio LLC
License: https://imagemagick.org/script/license.php
Features: Cipher DPC HDRI Modules OpenMP(4.5)
Delegates (built-in): bzlib cairo djvu fontconfig freetype heic jbig jng jp2 jpeg lcms lqr ltdl lzma openexr pangocairo png raqm raw rsvg tiff webp wmf x xml zip zlib
```
2021-06-28 14:14:35 -07:00
40f8c58b5b
Merge pull request #80 from glebpom/resource-limits
...
Support setting resource limits
2021-04-11 06:53:44 -07:00
a14b44974d
support resource limits
2021-04-10 12:36:40 +03:00
9422825322
fix: in Rust 1.51 panic! takes only string literals
...
Seems that Rust 2021 will require that panic! macro takes only a string
literal, so format! and variables are out.
cargo test passes
2021-03-27 11:22:50 -07:00
348dd1fd21
Merge pull request #78 from liyunde/master
...
fix path_separator on windows can not build
2021-03-11 13:48:03 -08:00
480421aa65
fix path_separator on windows can not build
2021-03-11 14:25:32 +08:00
82778e69f5
chore: fix the ImageMagick URL for docker container build
2021-01-23 09:38:46 -08:00
aba1a324f4
Merge pull request #76 from kz6wk9/master
...
Required version bump on bindgen.
2021-01-23 09:36:46 -08:00
e8170defca
Required version bump on bindgen.
...
More info: https://github.com/rust-lang/rust-bindgen/pull/1826 .
2021-01-23 10:23:00 -03:00
7d233633a9
Merge pull request #75 from lerouxrgd/feature/kmeans
...
Add kmeans
2020-12-20 18:06:32 -08:00
9f70ef94fa
Add kmeans
2020-12-21 01:58:41 +01:00