Commit Graph

375 Commits

Author SHA1 Message Date
dfd8df0dd1 Merge pull request #138 from gyk/fix/msys2
Remove Windows-specific invocation of MagickCore-config
2024-09-18 21:17:50 -07:00
eaf8c333e0 Switch from mingw64 to ucrt64 2024-09-18 15:35:49 +08:00
0b174a7e8a Remove Windows-specific invocation of MagickCore-config 2024-09-18 11:16:29 +08:00
f796041b2f Merge pull request #132 from Des-Nerger/master
Add pkg-config as fallback for MagickCore-config
2024-08-26 21:44:35 -07:00
b92bed025f Add pkg-config as fallback for MagickCore-config
Fixes nlfiedler/magick-rust#131
2024-08-26 12:59:06 +10:00
b0f5154384 Merge pull request #130 from amanao/amanao/update-install-md
Update directory name in Windows installation instructions
2024-08-17 15:00:52 -07:00
b62c9f4e17 Update directory name in Windows installation instructions 2024-08-15 12:02:26 +09:00
a741f853c2 Merge pull request #127 from timotk/add-border-example
Add an example to add a border
2024-08-07 20:16:19 -07:00
7029d040b2 Fix path 2024-08-07 16:03:40 +02:00
b4442b61fe Add an example to add a border 2024-08-07 16:00:39 +02:00
958e3f6bde Merge pull request #126 from bell345/bell345/fix-windows
Enum and link fixes to enable building on Windows using MSVC
2024-07-26 19:17:21 -07:00
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