Releases: nlfiedler/magick-rust
Releases · nlfiedler/magick-rust
1.0.0
Added
- An example! After 9 years, finally an example.
Changed
- BREAKING CHANGES
- 5ohue: Refactored the current
CompositeOperator
andResourceType
types
into a separate module and added many new enum wrappers around ImageMagick
types. the caller will have less need to directly touch thebindings
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")
withMagickError(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 seeError:
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.
- 5ohue: Refactored the current
- 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
0.20.0
Changed
- BREAKING CHANGES
- 5ohue: added
CompositeOperator
in place ofbindings::CompositeOperator
. Instead of usingbindings::CompositeOperator_LightenIntensityCompositeOp
one must now useCompositeOperator::LightenIntensity
.
- 5ohue: added
Added
- 5ohue: added
sigmoidal_contrast_image()
function to the wand API.
0.19.1
0.19.0
0.18.0
Changed
- Breaking: jshrake: Add
map
argument toimport_image_pixels()
and
changepixels
argument to a byte slice rather than a vector reference.
Added
- jshrake: Add
MagickAutoGammaImage
andMagickAutoLevelImage
- 2e0by0: add API documentation and setup automated build of docs.
Fixed
- BeatButton: prevent segfault if
MagickGetImageBlob
returnsnull
0.17.0
0.16.0
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
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
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
to0.53.2
release, added "size_t is usize" flag.