Main | TclMagick | TkMagick |
TclMagick is a Tcl wrapper for ImageMagick's high-level Wand interface. It lets you convert and manipulate a large variety of image formats, and importantly, does not require the Tk toolkit or an active windowing system!
There is also a TkMagick module, which exists to bridge TclMagick and Tk. It lets you use make Tk images from data loaded with TclMagick, and vice versa.
http://www.imagemagick.org
http://www.graphicsmagick.org
TclMagick doesn't add any intelligence to ImageMagick, except some Tclification with optional command arguments. The wrapping of ImageMagick's Wand-API should be mostly obvious, so there is no need for extensive, separate TclMagick documentation. For a more detailed description of methods refer to the Wand-API documentation.
There are three different ImageMagick object types: MagickWand,
DrawingWand and PixelWand. In TclMagick these objects are
called wand, drawing and pixel. They are
created and deleted with the magick command similar to
Tcl's imagecommand. Wand-API methods are then called as
subcommands of the created TclMagick object.
If an ImageMagick-API allows a NULL object argument, it can be
specified as an empty string {} or "".
There is one main command: magick - Create/delete Magick "wand", "drawing", and "pixel" objects
Creating a Magick object creates a command of the same name:
magickName subcmd ?args?
Deleting the Magick object also deletes the associated command.
magick subcmd ?args? |
|
---|---|
magick create type ?name? |
# Create a TclMagick object of type |
|
|
magick delete name ?name? ... |
# Delete TclMagick objects |
magick names ?type? | # Return all TclMagick objects (of type) |
magick type name | # Return the type of the object |
magick types | # Return valid type names |
magick resourcelimit resource ?limit? | MagickGet/SetResourceLimits |
|
|
magick fonts ?pattern? |
MagickQueryFonts |
|
|
magick formats ?pattern? |
MagickQueryFormats |
|
|
magick library magick library -copyright magick library -date magick library -maxrgb magick library -name magick library -quantumdepth magick library -url magick library -version magick library -versionstr |
# Returns all options MagickGetCopyright MagickGetReleaseDate MagickGetQuantumDepth MagickGetPackageName MagickGetQuantumDepth MagickGetHomeURL MagickGetVersion MagickGetVersion |
|
|
magick version | # Return TclMagick version |
|
wandName subcmd ?args?
|
ImageMagick API |
---|---|
wandName adaptivethreshold ?width? ?height? ?ofs? wandName AdaptiveThresholdImage ?width? ?height? ?ofs? |
MagickAdaptiveThresholdImage MagickAdaptiveThresholdImage |
|
|
wandName add wandName wandName AddImage wandName |
MagickAddImage MagickAddImage |
|
|
wandName addnoise ?noiseType? wandName AddNoiseImage ?noiseType? |
MagickAddNoiseImage MagickAddNoiseImage |
|
|
wandName affinetransform draw wandName AffineTransformImage draw |
MagickAffineTransformImage MagickAffineTransformImage |
|
|
wandName annotate draw ?x y? ?angle? text wandName AnnotateImage draw ?x y? ?angle? text |
MagickAnnotateImage MagickAnnotateImage |
|
|
wandName append ?stack? ?newName? wandName AppendImages ?stack? ?newName? |
MagickAppendImages MagickAppendImages |
|
|
wandName average ?newName? wandName AverageImages ?newName? |
MagickAverageImages MagickAverageImages |
|
|
wandName blackthreshold thresholdPixel wandName BlackThresholdImage thresholdPixel |
MagickBlackThresholdImage MagickBlackThresholdImage |
|
|
wandName blur ?radius? ?sigma? wandName BlurImage ?radius? ?sigma? |
MagickBlurImage MagickBlurImage |
|
|
wandName border borderPixel ?width? ?height? wandName BorderImage borderPixel ?width? ?height? |
|
|
MagickBorderImage MagickBorderImage |
wandName charcoal ?radius? ?sigma? wandName CharcoalImage ?radius? ?sigma? |
MagickCharcoalImage MagickCharcoalImage |
|
|
wandName chop width height ?x y? wandName ChopImage width height ?x y? |
MagickChopImage MagickChopImage |
|
|
wandName clip wandName ClipImage |
MagickClipImage MagickClipImage |
|
|
wandName clippath pathname ?inside? wandName ClipPathImage pathname ?inside? |
MagickClipPathImage MagickClipPathImage |
|
|
wandName clone ?newName? wandName CloneWand ?newName? |
CloneMagickWand CloneMagickWand |
|
|
wandName coalesce ?newName? wandName CoalesceImages ?newName? |
MagickCoalesceImages MagickCoalesceImages |
|
|
wandName colorfloodfill fillPix ?fuzz? ?borderPix? ?x y? wandName ColorFloodfillImage fillPix ?fuzz? ?borderPix? ?x y? |
MagickColorFloodfillImage MagickColorFloodfillImage |
|
|
wandName colorize fillPix opacityPix wandName ColorizeImage fillPix opacityPix |
MagickColorizeImage MagickColorizeImage |
|
|
wandName comment str wandName CommentImage str |
MagickCommentImage MagickCommentImage |
|
|
wandName compare refName wandName CompareImages refName metric |
MagickCompareImages MagickCompareImages |
|
|
wandName comparechannels refName chan metric wandName CompareImageChannels refName chan metric |
MagickCompareImageChannels MagickCompareImageChannels |
|
|
wandName composite compWand opType ?x y? wandName CompositeImage compWand opType ?x y? |
MagickCompositeImage MagickCompositeImage |
|
|
wandName contrast ?sharpen? wandName ContrastImage ?sharpen? |
MagickContrastImage MagickContrastImage |
|
|
wandName convolve order kernelData wandName ConvolveImage order kernelData |
MagickConvolveImage MagickConvolveImage |
|
|
wandName crop width height ?x y? wandName CropImage width height ?x y? |
MagickCropImage MagickCropImage |
|
|
wandName cyclecolormap ?displace? wandName CycleColormapImage ?displace? |
MagickCycleColormapImage MagickCycleColormapImage |
|
|
wandName deconstruct ?newName? wandName DeconstructImages ?newName? |
MagickDeconstructImages MagickDeconstructImages |
|
|
wandName describe wandName DescribeImage |
MagickDescribeImage MagickDescribeImage |
|
|
wandName despeckle wandName DespeckleImage |
MagickDespeckleImage MagickDespeckleImage |
|
|
wandName draw draw wandName DrawImage draw |
MagickDrawImage MagickDrawImage |
|
|
wandName edge ?radius? wandName EdgeImage ?radius? |
MagickEdgeImage MagickEdgeImage |
|
|
wandName emboss ?radius? ?sigma? wandName EmbossImage ?radius? ?sigma? |
MagickEmbossImage MagickEmbossImage |
|
|
wandName enhance wandName EnhanceImage |
MagickEnhanceImage MagickEnhanceImage |
|
|
wandName equalize wandName EqualizeImage |
MagickEqualizeImage MagickEqualizeImage |
|
|
wandName flatten ?newName? wandName FlattenImages ?newName? |
MagickFlattenImages MagickFlattenImages |
|
|
wandName flip wandName FlipImage |
MagickFlipImage MagickFlipImage |
|
|
wandName flop wandName FlopImage |
MagickFlopImage MagickFlopImage |
|
|
wandName frame framePix ?width? ?height? ?inner? ?outer? wandName FrameImage framePix ?width? ?height? ?inner? ?outer? |
MagickFrameImage MagickFrameImage |
|
|
wandname fx expr ?newName? wandname fxImage expr ?newName? |
MagickFxImage MagickFxImage |
|
|
wandname fxchannel channelType expr ?newName? wandname fxImageChannel channelType expr ?newName? |
MagickFxImageChannel MagickFxImageChannel |
|
|
wandName gamma level wandName GammaImage level |
MagickGammaImage MagickGammaImage |
|
|
wandName gammachannel channelType level wandName GammaImageChannel channelType level |
MagickGammaImageChannel MagickGammaImageChannel |
|
|
wandName filename ?name? wandName GetFilename wandName SetFilename name |
MagickGet/SetFilename MagickGetFilename MagickSetFilename |
|
|
wandName backgroundcolor ?pixel? wandName GetBackgroundColor ?pixel? wandName SetBackgroundColor pixel |
MagickGet/SetBackgroundColor MagickGetImageBackgroundColor MagickSetImageBackgroundColor |
|
|
wandName blueprimary ?x y? wandName GetBluePrimary wandName SetBluePrimary x y |
MagickGet/SetBluePrimary MagickGetBluePrimary MagickSetBluePrimary |
|
|
wandName bordercolor ?pixel? wandName GetBorderColor ?pixel? wandName SetBorderColor pixel |
MagickGet/SetBorderColor MagickGetImageBorderColor MagickSetImageBorderColor |
|
|
wandName channeldepth channelType depth wandName GetChannelDepth channelType wandName SetChannelDepth channelType depth |
MagickGet/SetImageChannelDepth MagickGetImageChannelDepth MagickSetImageChannelDepth |
|
|
wandName channelextrema channelType wandName GetChannelExtrema channelType |
MagickGetImageChannelExtrema MagickGetImageChannelExtrema |
|
|
wandName channelmean channelType wandName GetChannelMean channelType |
MagickGetImageChannelMean MagickGetImageChannelMean |
|
|
wandName colormapcolor index ?pixel? wandName GetColormapColor index ?pixel? wandName SetColormapColor index pixel |
MagickGet/SetColormapColor MagickGetImageColormapColor MagickSetImageColormapColor |
|
|
wandName colors wandName GetColors |
MagickGetImageColors MagickGetImageColors |
|
|
wandName colorspace ?colorspaceType? wandName GetColorspace wandName SetColorspace colorspaceType |
MagickGet/SetImageColorspace MagickGetImageColorspace MagickSetImageColorspace |
|
|
wandName compose ?opType? wandName GetCompose wandName SetCompose opType |
MagickGet/SetImageCompose MagickGetImageCompose MagickSetImageCompose |
|
|
wandName compression ?compressType? wandName GetCompression wandName SetCompression compressType |
MagickGet/SetImageCompression MagickGetImageCompression MagickSetImageCompression |
|
|
wandName delay ?delay? wandName GetDelay wandName SetDelay delay |
MagickGet/SetImageDelay MagickGetImageDelay MagickSetImageDelay |
|
|
wandName depth ?depth? wandName GetDepth wandName SetDepth depth |
MagickGet/SetImageDepth MagickGetImageDepth MagickSetImageDepth |
|
|
wandName dispose ?disposeType? wandName GetDispose wandName SetDispose disposeType |
MagickGet/SetImageDispose MagickGetImageDispose MagickSetImageDispose |
|
|
wandName extrema wandName GetExtrema |
MagickGetImageExtrema MagickGetImageExtrema |
|
|
wandName format wandName GetFormat |
MagickGetImageFormat MagickGetImageFormat |
|
|
wandName gamma ?gamma? wandName GetGamma wandName SetGamma gamma |
MagickGet/SetImageGamma MagickGetImageGamma MagickSetImageGamma |
|
|
wandName greenprimary ?x y? wandName GetGreenPrimary wandName SetGreenPrimary x y |
MagickGet/SetGreenPrimary MagickGetGreenPrimary MagickSetGreenPrimary |
|
|
wandName heigth wandName GetHeight |
MagickGetImageHeight MagickGetImageHeight |
|
|
wandName index ?index? wandName GetIndex wandName SetIndex index |
MagickGet/SetImageIndex MagickGetImageIndex MagickSetImageIndex |
|
|
wandName interlace ?interlaceType? wandName GetInterlaceScheme wandName SetInterlaceScheme interlaceType |
MagickGet/SetImageInterlaceScheme MagickGetImageInterlaceScheme MagickSetImageInterlaceScheme |
|
|
wandName iterations ?num? wandName GetIterations wandName SetIterations num |
MagickGet/SetImageIterations MagickGetImageIterations MagickSetImageIterations |
|
|
wandName mattecolor ?pixel? wandName GetMatteColor ?pixel? wandName SetMatteColor pixel |
MagickGet/SetMatteColor MagickGetImageMatteColor MagickSetImageMatteColor |
|
|
wandName getimage ?newName? |
MagickGetImage |
|
|
wandName imagefilename ?name? wandName GetImageFilename wandName SetImageFilename name |
MagickGet/SetImageFilename MagickGetImageFilename MagickSetImageFilename |
|
|
wandName pixels x0 y0 cols rows map storageType ?data? wandName GetPixels x0 .. storageType wandName SetPixels x0 .. storageType data |
MagickGet/SetImagePixels MagickGetImagePixels MagickSetImagePixels |
|
|
wandName ProfileImage name ?profile? wandName RemoveProfile name |
MagickProfileImage MagickRemoveImageProfile |
|
|
wandName profile name ?profile? wandName GetProfile name wandName SetProfile name profile |
MagickGet/SetImageProfile MagickGetImageProfile MagickSetImageProfile |
|
|
wandName redprimary ?x y? wandName GetRedPrimary wandName SetRedPrimary x y |
MagickGet/SetRedPrimary MagickGetRedPrimary MagickSetRedPrimary |
|
|
wandName rendering ?renderType? wandName GetRenderingIntent wandName SetRenderingIntent renderType |
MagickGet/SetImageRenderingIntent MagickGetImageRenderingIntent MagickSetImageRenderingIntent |
|
|
wandName resolution ?x? ?y? wandName GetResolution wandName SetResolution x ?y? |
MagickSetImageResolution MagickGetImageResolution MagickSetImageResolution |
|
|
wandName scene ?num? wandName GetScene wandName SetScene num |
MagickGet/SetImageScene MagickGetImageScene MagickSetImageScene |
|
|
wandName imagesize wandName GetImageSize |
MagickGetImageSize |
|
|
wandName signature wandName GetSignature |
MagickGetImageSignature MagickGetImageSignature |
|
|
wandName imagetype ?type? wandName GetImageType wandName SetImageType type |
MagickGet/SetImageType MagickGetImageType MagickSetImageType |
|
|
wandName imageunits ?unitType? wandName GetImageUnits wandName SetImageUnits unitType |
MagickGet/SetImageUnits MagickGetImageUnits MagickSetImageUnits |
|
|
wandName virtualpixelmethod ?methodType? wandName GetVirtualPixelMethod wandName SetVirtualPixelMethod methodType |
MagickGet/SetImageVirtualPixelMethod MagickGetImageVirtualPixelMethod MagickSetImageVirtualPixelMethod |
|
|
wandName whitepoint ?x y? wandName GetWhitePoint wandName SetWhitePoint x y |
MagickGet/SetWhitePoint MagickGetWhitePoint MagickSetWhitePoint |
|
|
wandName width wandName GetWidth |
MagickGetImageWidth MagickGetImageWidth |
|
|
wandName number wandName GetNumberImages |
MagickGetNumberImages MagickGetNumberImages |
|
|
wandName samplingfactors ?factors? wandName GetSamplingFactors wandName SetSamplingFactors factors |
MagickGet/SetSamplingFactors MagickGetSamplingFactors MagickSetSamplingFactors |
|
|
wandName size ?x y? wandName GetSize wandName SetSize x y |
MagickGet/SetSize MagickGetSize MagickSetSize |
|
|
wandName hasnext wandName HasNextImage |
MagickHasNextImage MagickHasNextImage |
|
|
wandName hasprevious wandName HasPreviousImage |
MagickHasPreviousImage MagickHasPreviousImage |
|
|
wandName implode ?amount? wandName ImplodeImage ?amount? |
MagickImplodeImage MagickImplodeImage |
|
|
wandName label str wandName LabelImage str |
MagickLabelImage MagickLabelImage |
|
|
wandName level ?black? ?gamma? ?white? wandName LevelImage ?black? ?gamma? ?white? |
MagickLevelImage MagickLevelImage |
|
|
wandName levelchannel channelType ?black? ?gamma? ?white? wandName LevelImageChannel channelType ?black? ?gamma? ?white? |
MagickLevelImageChannel MagickLevelImageChannel |
|
|
wandName magnify wandName MagnifyImage |
MagnifyImage MagnifyImage |
|
|
wandName map mapName ?dither? wandName MapImage mapName ?dither? |
MagickMapImage MagickMapImage |
|
|
wandName mattefloodfill opacity ?fuzz? ?borderPix? ?x y? wandName MatteFloodfillImage opacity ?fuzz? ?borderPix? ?x y? |
MagickMatteFloodfillImage MagickMatteFloodfillImage |
|
|
wandName medianfilter ?radius? wandName MedianFilterImage ?radius? |
MagickMedianFilterImage MagickMedianFilterImage |
|
|
wandName minify wandName MinifyImage |
MagickMinifyImage MagickMinifyImage |
|
|
wandName modulate ?brightness? ?saturation? ?hue? wandName ModulateImage ?brightness? ?saturation? ?hue? |
MagickModulateImage MagickModulateImage |
|
|
wandName montage draw tileGeom thumbGeom mode frameGeom ?newName? wandName MontageImage draw tileGeom thumbGeom mode frameGeom ?newName? |
MagickMontageImage MagickMontageImage |
|
|
wandName morph num ?newName? wandName MorphImages num ?newName? |
MagickMorphImages MagickMorphImages |
|
|
wandName mosaic ?newName? wandName MosaicImages ?newName? |
MagickMosaicImages MagickMosaicImages |
|
|
wandName motionblur ?radius? ?sigma? ?angle? wandName MotionBlurImage ?radius? ?sigma? ?angle? |
MagickMotionBlurImage MagickMotionBlurImage |
|
|
wandName negate ?gray? wandName NegateImage ?gray? |
MagickNegateImage MagickNegateImage |
|
|
wandName next ?offset? wandName NextImage ?offset? |
MagickNextImage MagickNextImage |
|
|
wandName normalize wandName NormalizeImage |
MagickNormalizeImage MagickNormalizeImage |
|
|
wandName oilpaint ?radius? wandName OilPaintImage ?radius? |
MagickOilPaintImage MagickOilPaintImage |
|
|
wandName opaque targetPix fillPix ?fuzz? wandName OpaqueImage targetPix fillPix ?fuzz? |
MagickOpaqueImage MagickOpaqueImage |
|
|
wandName ping filename wandName PingImage filename |
MagickPingImage MagickPingImage |
|
|
wandName preview previewType ?newName? wandName PreviewImages previewType ?newName? |
MagickPreviewImages MagickPreviewImages |
|
|
wandName previous ?offset? wandName PreviousImage ?offset? |
MagickPreviousImage MagickPreviousImage |
|
|
wandName quantize numColors ?colorspaceType? ?treedepth? ?dither? ?measureError?
wandName QuantizeImage numColors colorspaceType treedepth dither measureError wandName QuantizeImages numColors colorspaceType treedepth dither measureError |
MagickQuantizeImage MagickQuantizeImage MagickQuantizeImages |
|
|
wandName queryfontmetrics draw text wandName QueryFontMetrics draw text |
MagickQueryFontMetrics MagickQueryFontMetrics |
|
|
wandName raise width height ?x y? ?raise? wandName RaiseImage width height ?x y? ?raise? |
MagickRaiseImage MagickRaiseImage |
|
|
wandName read filename wandName ReadImage filename |
MagickReadImage MagickReadImage |
|
|
wandName readblob data wandName ReadImageBlob data |
MagickReadImageBlob MagickReadImageBlob |
|
|
wandName reducenoise ?radius? wandName ReduceNoiseImage ?radius? |
MagickReduceNoiseImage MagickReduceNoiseImage |
|
|
wandName remove wandName RemoveImage |
MagickRemoveImage MagickRemoveImage |
|
|
wandName resetiterator wandName ResetIterator |
MagickResetIterator MagickResetIterator |
|
|
wandName resample xRes ?yRes? ?filterType? ?blur? wandName ResampleImage xRes ?yRes? ?filterType? ?blur? |
MagickResampleImage MagickResampleImage |
|
|
wandName resize x y ?filterType? ?blur? wandName ResizeImage x y ?filterType? ?blur? |
MagickResizeImage MagickResizeImage |
|
|
wandName roll xOfs yOfs wandName RollImage xOfs yOfs |
MagickRollImage MagickRollImage |
|
|
wandName rotate background degrees wandName RotateImage background degrees |
MagickRotateImage MagickRotateImage |
|
|
wandName sample x y wandName SampleImage x y |
MagickSampleImage MagickSampleImage |
|
|
wandName separate channelType wandName SeparateImageChannel channelType |
MagickSeparateImageChannel MagickSeparateImageChannel |
|
|
wandName scale x y wandName ScaleImage x y |
MagickScaleImage MagickScaleImage |
|
|
wandName setoption format key value wandName SetOption format key value |
MagickSetImageOption MagickSetImageOption |
|
|
wandName passphrase phrase wandName SetPassphrase phrase |
MagickSetPassphrase MagickSetPassphrase |
|
|
wandName sharpen ?radius? ?sigma? wandName SharpenImage ?radius? ?sigma? |
MagickSharpenImage MagickSharpenImage |
|
|
wandName shave x y wandName ShaveImage x y |
MagickShaveImage MagickShaveImage |
|
|
wandName shear background xShear ?yShear? wandName ShearImage background xShear ?yShear? |
MagickShearImage MagickShearImage |
|
|
wandName solarize ?threshold? wandName SolarizeImage ?threshold? |
MagickSolarizeImage MagickSolarizeImage |
|
|
wandName spread ?radius? wandName SpreadImage ?radius? |
MagickSpreadImage MagickSpreadImage |
|
|
wandName stegano watermark ?offset? ?newName? wandName SteganoImage watermark ?offset? ?newName? |
MagickSteganoImage MagickSteganoImage |
|
|
wandName stereo anotherWand ?newName? wandName StereoImage anotherWand ?newName? |
MagickStereoImage MagickStereoImage |
|
|
wandName strip wandName StripImage |
MagickStripImage MagickStripImage |
|
|
wandName swirl ?degrees? wandName SwirlImage ?degrees? |
MagickSwirlImage MagickSwirlImage |
|
|
wandName texture textWand ?newName? wandName TextureImage textWand ?newName? |
MagickTextureImage MagickTextureImage |
|
|
wandName threshold threshold wandName ThresholdImage threshold |
MagickThresholdImage MagickThresholdImage |
|
|
wandName thresholdchannel channelType threshold wandName ThresholdImageChannel channelType threshold |
MagickThresholdImageChannel MagickThresholdImageChannel |
|
|
wandName tint tintPixel opacityPixel wandName TintImage tintPixel opacityPixel |
MagickTintImage MagickTintImage |
|
|
wandName transform crop geometry ?newName? wandName TransformImage crop geometry ?newName? |
MagickTransformImage MagickTransformImage |
|
|
wandName transparent targetPix ?opacity? ?fuzz? wandName TransparentImage targetPix ?opacity? ?fuzz? |
MagickTransparentImage MagickTransparentImage |
|
|
wandName trim ?fuzz? wandName TrimImage ?fuzz? |
MagickTrimImage MagickTrimImage |
|
|
wandName unsharpmask ?radius? ?sigma? ?amount? ?threshold? wandName UnsharpMaskImage ?radius? ?sigma? ?amount? ?threshold? |
MagickUnsharpMaskImage MagickUnsharpMaskImage |
|
|
wandName wave amplitude wavelength wandName WaveImage amplitude wavelength |
MagickWaveImage MagickWaveImage |
|
|
wandName whitethreshold thresholdPixel wandName WhiteThresholdImage thresholdPixel |
MagickWhiteThresholdImage MagickWhiteThresholdImage |
|
|
wandName write filename wandName WriteImage filename wandName WriteImages filename ?adjoin? |
MagickWriteImage |
|
Not implemented MagickWand API's |
Comment |
---|---|
MagickAnimateImages |
Image display, depends on X |
MagickDisplayImage |
Image display, depends on X |
MagickDisplayImages |
Image display, depends on X |
MagickGetImageHistogram |
Creates & Returns array of PixelWand objects, how to implement ??? |
MagickReadImageFile |
Could be implemented via TclChannel |
MagickWriteImageFile |
Could be implemented via TclChannel |
pixelName subcmd ?args?
|
ImageMagick API |
---|---|
pixelName set ?-quant? color val color val ... pixelName get ?-quant? color color ... |
PixelSetXXX PixelGetXXX |
|
|
pixelName color pixelName color string pixelName GetColor pixelName SetColor string pixelName GetColorAsString |
PixelGetColorAsString PixelSetColor PixelGetColorAsString PixelSetColor PixelGetColorAsString |
|
|
pixelName GetBlack pixelName GetBlackQuantum pixelName SetBlack val pixelName SetBlackQuantum val |
PixelGetBlack PixelGetBlackQuantum PixelSetBlack PixelSetBlackQuantum |
|
|
pixelName GetBlue pixelName GetBlueQuantum pixelName SetBlue val pixelName SetBlueQuantum val |
PixelGetBlue PixelGetBlueQuantum PixelSetBlue PixelSetBlueQuantum |
|
|
pixelName GetCyan pixelName GetCyanQuantum pixelName SetCyan val pixelName SetCyanQuantum val |
PixelGetCyan PixelGetCyanQuantum PixelSetCyan PixelSetCyanQuantum |
|
|
pixelName GetGreen pixelName GetGreenQuantum pixelName SetGreen val pixelName SetGreenQuantum val |
PixelGetGreen PixelGetGreenQuantum PixelSetGreen PixelSetGreenQuantum |
|
|
pixelName GetMagenta pixelName GetMagentaQuantum pixelName SetMagenta val pixelName SetMagentaQuantum val |
PixelGetMagenta PixelGetMagentaQuantum PixelSetMagenta PixelSetMagentaQuantum |
|
|
pixelName GetOpacity pixelName GetOpacityQuantum pixelName SetOpacity val pixelName SetOpacityQuantum val |
PixelGetOpacity PixelGetOpacityQuantum PixelSetOpacity PixelSetOpacityQuantum |
|
|
pixelName GetRed pixelName GetRedQuantum pixelName SetRed val pixelName SetRedQuantum val |
PixelGetRed PixelGetRedQuantum PixelSetRed PixelSetRedQuantum |
|
|
pixelName GetYellow pixelName GetYellowQuantum pixelName SetYellow val pixelName SetYellowQuantum val |
PixelGetYellow PixelGetYellowQuantum PixelSetYellow PixelSetYellowQuantum |
|
|
pixelName colorcount ?cnt? pixelName GetColorCount pixelName SetColorCount ?cnt? |
PixelGet/SetColorCount |
|
|
drawName subcmd ?args? |
ImageMagick API |
---|---|
drawName affine sx rx ry sy tx ty |
DrawAffine DrawAffine |
|
|
drawName annotation x y text |
DrawAnnotation DrawAnnotation |
|
|
drawName arc sx sy ex ey sd ed |
DrawArc DrawArc |
|
|
drawName bezier x y x y ... |
DrawBezier DrawBezier |
|
|
drawName circle ox oy px py |
DrawCircle DrawCircle |
|
|
drawName clippath ?name? |
DrawGet/SetClipPath DrawGetClipPath DrawSetClipPath |
|
|
drawName cliprule ?rule? |
DrawGet/SetClipRule DrawGetClipRule DrawSetClipRule |
|
|
drawName clipunits ?unit? |
DrawGet/SetClipUnits DrawGetClipUnits DrawSetClipUnits |
|
|
drawName color x y paintMethod |
DrawColor DrawColor |
|
|
drawName comment text |
DrawComment DrawComment |
|
|
drawName ellipse ox oy rx ry start end |
DrawEllipse DrawEllipse |
|
|
drawName fillcolor ?pixelName? |
DrawGet/SetFillColor DrawGetFillColor DrawSetFillColor |
|
|
drawName fillopacity ?value? |
DrawGet/SetFillOpacity DrawGetFillOpacity DrawSetFillOpacity |
|
|
drawName fillpatternurl url drawName SetFillPatternURL url |
DrawSetFillPatternURL DrawSetFillPatternURL |
|
|
drawName fillrule ?rule? |
DrawGet/SetFillRule DrawGetFillRule DrawSetFillRule |
|
|
drawName font ?fontname? |
DrawGet/SetFont DrawGetFont DrawSetFont |
|
|
drawName fontfamily ?name? |
DrawGet/SetFontFamily DrawGetFontFamily DrawSetFontFamily |
|
|
drawName fontsize ?value? |
DrawGet/SetFontSize DrawGetFontSize DrawSetFontSize |
|
|
drawName fontstretch ?stretchType? |
DrawGet/SetFontStretch DrawGetFontStretch DrawSetFontStretch |
|
|
drawName fontstyle ?style? |
DrawGet/SetFontStyle DrawGetFontStyle DrawSetFontStyle |
|
|
drawName fontweight ?value? |
DrawGet/SetFontWeight DrawGetFontWeight DrawSetFontWeight |
|
|
drawName gravity ?gravityType |
DrawGet/SetGravity DrawGetGravity DrawSetGravity |
|
|
drawName line sx sy ex ey |
DrawLine DrawLine |
|
|
drawName matte x y paintMethod |
DrawMatte DrawMatte |
|
|
drawName point x y |
DrawPoint DrawPoint |
|
|
drawName polygon x y x y ... |
DrawPolygon DrawPolygon |
|
|
drawName polyline x y x y ... |
DrawPolyline DrawPolyline |
|
|
drawName path opt|cmd ?args? opt|cmd ?args? ... |
DrawPathXXX |
|
|
|
DrawPathStart DrawPathFinish DrawPathClose DrawPathMoveToAbs/Rel DrawPathLineLineToAbs/Rel DrawPathLineLineToHorizontalAbs/Rel DrawPathLineLineToVerticalAbs/Rel DrawPathCurveToQuadraticBezierAbs/Rel DrawPathCurveToQuadraticBezierSmoothAbs/Rel DrawPathCurveToAbs/Rel DrawPathCurveToSmoothAbs/Rel DrawPathEllipticArcAbs/Rel |
|
|
drawName path cmdList |
|
|
|
drawName push what ?args? |
DrawPushXXX DrawPopXXX |
|
|
drawName PushClipPath id |
DrawPushClipPath DrawPopClipPath DrawPushDefs DrawPopDefs DrawPushGraphicContext DrawPopGraphicContext DrawPushPattern DrawPopPattern |
|
|
drawName rectangle x1 y1 x2 y2 |
DrawRectangle DrawRectangle |
|
|
drawName render |
DrawRender DrawRender |
|
|
drawName rotate degrees |
DrawRotate DrawRotate |
|
|
drawName round x1 y1 x2 y2 rx ry |
DrawRoundRectangle DrawRoundRectangle |
|
|
drawName scale x ?y? |
DrawScale DrawScale |
|
|
drawName skewx degrees |
DrawSkewX DrawSkewX DrawSkewY DrawSkewY |
|
|
drawName strokecolor ?pixelName? |
DrawGet/SetStrokeColor DrawGetStrokeColor DrawSetStrokeColor |
|
|
drawName strokeantialias ?flag? |
DrawGet/SetStrokeAntialias DrawGetStrokeAntialias DrawSetStrokeAntialias |
|
|
drawName strokedasharray |
DrawGetStrokeDashArray DrawSetStrokeDashArray DrawSetStrokeDashArray DrawGetStrokeDashArray DrawSetStrokeDashArray DrawSetStrokeDashArray |
|
|
drawName strokedashoffset ?val? |
DrawGet/SetStrokeDashOffset DrawGetStrokeDashOffset DrawSetStrokeDashOffset |
|
|
drawName strokelinecap ?linecapType? |
DrawGet/SetStrokeLineCap DrawGetStrokeLineCap DrawSetStrokeLineCap |
|
|
drawName strokelinejoin ?linejoinType? |
DrawGet/SetStrokeLineJoin DrawGetStrokeLineJoin DrawSetStrokeLineJoin |
|
|
drawName strokemiterlimit ?val? |
DrawGet/SetStrokeMiterLimit DrawGetStrokeMiterLimit DrawSetStrokeMiterLimit |
|
|
drawName strokeopacity ?val? |
DrawGet/SetStrokeOpacity DrawGetStrokeOpacity DrawSetStrokeOpacity |
|
|
drawName strokepatternurl url drawName SetStrokePatternURL url |
DrawSetStrokePatternURL DrawSetStrokePatternURL |
|
|
drawName strokewidth ?val? |
DrawGet/SetStrokeWidth DrawGetStrokeWidth DrawSetStrokeWidth |
|
|
drawName textantialias ?flag? |
DrawGet/SetTextAntialias DrawGetTextAntialias DrawSetTextAntialias |
|
|
drawName textdecoration ?decorationType? |
DrawGet/SetTextDecoration DrawGetTextDecoration DrawSetTextDecoration |
|
|
drawName textencoding ?string |
DrawGet/SetTextEncoding DrawGetTextEncoding DrawSetTextEncoding |
|
|
drawName textundercolor ?pixelName? |
DrawGet/SetTextUnderColor DrawGetTextUnderColor DrawSetTextUnderColor |
|
|
drawName translate x y |
DrawTranslate DrawTranslate |
|
|
drawName viewbox x1 y1 x2 y2 |
DrawSetViewbox DrawSetViewbox |
|
Not implemented MagickWand API's |
Comment |
---|---|
DrawAllocateWand |
For legacy application only, outside Wand-API |
DrawComposite |
For legacy application only, outside Wand-API |
DrawSetStopColor |
??? |