e399e0de40
Windows installation documentation
2024-07-24 23:40:06 +08:00
2377d7b872
Prevent using the bash command when using MSVC
...
This is to prevent a nasty issue where on fresh installations of Windows, the `bash` command returns with success and prints a prompt to install WSL, which gets mistaken for MagickCore-config output.
2024-07-24 22:34:38 +08:00
6a84932ffe
Rewrite of bindgen ParseCallbacks
2024-07-24 21:46:17 +08:00
3b1b7a502e
Added Eq to enums
2024-07-24 21:45:40 +08:00
e7e7f5eb87
Fix linking errors by including MagickCore as well
2024-07-24 21:20:55 +08:00
7494c1d174
Redesign types module
...
Now we are using more functionality given to us by rust-bindgen instead of maintaining enum mappings ourselves:
* Rustified enums can be generated automatically by using the EnumVariation::Rust style in rust-bindgen
* Redundant suffixes can be removed through implementing ParseCallbacks::enum_variant_name
* The redundant FromRust trait was removed and replaced with the standard From and Into traits
2024-07-24 19:32:32 +08:00
d50f01b49f
build: requires ImageMagick 7.1.1-26
...
With the addition of the OffIfOpaque alpha channel option, this crate now
requires ImageMagick 7.1.1-26 or later. However, the build.rs cannot specify
the -26 so 7.1.1 is as specific as it gets for now.
cargo test passes
2024-07-04 10:03:20 -07:00
459e392068
doc: update notes on building in Windows
2024-06-13 21:36:12 -07:00
a133fe4a21
doc: attempt at instructions for Windows
2024-06-01 11:34:11 -07:00
77211e9568
chore: fix the Cargo package exclusions
2024-05-25 15:24:09 -07:00
9570989a04
doc: add a sentence about dependencies
2024-05-25 15:15:54 -07:00
dd69c64e43
chore: rename tests/data as tests/fixtures
2024-05-25 15:13:05 -07:00
a824ea19ac
doc: add install guide and an example
2024-05-25 15:12:06 -07:00
9262b51d62
chore: add copyright headers everywhere
2024-05-25 11:20:27 -07:00
aedcfcd8f7
chore: run cargo fmt on everything
2024-05-25 10:50:27 -07:00
320cfb6e62
chore: fix apparent merge conflict
2024-05-25 10:48:13 -07:00
660c77b8d7
Merge pull request #123 from 5ohue/master
...
Add `impl Send` for wand types
2024-05-25 10:44:46 -07:00
dcf95fbd75
Add impl Send for wand types
2024-05-24 22:03:58 +03:00
7fcf43e847
Merge pull request #121 from 5ohue/exceptions
...
Add exceptions
2024-05-17 06:44:31 -07:00
d97f4fc00e
Merge pull request #120 from 5ohue/master
...
Add more types and functions
2024-05-17 06:44:05 -07:00
b35f21cd89
Add methods to import and export pixels as f64
2024-05-16 18:38:04 +03:00
3d4782390d
Move to exception
2024-05-14 13:52:29 +03:00
e870041015
Fix warnings in tests
2024-05-14 12:22:52 +03:00
8c154511b1
Add a few more functions and typed
...
Adds `Image` type and a few image related functions.
2024-05-14 12:18:24 +03:00
1752b0073c
Add set_image_mask function
2024-05-12 22:06:10 +03:00
e31675e477
Add levelize_image function
2024-05-12 20:32:05 +03:00
af4de40ddb
Add scale_image function
2024-05-12 20:14:54 +03:00
e5f0878f9a
Add error handling to some functions
2024-05-12 19:13:06 +03:00
5c38d955eb
Add builtin kernels
2024-05-12 18:31:21 +03:00
e3edb225ec
Add kernel and convolve functions
2024-05-12 17:43:19 +03:00
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
24c2a3d2de
Add DirectionType type
2024-05-11 22:07:01 +03:00
d8d6a12d02
Add DecorationType type
2024-05-11 22:04:49 +03:00
dc80d78ce2
Add AlignType type
2024-05-11 22:01:46 +03:00
0156379d8a
Add LineCap type
2024-05-11 21:59:54 +03:00
d176efe402
Add LineJoin type
2024-05-11 21:57:22 +03:00
79e2056386
Add StretchType type
2024-05-11 21:54:33 +03:00
81d6077928
Add ClipPathUnits and StyleType types
2024-05-11 21:52:00 +03:00
f83daebe16
Fix documentation test
2024-05-11 21:43:37 +03:00
1f865a1c43
Add FillRule type
2024-05-11 21:43:19 +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