Skip to content

Releases: nlfiedler/magick-rust

1.0.0

25 May 22:34
Compare
Choose a tag to compare

Added

  • An example! After 9 years, finally an example.

Changed

  • BREAKING CHANGES
    • 5ohue: Refactored the current CompositeOperator and ResourceType types
      into a separate module and added many new enum wrappers around ImageMagick
      types. the caller will have less need to directly touch the bindings
      module to pass arguments to functions. For instance, the
      bindings::FilterType_GaussianFilter type is now replaced with
      FilterType::Gaussian, lending the API a more Rust-like aesthetic.
    • 5ohue: Replaced the not so helpful MagickError("failed to resize image")
      with MagickError(self.get_exception()?.0). This should provide more
      helpful error messages. In some cases there is no exception given when a
      failure occurs and the caller will only see Error: which is even less
      helpful than before. This is due to the way the MagickWand API works,
      unfortunately.
    • 5ohue: Add impl Send for wand types.
  • This crate will now adhere to the semantic versioning practice more rigidly
    than it had been while evolving in a pre-1.0 state.

0.21.0

18 Apr 01:19
Compare
Choose a tag to compare

Added

  • yoghurt-x86: added MagickNormalizeImage() and MagickOrderedDitherImage()

0.20.0

26 Feb 04:51
Compare
Choose a tag to compare

Changed

  • BREAKING CHANGES
    • 5ohue: added CompositeOperator in place of bindings::CompositeOperator. Instead of using bindings::CompositeOperator_LightenIntensityCompositeOp one must now use CompositeOperator::LightenIntensity.

Added

  • 5ohue: added sigmoidal_contrast_image() function to the wand API.

0.19.1

23 Sep 23:08
Compare
Choose a tag to compare

Changed

  • Feature disable-hdri is now enabled by default to work around an apparent
    bug with rust-bindgen that cannot discover the QuantumRange constant which
    is conditionally computed during compile-time in the MagickCore library.

0.19.0

23 Sep 23:07
Compare
Choose a tag to compare

Added

  • walterbm: Add coalesce() for image coalesce.
  • FaithBeam: Add compose_images_gravity() for image composition.
  • Upgrade dependency bindgen to 0.66.1

0.18.0

15 Apr 22:01
Compare
Choose a tag to compare

Changed

  • Breaking: jshrake: Add map argument to import_image_pixels() and
    change pixels argument to a byte slice rather than a vector reference.

Added

  • jshrake: Add MagickAutoGammaImage and MagickAutoLevelImage
  • 2e0by0: add API documentation and setup automated build of docs.

Fixed

  • BeatButton: prevent segfault if MagickGetImageBlob returns null

0.17.0

10 Dec 19:40
Compare
Choose a tag to compare

Added

  • walterbm: Add support for image deskew.
  • Upgrade dependency bindgen to 0.63
  • DCjanus: Upgrade dependency bindgen (0.59 -> 0.60)
  • MaksRawski: add DrawRectangle and MagickBrightnessContrastImage bindings

0.16.0

27 May 13:31
Compare
Choose a tag to compare

Added

  • walterbm: Add support for thumbnail image resizing.
  • DCjanus: add methods get_image_alpha_channel, draw_image, set_image_channel_mask,
    evaluate_image, border_image, shadow_image, import_image_pixels, set_first_iterator,
    next_image
  • DCjanus: feat: std error compatible error
  • davidwilemski: add binding for MagickStripImage()

0.15.0

29 Aug 13:59
Compare
Choose a tag to compare

Added

  • glebpom: Support resource limits
  • lerouxrgd: Add kmeans
  • danielronnkvist: modulate image
  • asonix: Add quantum depth and sample method
  • Drevoed: Add MagickLiquidRescaleImage and MagickImplodeImage

Changed

  • brownjohnf: Update imagemmagick checks to support 7.1
  • liyunde: Fix path_separator on windows can not build
  • kz6wk9: Required version bump on bindgen.
  • asonix: Set environment variable with magickcore config flags
  • captainbland: Add workaround for QuantumRange not defined error when hdri is disabled

0.14.0

22 May 02:28
Compare
Choose a tag to compare

Added

  • npajkovsky: add negate_image() operation
  • danielronnkvist: add MagickFxImage binding
  • danielronnkvist: add MagickLevelImage binding
  • danielronnkvist: add MagickSetImageAlpha binding
  • danielronnkvist: add MagickBlurImage binding
  • danielronnkvist: add MagickHaldClutImage binding

Changed

  • npajkovsky: remove use of deprecated item try!, use ? instead
  • npajkovsky: fix multiple redefined values on linux build
  • Updated bindgen to 0.53.2 release, added "size_t is usize" flag.