Commit Graph
100 Commits
Author SHA1 Message Date
Nathan Fiedler dfd8df0dd1 Merge pull request #138 from gyk/fix/msys2
Remove Windows-specific invocation of MagickCore-config
2024-09-18 21:17:50 -07:00
Nathan Fiedler 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
Nathan Fiedler 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
Nathan Fiedler 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
Nathan Fiedler 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
Nathan Fiedler 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
Nathan Fiedler 459e392068 doc: update notes on building in Windows 2024-06-13 21:36:12 -07:00
Nathan Fiedler a133fe4a21 doc: attempt at instructions for Windows 2024-06-01 11:34:11 -07:00
Nathan Fiedler 77211e9568 chore: fix the Cargo package exclusions 2024-05-25 15:24:09 -07:00
Nathan Fiedler 9570989a04 doc: add a sentence about dependencies 2024-05-25 15:15:54 -07:00
Nathan Fiedler dd69c64e43 chore: rename tests/data as tests/fixtures 2024-05-25 15:13:05 -07:00
Nathan Fiedler a824ea19ac doc: add install guide and an example 2024-05-25 15:12:06 -07:00
Nathan Fiedler 9262b51d62 chore: add copyright headers everywhere 2024-05-25 11:20:27 -07:00
Nathan Fiedler aedcfcd8f7 chore: run cargo fmt on everything 2024-05-25 10:50:27 -07:00
Nathan Fiedler 320cfb6e62 chore: fix apparent merge conflict 2024-05-25 10:48:13 -07:00
Nathan Fiedler 660c77b8d7 Merge pull request #123 from 5ohue/master
Add `impl Send` for wand types
2024-05-25 10:44:46 -07:00
Nathan Fiedler 7fcf43e847 Merge pull request #121 from 5ohue/exceptions
Add exceptions
2024-05-17 06:44:31 -07:00
Nathan Fiedler d97f4fc00e Merge pull request #120 from 5ohue/master
Add more types and functions
2024-05-17 06:44:05 -07:00
Nathan Fiedler 3cfdd76c9d Merge pull request #119 from 5ohue/master
Create "types" module
2024-05-10 15:12:26 -07:00
Nathan Fiedler b359d72087 chore: prepare for 0.21.0 release 2024-04-17 18:17:14 -07:00
Nathan Fiedler 7571baa0b9 Merge pull request #117 from yoghurt-x86/master
Added MagickNormalizeImage and MagickOrderedDitherImage
2024-04-17 17:59:50 -07:00
Nathan Fiedler a2d2a5fbc8 chore: prepare for 0.20.0 release 2024-02-25 20:45:31 -08:00
Nathan Fiedler bbe1aae608 Merge pull request #114 from gyk/fix/msys2
Support building with ImageMagick from MSYS2
2023-11-30 16:26:42 -08:00
Nathan Fiedler c9d8488033 chore: update CHANGELOG with recent changes 2023-11-18 08:11:36 -08:00
Nathan Fiedler e960a26bfb Merge pull request #113 from 5ohue/composite
CompositeOperator type
2023-11-18 07:52:07 -08:00
Nathan Fiedler a7c71e6b00 Merge pull request #112 from 5ohue/master
Add sigmoidal_contrast_image
2023-11-18 07:51:05 -08:00
Nathan Fiedler 857085a1a3 Merge pull request #111 from gyk/fix/windows-cpp
Use C++ compiler on Windows if needed
2023-11-09 06:50:08 -08:00
Nathan Fiedler f020fd25f7 Merge pull request #109 from protochron/add_autothreshold
Add auto_threshold
2023-10-23 09:18:28 -07:00
Nathan Fiedler b676db0661 doc: add details for Windows build setup 2023-09-24 10:46:51 -07:00
Nathan Fiedler 612c13166d chore: prepare for 0.19.1 release 2023-09-23 16:04:40 -07: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
Nathan Fiedler ce0792f27b chore: prepare for 0.19 release 2023-06-19 10:23:17 -07:00
Nathan Fiedler dc34cecc68 Merge pull request #105 from FaithBeam/master
Add compose_images_gravity
2023-06-09 19:03:24 -07:00
Nathan Fiedler c82503d134 Merge pull request #104 from walterbm/add-support-for-coalesce
Add support for image coalesce
2023-05-16 09:34:10 -07:00
Nathan Fiedler f1cbfa8304 Prepare for 0.18 release 2023-04-15 10:37:25 -07:00
Nathan Fiedler 257243c96c Merge pull request #102 from BeatButton/write-image-blob-null
don't segfault if MagickGetImageBlob returns null
2023-04-07 11:31:08 -07:00
Nathan Fiedler 1cfbc83471 Merge pull request #101 from 2e0byo/master
Deploy docs to github pages (without storing in repository).
2023-03-08 10:32:59 -08:00
Nathan Fiedler e44ec078a2 chore: update change log 2023-02-06 21:18:22 -08:00
Nathan Fiedler afef3a3baf test: fix broken merge 2023-02-06 21:17:15 -08:00
Nathan Fiedler 3c17e8cff2 Merge pull request #100 from jshrake/add-auto-gamma-auto-level
Add MagickAutoGammaImage and MagickAutoLevelImage
2023-02-06 08:49:41 -08:00
Nathan Fiedler 6595344bf9 Merge branch 'master' into add-auto-gamma-auto-level 2023-02-06 08:49:31 -08:00
Nathan Fiedler c239c5af22 Merge pull request #99 from jshrake/import-image-pixels-add-map-argument
Add map argument to MagickWand::import_image_pixels
2023-02-06 08:47:10 -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
Nathan Fiedler 9aaf0244d1 doc: clarify building instructions for Windows
Note that invoking `cargo test --libs` only avoids failures by not running
the tests for the library itself. This is useless and only hides the real
issue.

