Commit Graph

135 Commits

Author SHA1 Message Date
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
471fc164cf add support for image deskew 2022-05-30 14:23:45 -04: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
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
409a583b22 feat: std error compatible error 2021-12-25 02:49:43 +08:00
dcb6046f5b add some methods 2021-12-24 19:37:20 +08:00
734a545847 add support for thumbnail image resizing 2021-10-08 13:45:26 -04:00
a14b44974d support resource limits 2021-04-10 12:36:40 +03:00
9f70ef94fa Add kmeans 2020-12-21 01:58:41 +01:00
65903434cd feat: modulate image 2020-10-16 15:57:57 +02:00
4dda874de1 Add sample method 2020-10-10 17:42:35 -05:00
a600637726 Add workaround for QuantumRange not defined error when hdri is disabled 2020-06-08 23:59:14 +01:00
778cd06cab feat: MagickLiquidRescaleImage | MagickImplodeImage 2020-05-28 23:49:01 +03:00
63f2bf6a12 Fix compiler warnings
cargo test passes
2020-05-21 08:40:16 -07:00
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
415ad30bd0 add negate_image() operation
Signed-off-by: Nikola Pajkovsky <nikola.pajkovsky@livesporttv.cz>
2020-05-21 12:07:47 +02:00
8c8e0ce4ed feat: MagickSetImageAlpha 2020-04-24 14:06:46 +02:00
3d52a9d89d Merge pull request #64 from Storykit/feature/blur-image
feat: MagickBlurImage
2020-04-22 07:56:00 -07:00
fc76fa95d4 Merge pull request #63 from Storykit/feature/hald-clut
feat: hald clut image
2020-04-22 07:55:25 -07:00
cd590d0335 feat: MagickBlurImage
A faster alternative to gaussian blur
2020-04-22 16:13:04 +02:00
41a62dd221 feat: hald clut image 2020-04-22 15:13:15 +02:00
69020e40f7 Revert "feat: set_image_gray"
This reverts commit 517fd5ef5f.
2020-04-22 08:42:10 +02:00
fefc89387d Merge pull request #61 from Storykit/feature/levels
feat: level image binding
2020-04-21 06:49:41 -07:00
f6d0f27aaf Merge pull request #60 from Storykit/feature/fx
feat: MagickFxImage bindning
2020-04-21 06:49:28 -07:00
fa563b8fb6 docs: describe the quantomrange use in level_image 2020-04-21 09:09:59 +02:00
36c145d4c4 fix: black and white point should be set relative to quantum range 2020-04-21 08:34:13 +02:00
5c5015a10e Bindings for MagickLevelImage 2020-04-21 08:34:13 +02:00
a277b7cfe7 feat: MagickFxImage bindning
New macro to create a new wand from another wand.
2020-04-21 08:32:18 +02:00
517fd5ef5f feat: set_image_gray 2020-04-21 08:29:34 +02:00
97d620beb8 Binding for MagickClutImage 2020-03-25 14:29:52 +01:00
7d805d9a83 Binding for MagickSetSize 2020-03-25 14:26:41 +01:00
42
fe9b6f805d Add gaussian blur function 2020-01-07 20:53:10 +02:00
f286c631b9 Format code using 'cargo fmt' 2019-08-17 21:48:01 +05:30
089e6fcb90 Binding for set_background_color 2019-05-29 15:03:17 +08:00
122f144ecb Made exception related functions public
cargo test passes
2019-04-17 20:15:48 -07:00
07c4971b66 Fix the clippy warnings
cargo test passes
2019-02-01 20:00:29 -08:00
bd34f145a2 Ran cargo fmt on the code base, looks better
cargo test passes
2018-10-06 15:38:33 -07:00
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
336606f121 Merge pull request #45 from magiclen/feature/set_sampling_factors
Binding for set_sampling_factors
2018-08-12 17:33:39 -07:00
b190cc787a Binding for set_sampling_factors 2018-08-12 23:28:32 +08:00
fd8f5e49a2 Binding for set_image_background_color 2018-08-12 23:05:45 +08:00
be0c6f5914 Binding for sharpen_image 2018-08-12 22:45:19 +08:00
a10b98a790 Binding for adaptive_resize_image 2018-05-25 19:32:45 -04:00
f694737ac5 Revert "Making self mutable"
This reverts commit 15a2fd7d1a.
2018-05-25 16:51:23 -04:00
15a2fd7d1a Making self mutable 2018-05-25 16:49:38 -04:00
3daa8e77e8 adding docs & rotate_image 2018-05-25 16:39:59 -04:00
ccda94221f Adding binding for MagickAddImage 2018-05-25 16:00:40 -04:00
88ceb3a4af Add set_image_alpha_channel function 2018-05-18 13:51:50 +00:00