Crate magick_rust

Source
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::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;

Modules§

bindings

Structs§

DrawingWand
GeometryInfo
HSL
Image
KernelBuilder
Builder, that creates instances of KernelInfo
KernelInfo
MagickError
MagickWand
PixelWand

Functions§

magick_query_fonts
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.