Commit Graph

104 Commits

Author SHA1 Message Date
yoghurt
7adf1981f4 Added MagickNormalizeImage and MagickOrderedDitherImage 2024-04-17 23:34:10 +02:00
Nathan Fiedler
e960a26bfb Merge pull request #113 from 5ohue/composite
CompositeOperator type
2023-11-18 07:52:07 -08:00
5ohue
c480449dd2 remove blank line 2023-11-16 22:18:03 +03:00
5ohue
e1cefcdbe6 fixed set/get for new CompositeOperator type 2023-11-16 22:16:33 +03:00
5ohue
c00ce82a4c Better looking aligned enum arms 2023-11-16 21:55:07 +03:00
5ohue
163cef7f52 Rename composite operator enum names 2023-11-16 21:48:03 +03:00
5ohue
3b0377d94a Add compositeOperator type 2023-11-16 21:43:26 +03:00
5ohue
79f511d993 Fixed level_image error message 2023-11-16 20:41:59 +03:00
5ohue
c97b92e7ff Added sigmoidal contrast function 2023-11-16 20:41:19 +03:00
Dan Norris
1ddf6cf4b9 Add auto_threshold 2023-10-22 22:44:29 -04: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
FaithBeam
76f90b98a5 Add compose_images_gravity 2023-06-09 17:41:36 -04:00
walter
834d30041e add support for image coalesce 2023-05-16 00:36:45 -04:00
BeatButton
c8fdace590 don't segfault if MagickGetImageBlob returns null 2023-04-07 10:17:57 -06:00
Nathan Fiedler
6595344bf9 Merge branch 'master' into add-auto-gamma-auto-level 2023-02-06 08:49:31 -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
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
walter
471fc164cf add support for image deskew 2022-05-30 14:23:45 -04: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
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
DCjanus
409a583b22 feat: std error compatible error 2021-12-25 02:49:43 +08:00
DCjanus
dcb6046f5b add some methods 2021-12-24 19:37:20 +08:00
walter
734a545847 add support for thumbnail image resizing 2021-10-08 13:45:26 -04:00
Gleb Pomykalov
a14b44974d support resource limits 2021-04-10 12:36:40 +03:00
Romain Leroux
9f70ef94fa Add kmeans 2020-12-21 01:58:41 +01:00
Daniel Rönnkvist
65903434cd feat: modulate image 2020-10-16 15:57:57 +02:00
asonix
4dda874de1 Add sample method 2020-10-10 17:42:35 -05:00
Captain Bland
a600637726 Add workaround for QuantumRange not defined error when hdri is disabled 2020-06-08 23:59:14 +01:00
Kirill Mironov
778cd06cab feat: MagickLiquidRescaleImage | MagickImplodeImage 2020-05-28 23:49:01 +03:00
Nathan Fiedler
63f2bf6a12 Fix compiler warnings
cargo test passes
2020-05-21 08:40:16 -07:00
Nikola Pajkovsky
51b2cac594 remove use of deprecated item 'try': use the ? operator instead
Signed-off-by: Nikola Pajkovsky <nikola.pajkovsky@livesporttv.cz>
2020-05-21 12:11:15 +02:00
Nikola Pajkovsky
415ad30bd0 add negate_image() operation
Signed-off-by: Nikola Pajkovsky <nikola.pajkovsky@livesporttv.cz>
2020-05-21 12:07:47 +02:00
Daniel Rönnkvist
8c8e0ce4ed feat: MagickSetImageAlpha 2020-04-24 14:06:46 +02:00
Nathan Fiedler
3d52a9d89d Merge pull request #64 from Storykit/feature/blur-image
feat: MagickBlurImage
2020-04-22 07:56:00 -07:00
Nathan Fiedler
fc76fa95d4 Merge pull request #63 from Storykit/feature/hald-clut
feat: hald clut image
2020-04-22 07:55:25 -07:00
Daniel Rönnkvist
cd590d0335 feat: MagickBlurImage
A faster alternative to gaussian blur
2020-04-22 16:13:04 +02:00
Daniel Rönnkvist
41a62dd221 feat: hald clut image 2020-04-22 15:13:15 +02:00
Daniel Rönnkvist
69020e40f7 Revert "feat: set_image_gray"
This reverts commit 517fd5ef5f.
2020-04-22 08:42:10 +02:00
Nathan Fiedler
fefc89387d Merge pull request #61 from Storykit/feature/levels
feat: level image binding
2020-04-21 06:49:41 -07:00
Nathan Fiedler
f6d0f27aaf Merge pull request #60 from Storykit/feature/fx
feat: MagickFxImage bindning
2020-04-21 06:49:28 -07:00
Daniel Rönnkvist
fa563b8fb6 docs: describe the quantomrange use in level_image 2020-04-21 09:09:59 +02:00
Daniel Rönnkvist
36c145d4c4 fix: black and white point should be set relative to quantum range 2020-04-21 08:34:13 +02:00
Daniel Rönnkvist
5c5015a10e Bindings for MagickLevelImage 2020-04-21 08:34:13 +02:00
Daniel Rönnkvist
a277b7cfe7 feat: MagickFxImage bindning
New macro to create a new wand from another wand.
2020-04-21 08:32:18 +02:00
Daniel Rönnkvist
517fd5ef5f feat: set_image_gray 2020-04-21 08:29:34 +02:00