Commit Graph

109 Commits

Author SHA1 Message Date
26a8dd3df7 Add MagickEvaluateOperator type 2024-05-11 23:59:16 +03:00
7c43f8018e Add ChannelType type 2024-05-11 23:54:34 +03:00
043616a87a Add AutoThresholdMethod type 2024-05-11 23:33:57 +03:00
5eb991ba69 Add function_image, polynomial_image functions 2024-05-11 23:30:41 +03:00
f83daebe16 Fix documentation test 2024-05-11 21:43:37 +03:00
b8147a2b06 Add artifact related functions
This makes it possible to blend images with user configurable percent
(see `set_image_artifact` documentation)
2024-05-11 21:29:36 +03:00
1a66649c47 Add ImageType type 2024-05-11 14:35:10 +03:00
baac3cbf59 Add ResolutionType type 2024-05-11 14:31:53 +03:00
7db8314e5a Add RenderingIntent type 2024-05-11 14:27:45 +03:00
db0044fa07 Add OrientationType type 2024-05-11 14:22:49 +03:00
0c987e7860 Add EndianType type 2024-05-11 14:16:05 +03:00
5a3cb8a04d Add InterlaceType type 2024-05-11 14:12:31 +03:00
8870068f27 Add DisposeType type 2024-05-11 14:08:59 +03:00
254ea6c771 Add CompressionType type 2024-05-11 14:04:11 +03:00
eb982bbf1d Add alias to bindings::MagickBoolean_*
Reduces the amount of repetitive `bindingc::MagickBoolean_*` in wrapper
code
2024-05-11 13:57:29 +03:00
cac32a9760 Add more PixelInterpolateMethod in API 2024-05-11 13:41:09 +03:00
092acaa5d0 Add AlphaChannelOption type 2024-05-11 13:37:55 +03:00
02ae78eba8 Replace size_t with usize in the API 2024-05-11 13:18:47 +03:00
1914b95f7b Add PixelInterpolateMethod type 2024-05-11 13:06:52 +03:00
48e0452e74 Make set_get! macro usable with types module 2024-05-11 12:59:39 +03:00
8c9899a4e0 Add GravityType type 2024-05-09 21:58:30 +03:00
4b32edb17e Add FilterType type 2024-05-09 21:48:39 +03:00
cfbdbd4c0e Add DitherMethod type 2024-05-09 21:42:51 +03:00
e419039647 Add ColorspaceType type 2024-05-09 21:36:09 +03:00
d6c617ebce Add MetricType type 2024-05-09 21:04:39 +03:00
53fb3069ed Add types module
Move `CompositeOperator` and `ResourceType` to the `types` module
2024-05-09 21:00:07 +03:00
7adf1981f4 Added MagickNormalizeImage and MagickOrderedDitherImage 2024-04-17 23:34:10 +02:00
e960a26bfb Merge pull request #113 from 5ohue/composite
CompositeOperator type
2023-11-18 07:52:07 -08:00
e1cefcdbe6 fixed set/get for new CompositeOperator type 2023-11-16 22:16:33 +03:00
3b0377d94a Add compositeOperator type 2023-11-16 21:43:26 +03:00
79f511d993 Fixed level_image error message 2023-11-16 20:41:59 +03:00
c97b92e7ff Added sigmoidal contrast function 2023-11-16 20:41:19 +03:00
1ddf6cf4b9 Add auto_threshold 2023-10-22 22:44:29 -04:00
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
ef1867e9f9 chore: fix some clippy warnings 2023-09-17 14:45:35 -07:00
76f90b98a5 Add compose_images_gravity 2023-06-09 17:41:36 -04:00
834d30041e add support for image coalesce 2023-05-16 00:36:45 -04:00
c8fdace590 don't segfault if MagickGetImageBlob returns null 2023-04-07 10:17:57 -06:00
6595344bf9 Merge branch 'master' into add-auto-gamma-auto-level 2023-02-06 08:49:31 -08:00
ce5dc1d4f9 Add MagickAutoGammaImage and MagickAutoLevelImage 2023-02-05 20:33:38 -08:00
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
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
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
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