cargo test passes
2023-01-28 15:48:02 -08:00
Nathan Fiedler e52fb7bf90 fix: cfg the non-windows test away 2023-01-28 15:40:20 -08:00
Nathan Fiedler cd4f282ce1 Merge pull request #98 from Matthew6186/fix_readme
add optional argment to cargo test
2023-01-28 15:27:17 -08:00
Nathan Fiedler c4ec37d1cc chore: update bindgen and prepare for release 2022-12-10 11:39:01 -08:00
Nathan Fiedler bc0b4960c6 test: fix docker build with updated ImageMagick URL 2022-12-10 11:38:44 -08:00
Nathan Fiedler aeee42de19 Merge pull request #97 from MaksRawski/my-changes
Add bindings for `DrawRectangle` and `MagickBrightnessContrastImage` methods
2022-12-10 10:44:25 -08:00
Nathan Fiedler 743f823032 Merge pull request #96 from DCjanus/master
Upgrade dependency `bindgen` (0.59 -> 0.60)
2022-08-26 12:46:39 -07:00
Nathan Fiedler d8802a0f58 chore: update changelog with latest changes 2022-05-30 15:22:42 -07:00
Nathan Fiedler 95fa3d2316 Merge pull request #94 from walterbm/add-bindings-for-image-deskew
Add bindings for MagickDeskewImage
2022-05-30 15:19:22 -07:00
Nathan Fiedler 54a35a2dab Merge pull request #92 from liyunde/master
FIX:error LNK2019: unresolved external symbol SetMagickResourceLimit …
2022-05-20 09:12:44 -07:00
Nathan Fiedler faaf9acdbf Prepare for the 0.16.0 release
cargo test passes
2022-04-09 09:47:31 -07:00
Nathan Fiedler b19f1498ce Merge pull request #88 from davidwilemski/imagemagick-version
Update ImageMagick version compatibility in README
2022-01-18 06:32:01 -08:00
Nathan Fiedler a035544a96 Merge pull request #89 from davidwilemski/strip
Add binding for MagickStripImage
2022-01-18 06:29:20 -08:00
Nathan Fiedler 63dc05aece Merge pull request #87 from DCjanus/master
feat: std error compatible error
2021-12-24 11:53:52 -08:00
Nathan Fiedler 679ccc43fa Merge pull request #85 from DCjanus/master
Add some methods
2021-12-24 09:32:09 -08:00
Nathan Fiedler 2e843d7336 test: fix compiler warning about dyn Error 2021-10-09 06:53:57 -07:00
Nathan Fiedler fd004cc15e chore: update CHANGELOG 2021-10-09 06:53:44 -07:00
Nathan Fiedler 5a7a2a5dce Merge pull request #84 from walterbm/thumbnail-resize
Add support for "thumbnail" image resizing
2021-10-09 06:44:51 -07:00
Nathan Fiedler cd50e1c578 doc: add help and work-around for HDRI issue 2021-09-29 09:00:18 -07:00
Nathan Fiedler 32f854cd6f Prepare for the 0.15.0 release 2021-08-10 06:35:56 -07:00
Nathan Fiedler cfd9849604 docker: copy to avoid local host dependency 2021-08-03 19:00:19 -07:00
Nathan Fiedler aae7b562ef chore: update bindgen dependency to latest 2021-08-03 18:59:55 -07:00
Nathan Fiedler 8f9526e5ae chore: update dependencies and bindgen usage
cargo test passes
2021-06-28 18:27:27 -07:00
Nathan Fiedler fe415039b1 Merge pull request #82 from brownjohnf/allow-imagemagick-7-1
Update imagemmagick checks to support 7.1
2021-06-28 18:26:12 -07:00
Nathan Fiedler 40f8c58b5b Merge pull request #80 from glebpom/resource-limits
Support setting resource limits
2021-04-11 06:53:44 -07:00
Nathan Fiedler 9422825322 fix: in Rust 1.51 panic! takes only string literals
Seems that Rust 2021 will require that panic! macro takes only a string
literal, so format! and variables are out.

