Expand description
“Safe” wrapper around the low-level bindings to ImageMagick.
Prior to using the ImageMagick system, the application should invoke
magick_wand_genesis(), which maps directly to MagickWandGenesis.
Likewise, when an application is done using ImageMagick, invoke the
magick_wand_terminus() function, which maps to MagickWandTerminus.
Re-exports§
pub use crate::bindings::AlignType;pub use crate::bindings::AlphaChannelOption;pub use crate::bindings::AutoThresholdMethod;pub use crate::bindings::ChannelType;pub use crate::bindings::ClipPathUnits;pub use crate::bindings::ColorspaceType;pub use crate::bindings::CompositeOperator;pub use crate::bindings::CompressionType;pub use crate::bindings::DecorationType;pub use crate::bindings::DirectionType;pub use crate::bindings::DisposeType;pub use crate::bindings::DitherMethod;pub use crate::bindings::EndianType;pub use crate::bindings::FillRule;pub use crate::bindings::FilterType;pub use crate::bindings::GravityType;pub use crate::bindings::ImageType;pub use crate::bindings::InterlaceType;pub use crate::bindings::KernelInfoType;pub use crate::bindings::LayerMethod;pub use crate::bindings::LineCap;pub use crate::bindings::LineJoin;pub use crate::bindings::MagickEvaluateOperator;pub use crate::bindings::MagickFunction;pub use crate::bindings::MetricType;pub use crate::bindings::MorphologyMethod;pub use crate::bindings::OrientationType;pub use crate::bindings::PaintMethod;pub use crate::bindings::PixelInterpolateMethod;pub use crate::bindings::PixelMask;pub use crate::bindings::RenderingIntent;pub use crate::bindings::ResolutionType;pub use crate::bindings::ResourceType;pub use crate::bindings::StatisticType;pub use crate::bindings::StretchType;pub use crate::bindings::StyleType;pub use crate::bindings::VirtualPixelMethod;
Modules§
Structs§
- Drawing
Wand - A safe wrapper around an ImageMagick
DrawingWand. - Geometry
Info - A set of up to five numeric parameters (rho, sigma, xi, psi, chi) used by ImageMagick geometry and kernel operations.
- HSL
- A color expressed in the hue, saturation, and lightness color space.
- Image
- A borrowed handle to a single image owned by a
MagickWand. - Image
Mut - A handle to a single frame for mutable access.
- Image
Ref - A handle to a single frame for read-only access.
- Images
- A read-only view over the images (frames) held by a
MagickWand. - Images
Mut - A mutable view over the images (frames) held by a
MagickWand. - Kernel
Builder - Builder, that creates instances of KernelInfo
- Kernel
Info - A convolution or morphology kernel, wrapping ImageMagick’s
KernelInfo. - Magick
Error - The crate’s error type, wrapping an error message string.
- Magick
Wand - A safe wrapper around an ImageMagick
MagickWand. - Pixel
Wand - A safe wrapper around an ImageMagick
PixelWand.
Functions§
- magick_
query_ fonts - Return the list of font names matching the given pattern.
- magick_
wand_ genesis - This function must be called before any other ImageMagick operations are attempted. This function is safe to be called repeatedly.
- magick_
wand_ terminus - This function should be called when ImageMagick is no longer needed. This function is safe to be called repeatedly.