cargo test passes
2021-03-27 11:22:50 -07:00
Nathan Fiedler 348dd1fd21 Merge pull request #78 from liyunde/master
fix path_separator on windows can not build
2021-03-11 13:48:03 -08:00
Nathan Fiedler 82778e69f5 chore: fix the ImageMagick URL for docker container build 2021-01-23 09:38:46 -08:00
Nathan Fiedler aba1a324f4 Merge pull request #76 from kz6wk9/master
Required version bump on bindgen.
2021-01-23 09:36:46 -08:00
Nathan Fiedler 7d233633a9 Merge pull request #75 from lerouxrgd/feature/kmeans
Add kmeans
2020-12-20 18:06:32 -08:00
Nathan Fiedler 48d57f94a0 Merge pull request #73 from Storykit/feat/modulate-image
feat: modulate image
2020-10-19 08:41:21 -07:00
Nathan Fiedler 4aae82022e Merge pull request #71 from asonix/asonix/fix-build
Add quantum depth, fixes #70
2020-10-11 16:26:22 -07:00
Nathan Fiedler 5da72fb895 Merge pull request #72 from asonix/asonix/sample-image
Add sample method
2020-10-11 07:36:12 -07:00
Nathan Fiedler ce36ba8cff Merge pull request #68 from captainbland/master
Add workaround for QuantumRange not defined error when hdri is disabled
2020-06-10 19:09:07 -07:00
Nathan Fiedler e360172bfa Merge pull request #67 from Drevoed/feature/MagickLiquidRescaleImage-MagickImplodeImage
feat: MagickLiquidRescaleImage | MagickImplodeImage
2020-05-28 14:48:22 -07:00
Nathan Fiedler 512a974ca5 Prepare for the 0.14.0 release 2020-05-21 19:20:50 -07:00
Nathan Fiedler 63f2bf6a12 Fix compiler warnings
cargo test passes
2020-05-21 08:40:16 -07:00
Nathan Fiedler 78e61525d6 chore: update change log 2020-05-21 08:21:15 -07:00
Nathan Fiedler 43edd76429 Update to latest bindgen release
The behavior around size_t changed so added a flag to temporarily avoid the
issue until it becomes a real problem later on.

cargo test passes
2020-05-21 08:17:08 -07:00
Nathan Fiedler a2ae59aa43 chore: update changelog 2020-05-21 06:43:24 -07:00
Nathan Fiedler 23c20a9425 doc: add pull option to docker-compose build 2020-05-21 06:37:26 -07:00
Nathan Fiedler dc826d5505 Merge pull request #66 from npajkovsky/master
fix build issues and try! warnings
2020-05-21 06:35:55 -07:00
Nathan Fiedler 5abfac5cc3 Merge pull request #65 from Storykit/feature/set-image-alpha
feat: MagickSetImageAlpha
2020-04-24 12:58:39 -07: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
Nathan Fiedler 9361e3f5f4 Merge pull request #62 from Storykit/revert-set-image-gray
Revert "feat: set_image_gray"
2020-04-22 07:54:51 -07: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
Nathan Fiedler 5b6b9437de Merge pull request #59 from Storykit/feature/set-image-gray
feat: set_image_gray
2020-04-21 06:49:13 -07:00
Nathan Fiedler 2c95cd7173 Prepare for 0.13 release 2020-03-25 08:13:59 -07:00
Nathan Fiedler e4c2150a9f Merge pull request #56 from Storykit/feature/clut_image
Binding for MagickClutImage
2020-03-25 08:07:59 -07:00
Nathan Fiedler 6efd70c41a Merge pull request #55 from max-frai/master
Add gaussian blur function
2020-01-09 09:15:13 -08:00
Nathan Fiedler 66397e6abc Fix deprecated usage of ONCE_INIT
Once::new() was added in Rust 1.2.0 and ONCE_INIT has been deprecated as of
Rust 1.38. Also updated the README example.

cargo test passes
2019-10-31 08:45:46 -07:00
Nathan Fiedler 8e531f5611 Add docker ignore file to speed up operations 2019-09-27 19:52:20 -07:00
Nathan Fiedler 8efc69f5dc Prepare for the 0.12.0 release 2019-09-09 20:23:49 -07:00
Nathan Fiedler 9772e33a9e Update CHANGELOG 2019-08-17 11:43:15 -07:00