1 2 3 4 5 <!DOCTYPE html> 6 <html lang="en"> 7 <head> 8 <title>ImageMagick: MagickWand, C API for ImageMagick: Image Methods</title> 9 <meta charset="utf-8" /> 10 <meta http-equiv="X-UA-Compatible" content="IE=edge" /> 11 <meta name="viewport" content="width=device-width, initial-scale=1" /> 12 <meta http-equiv="content-type" content="text/html; charset=utf-8"/> 13 <meta name="application-name" content="ImageMagick"/> 14 <meta name="description" content="ImageMagick is a software suite to create, edit, compose, or convert bitmap images. It can read and write images in a variety of formats (over 200) including PNG, JPEG, JPEG-2000, GIF, WebP, Postscript, PDF, and SVG. Use ImageMagick to resize, flip, mirror, rotate, distort, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bzier curves."/> 15 <meta name="application-url" content="http://www.imagemagick.org"/> 16 <meta name="generator" content="PHP"/> 17 <meta name="keywords" content="magickwc, api, for, imagemagick:, image, methods, ImageMagick, PerlMagick, image processing, image, photo, software, Magick++, OpenMP, convert"/> 18 <meta name="rating" content="GENERAL"/> 19 <meta name="robots" content="INDEX, FOLLOW"/> 20 <meta name="generator" content="ImageMagick Studio LLC"/> 21 <meta name="author" content="ImageMagick Studio LLC"/> 22 <meta name="revisit-after" content="2 DAYS"/> 23 <meta name="resource-type" content="document"/> 24 <meta name="copyright" content="Copyright (c) 1999-2016 ImageMagick Studio LLC"/> 25 <meta name="distribution" content="Global"/> 26 <meta name="magick-serial" content="P131-S030410-R485315270133-P82224-A6668-G1245-1"/> 27 <meta name="google-site-verification" content="_bMOCDpkx9ZAzBwb2kF3PRHbfUUdFj2uO8Jd1AXArz4" /> 28 <link rel="icon" href="../images/wand.png"/> 29 <link rel="shortcut icon" href="../images/wand.ico"/> 30 <link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Roboto:900,400,400italic,700,700italic,300,300italic|Open+Sans:300italic,400italic,700italic,300,400,600,700"> 31 <link rel="stylesheet" href="../css/magick.html"/> 32 </head> 33 <body> 34 <div class="main"> 35 <div class="magick-masthead"> 36 <div class="container"> 37 <script async="async" src="http://localhost/pagead/js/adsbygoogle.js"></script> <ins class="adsbygoogle" 38 style="display:block" 39 data-ad-client="ca-pub-3129977114552745" 40 data-ad-slot="6345125851" 41 data-ad-format="auto"></ins> 42 <script> 43 (adsbygoogle = window.adsbygoogle || []).push({}); 44 </script> 45 <nav class="magick-nav"> 46 <a class="magick-nav-item " href="../index.html">Home</a> 47 <a class="magick-nav-item " href="../binary-releases.html">Download</a> 48 <a class="magick-nav-item " href="../command-line-tools.html">Tools</a> 49 <a class="magick-nav-item " href="../command-line-processing.html">Command-line</a> 50 <a class="magick-nav-item " href="../resources.html">Resources</a> 51 <a class="magick-nav-item " href="api.html">Develop</a> 52 <a class="magick-nav-item " href="http://www.imagemagick.org/script/search.php">Search</a> 53 <a class="magick-nav-item pull-right" href="https://www.imagemagick.org/discourse-server/">Community</a> 54 </nav> 55 </div> 56 </div> 57 <div class="container"> 58 <div class="magick-header"> 59 <p class="text-center"><a href="magick-image.html#GetImageFromMagickWand">GetImageFromMagickWand</a> • <a href="magick-image.html#MagickAdaptiveBlurImage">MagickAdaptiveBlurImage</a> • <a href="magick-image.html#MagickAdaptiveResizeImage">MagickAdaptiveResizeImage</a> • <a href="magick-image.html#MagickAdaptiveSharpenImage">MagickAdaptiveSharpenImage</a> • <a href="magick-image.html#MagickAdaptiveThresholdImage">MagickAdaptiveThresholdImage</a> • <a href="magick-image.html#MagickAddImage">MagickAddImage</a> • <a href="magick-image.html#MagickAddNoiseImage">MagickAddNoiseImage</a> • <a href="magick-image.html#MagickAffineTransformImage">MagickAffineTransformImage</a> • <a href="magick-image.html#MagickAnnotateImage">MagickAnnotateImage</a> • <a href="magick-image.html#MagickAnimateImages">MagickAnimateImages</a> • <a href="magick-image.html#MagickAppendImages">MagickAppendImages</a> • <a href="magick-image.html#MagickAutoGammaImage">MagickAutoGammaImage</a> • <a href="magick-image.html#MagickAutoLevelImage">MagickAutoLevelImage</a> • <a href="magick-image.html#MagickAutoOrientImage">MagickAutoOrientImage</a> • <a href="magick-image.html#MagickBlackThresholdImage">MagickBlackThresholdImage</a> • <a href="magick-image.html#MagickBlueShiftImage">MagickBlueShiftImage</a> • <a href="magick-image.html#MagickBlurImage">MagickBlurImage</a> • <a href="magick-image.html#MagickBorderImage">MagickBorderImage</a> • <a href="magick-image.html#Use MagickBrightnessContrastImage">Use MagickBrightnessContrastImage</a> • <a href="magick-image.html#MagickChannelFxImage">MagickChannelFxImage</a> • <a href="magick-image.html#MagickCharcoalImage">MagickCharcoalImage</a> • <a href="magick-image.html#MagickChopImage">MagickChopImage</a> • <a href="magick-image.html#MagickClampImage">MagickClampImage</a> • <a href="magick-image.html#MagickClipImage">MagickClipImage</a> • <a href="magick-image.html#MagickClipImagePath">MagickClipImagePath</a> • <a href="magick-image.html#MagickClutImage">MagickClutImage</a> • <a href="magick-image.html#MagickCoalesceImages">MagickCoalesceImages</a> • <a href="magick-image.html#MagickColorDecisionListImage">MagickColorDecisionListImage</a> • <a href="magick-image.html#MagickColorizeImage">MagickColorizeImage</a> • <a href="magick-image.html#MagickColorMatrixImage">MagickColorMatrixImage</a> • <a href="magick-image.html#MagickCombineImages">MagickCombineImages</a> • <a href="magick-image.html#MagickCommentImage">MagickCommentImage</a> • <a href="magick-image.html#MagickCompareImagesLayers">MagickCompareImagesLayers</a> • <a href="magick-image.html#MagickCompareImages">MagickCompareImages</a> • <a href="magick-image.html#MagickCompositeImage">MagickCompositeImage</a> • <a href="magick-image.html#MagickCompositeImageGravity">MagickCompositeImageGravity</a> • <a href="magick-image.html#MagickCompositeLayers">MagickCompositeLayers</a> • <a href="magick-image.html#MagickContrastImage">MagickContrastImage</a> • <a href="magick-image.html#MagickContrastStretchImage">MagickContrastStretchImage</a> • <a href="magick-image.html#MagickConvolveImage">MagickConvolveImage</a> • <a href="magick-image.html#MagickCropImage">MagickCropImage</a> • <a href="magick-image.html#MagickCycleColormapImage">MagickCycleColormapImage</a> • <a href="magick-image.html#MagickConstituteImage">MagickConstituteImage</a> • <a href="magick-image.html#MagickDecipherImage">MagickDecipherImage</a> • <a href="magick-image.html#MagickDeconstructImages">MagickDeconstructImages</a> • <a href="magick-image.html#MagickDeskewImage">MagickDeskewImage</a> • <a href="magick-image.html#MagickDespeckleImage">MagickDespeckleImage</a> • <a href="magick-image.html#MagickDestroyImage">MagickDestroyImage</a> • <a href="magick-image.html#MagickDisplayImage">MagickDisplayImage</a> • <a href="magick-image.html#MagickDisplayImages">MagickDisplayImages</a> • <a href="magick-image.html#MagickDistortImage">MagickDistortImage</a> • <a href="magick-image.html#MagickDrawImage">MagickDrawImage</a> • <a href="magick-image.html#MagickEdgeImage">MagickEdgeImage</a> • <a href="magick-image.html#MagickEmbossImage">MagickEmbossImage</a> • <a href="magick-image.html#MagickEncipherImage">MagickEncipherImage</a> • <a href="magick-image.html#MagickEnhanceImage">MagickEnhanceImage</a> • <a href="magick-image.html#MagickEqualizeImage">MagickEqualizeImage</a> • <a href="magick-image.html#MagickEvaluateImage">MagickEvaluateImage</a> • <a href="magick-image.html#MagickExportImagePixels">MagickExportImagePixels</a> • <a href="magick-image.html#MagickExtentImage">MagickExtentImage</a> • <a href="magick-image.html#MagickFlipImage">MagickFlipImage</a> • <a href="magick-image.html#MagickFloodfillPaintImage">MagickFloodfillPaintImage</a> • <a href="magick-image.html#MagickFlopImage">MagickFlopImage</a> • <a href="magick-image.html#MagickForwardFourierTransformImage">MagickForwardFourierTransformImage</a> • <a href="magick-image.html#MagickFrameImage">MagickFrameImage</a> • <a href="magick-image.html#MagickFunctionImage">MagickFunctionImage</a> • <a href="magick-image.html#MagickFxImage">MagickFxImage</a> • <a href="magick-image.html#MagickGammaImage">MagickGammaImage</a> • <a href="magick-image.html#MagickGaussianBlurImage">MagickGaussianBlurImage</a> • <a href="magick-image.html#MagickGetImage">MagickGetImage</a> • <a href="magick-image.html#MagickGetImageAlphaChannel">MagickGetImageAlphaChannel</a> • <a href="magick-image.html#MagickGetImageAlhpaColor">MagickGetImageAlhpaColor</a> • <a href="magick-image.html#MagickGetImageMask">MagickGetImageMask</a> • <a href="magick-image.html#MagickGetImageBackgroundColor">MagickGetImageBackgroundColor</a> • <a href="magick-image.html#MagickGetImageBlob">MagickGetImageBlob</a> • <a href="magick-image.html#MagickGetImageBlob">MagickGetImageBlob</a> • <a href="magick-image.html#MagickGetImageBluePrimary">MagickGetImageBluePrimary</a> • <a href="magick-image.html#MagickGetImageBorderColor">MagickGetImageBorderColor</a> • <a href="magick-image.html#MagickGetImageFeatures">MagickGetImageFeatures</a> • <a href="magick-image.html#MagickGetImageKurtosis">MagickGetImageKurtosis</a> • <a href="magick-image.html#MagickGetImageMean">MagickGetImageMean</a> • <a href="magick-image.html#MagickGetImageRange">MagickGetImageRange</a> • <a href="magick-image.html#MagickGetImageStatistics">MagickGetImageStatistics</a> • <a href="magick-image.html#MagickGetImageColormapColor">MagickGetImageColormapColor</a> • <a href="magick-image.html#MagickGetImageColors">MagickGetImageColors</a> • <a href="magick-image.html#MagickGetImageColorspace">MagickGetImageColorspace</a> • <a href="magick-image.html#MagickGetImageCompose">MagickGetImageCompose</a> • <a href="magick-image.html#MagickGetImageCompression">MagickGetImageCompression</a> • <a href="magick-image.html#MagickGetImageCompressionQuality">MagickGetImageCompressionQuality</a> • <a href="magick-image.html#MagickGetImageDelay">MagickGetImageDelay</a> • <a href="magick-image.html#MagickGetImageDepth">MagickGetImageDepth</a> • <a href="magick-image.html#MagickGetImageDispose">MagickGetImageDispose</a> • <a href="magick-image.html#MagickGetImageDistortion">MagickGetImageDistortion</a> • <a href="magick-image.html#MagickGetImageDistortions">MagickGetImageDistortions</a> • <a href="magick-image.html#MagickGetImageEndian">MagickGetImageEndian</a> • <a href="magick-image.html#MagickGetImageFilename">MagickGetImageFilename</a> • <a href="magick-image.html#MagickGetImageFormat">MagickGetImageFormat</a> • <a href="magick-image.html#MagickGetImageFuzz">MagickGetImageFuzz</a> • <a href="magick-image.html#MagickGetImageGamma">MagickGetImageGamma</a> • <a href="magick-image.html#MagickGetImageGravity">MagickGetImageGravity</a> • <a href="magick-image.html#MagickGetImageGreenPrimary">MagickGetImageGreenPrimary</a> • <a href="magick-image.html#MagickGetImageHeight">MagickGetImageHeight</a> • <a href="magick-image.html#MagickGetImageHistogram">MagickGetImageHistogram</a> • <a href="magick-image.html#MagickGetImageInterlaceScheme">MagickGetImageInterlaceScheme</a> • <a href="magick-image.html#MagickGetImageInterpolateMethod">MagickGetImageInterpolateMethod</a> • <a href="magick-image.html#MagickGetImageIterations">MagickGetImageIterations</a> • <a href="magick-image.html#MagickGetImageLength">MagickGetImageLength</a> • <a href="magick-image.html#MagickGetImageOrientation">MagickGetImageOrientation</a> • <a href="magick-image.html#MagickGetImagePage">MagickGetImagePage</a> • <a href="magick-image.html#MagickGetImagePixelColor">MagickGetImagePixelColor</a> • <a href="magick-image.html#MagickGetImageRedPrimary">MagickGetImageRedPrimary</a> • <a href="magick-image.html#MagickGetImageRegion">MagickGetImageRegion</a> • <a href="magick-image.html#MagickGetImageRenderingIntent">MagickGetImageRenderingIntent</a> • <a href="magick-image.html#MagickGetImageResolution">MagickGetImageResolution</a> • <a href="magick-image.html#MagickGetImageScene">MagickGetImageScene</a> • <a href="magick-image.html#MagickGetImageSignature">MagickGetImageSignature</a> • <a href="magick-image.html#MagickGetImageTicksPerSecond">MagickGetImageTicksPerSecond</a> • <a href="magick-image.html#MagickGetImageType">MagickGetImageType</a> • <a href="magick-image.html#MagickGetImageUnits">MagickGetImageUnits</a> • <a href="magick-image.html#MagickGetImageVirtualPixelMethod">MagickGetImageVirtualPixelMethod</a> • <a href="magick-image.html#MagickGetImageWhitePoint">MagickGetImageWhitePoint</a> • <a href="magick-image.html#MagickGetImageWidth">MagickGetImageWidth</a> • <a href="magick-image.html#MagickGetNumberImages">MagickGetNumberImages</a> • <a href="magick-image.html#MagickGetImageTotalInkDensity">MagickGetImageTotalInkDensity</a> • <a href="magick-image.html#MagickHaldClutImage">MagickHaldClutImage</a> • <a href="magick-image.html#MagickHasNextImage">MagickHasNextImage</a> • <a href="magick-image.html#MagickHasPreviousImage">MagickHasPreviousImage</a> • <a href="magick-image.html#MagickIdentifyImage">MagickIdentifyImage</a> • <a href="magick-image.html#MagickIdentifyImageType">MagickIdentifyImageType</a> • <a href="magick-image.html#MagickImplodeImage">MagickImplodeImage</a> • <a href="magick-image.html#MagickImportImagePixels">MagickImportImagePixels</a> • <a href="magick-image.html#MagickInterpolativeResizeImage">MagickInterpolativeResizeImage</a> • <a href="magick-image.html#MagickInverseFourierTransformImage">MagickInverseFourierTransformImage</a> • <a href="magick-image.html#MagickLabelImage">MagickLabelImage</a> • <a href="magick-image.html#MagickLevelImage">MagickLevelImage</a> • <a href="magick-image.html#MagickLinearStretchImage">MagickLinearStretchImage</a> • <a href="magick-image.html#MagickLiquidRescaleImage">MagickLiquidRescaleImage</a> • <a href="magick-image.html#MagickLocalContrastImage">MagickLocalContrastImage</a> • <a href="magick-image.html#MagickMagnifyImage">MagickMagnifyImage</a> • <a href="magick-image.html#MagickMergeImageLayers">MagickMergeImageLayers</a> • <a href="magick-image.html#MagickMinifyImage">MagickMinifyImage</a> • <a href="magick-image.html#MagickModulateImage">MagickModulateImage</a> • <a href="magick-image.html#MagickMontageImage">MagickMontageImage</a> • <a href="magick-image.html#MagickMorphImages">MagickMorphImages</a> • <a href="magick-image.html#MagickMorphologyImage">MagickMorphologyImage</a> • <a href="magick-image.html#MagickMotionBlurImage">MagickMotionBlurImage</a> • <a href="magick-image.html#MagickNegateImage">MagickNegateImage</a> • <a href="magick-image.html#MagickNewImage">MagickNewImage</a> • <a href="magick-image.html#MagickNextImage">MagickNextImage</a> • <a href="magick-image.html#MagickNormalizeImage">MagickNormalizeImage</a> • <a href="magick-image.html#MagickOilPaintImage">MagickOilPaintImage</a> • <a href="magick-image.html#MagickOpaquePaintImage">MagickOpaquePaintImage</a> • <a href="magick-image.html#MagickOptimizeImageLayers">MagickOptimizeImageLayers</a> • <a href="magick-image.html#MagickOptimizeImageTransparency">MagickOptimizeImageTransparency</a> • <a href="magick-image.html#MagickOrderedDitherImage">MagickOrderedDitherImage</a> • <a href="magick-image.html#MagickPingImage">MagickPingImage</a> • <a href="magick-image.html#MagickPingImageBlob">MagickPingImageBlob</a> • <a href="magick-image.html#MagickPingImageFile">MagickPingImageFile</a> • <a href="magick-image.html#MagickPolaroidImage">MagickPolaroidImage</a> • <a href="magick-image.html#MagickPosterizeImage">MagickPosterizeImage</a> • <a href="magick-image.html#MagickPreviewImages">MagickPreviewImages</a> • <a href="magick-image.html#MagickPreviousImage">MagickPreviousImage</a> • <a href="magick-image.html#MagickQuantizeImage">MagickQuantizeImage</a> • <a href="magick-image.html#MagickQuantizeImages">MagickQuantizeImages</a> • <a href="magick-image.html#MagickRotationalBlurImage">MagickRotationalBlurImage</a> • <a href="magick-image.html#MagickRaiseImage">MagickRaiseImage</a> • <a href="magick-image.html#MagickRandomThresholdImage">MagickRandomThresholdImage</a> • <a href="magick-image.html#MagickReadImage">MagickReadImage</a> • <a href="magick-image.html#MagickReadImageBlob">MagickReadImageBlob</a> • <a href="magick-image.html#MagickReadImageFile">MagickReadImageFile</a> • <a href="magick-image.html#MagickRemapImage">MagickRemapImage</a> • <a href="magick-image.html#MagickRemoveImage">MagickRemoveImage</a> • <a href="magick-image.html#MagickResampleImage">MagickResampleImage</a> • <a href="magick-image.html#MagickResetImagePage">MagickResetImagePage</a> • <a href="magick-image.html#MagickResizeImage">MagickResizeImage</a> • <a href="magick-image.html#MagickRollImage">MagickRollImage</a> • <a href="magick-image.html#MagickRotateImage">MagickRotateImage</a> • <a href="magick-image.html#MagickSampleImage">MagickSampleImage</a> • <a href="magick-image.html#MagickScaleImage">MagickScaleImage</a> • <a href="magick-image.html#MagickSegmentImage">MagickSegmentImage</a> • <a href="magick-image.html#MagickSelectiveBlurImage">MagickSelectiveBlurImage</a> • <a href="magick-image.html#MagickSeparateImage">MagickSeparateImage</a> • <a href="magick-image.html#MagickSepiaToneImage">MagickSepiaToneImage</a> • <a href="magick-image.html#MagickSetImage">MagickSetImage</a> • <a href="magick-image.html#MagickSetImageAlphaChannel">MagickSetImageAlphaChannel</a> • <a href="magick-image.html#MagickSetImageAlphaColor">MagickSetImageAlphaColor</a> • <a href="magick-image.html#MagickSetImageBackgroundColor">MagickSetImageBackgroundColor</a> • <a href="magick-image.html#MagickSetImageBluePrimary">MagickSetImageBluePrimary</a> • <a href="magick-image.html#MagickSetImageBorderColor">MagickSetImageBorderColor</a> • <a href="magick-image.html#MagickSetImageChannelMask">MagickSetImageChannelMask</a> • <a href="magick-image.html#MagickSetImageMask">MagickSetImageMask</a> • <a href="magick-image.html#MagickSetImageColor">MagickSetImageColor</a> • <a href="magick-image.html#MagickSetImageColormapColor">MagickSetImageColormapColor</a> • <a href="magick-image.html#MagickSetImageColorspace">MagickSetImageColorspace</a> • <a href="magick-image.html#MagickSetImageCompose">MagickSetImageCompose</a> • <a href="magick-image.html#MagickSetImageCompression">MagickSetImageCompression</a> • <a href="magick-image.html#MagickSetImageCompressionQuality">MagickSetImageCompressionQuality</a> • <a href="magick-image.html#MagickSetImageDelay">MagickSetImageDelay</a> • <a href="magick-image.html#MagickSetImageDepth">MagickSetImageDepth</a> • <a href="magick-image.html#MagickSetImageDispose">MagickSetImageDispose</a> • <a href="magick-image.html#MagickSetImageEndian">MagickSetImageEndian</a> • <a href="magick-image.html#MagickSetImageExtent">MagickSetImageExtent</a> • <a href="magick-image.html#MagickSetImageFilename">MagickSetImageFilename</a> • <a href="magick-image.html#MagickSetImageFormat">MagickSetImageFormat</a> • <a href="magick-image.html#MagickSetImageFuzz">MagickSetImageFuzz</a> • <a href="magick-image.html#MagickSetImageGamma">MagickSetImageGamma</a> • <a href="magick-image.html#MagickSetImageGravity">MagickSetImageGravity</a> • <a href="magick-image.html#MagickSetImageGreenPrimary">MagickSetImageGreenPrimary</a> • <a href="magick-image.html#MagickSetImageInterlaceScheme">MagickSetImageInterlaceScheme</a> • <a href="magick-image.html#MagickSetImageInterpolateMethod">MagickSetImageInterpolateMethod</a> • <a href="magick-image.html#MagickSetImageIterations">MagickSetImageIterations</a> • <a href="magick-image.html#MagickSetImageMatte">MagickSetImageMatte</a> • <a href="magick-image.html#MagickSetImageAlpha">MagickSetImageAlpha</a> • <a href="magick-image.html#MagickSetImageOrientation">MagickSetImageOrientation</a> • <a href="magick-image.html#MagickSetImagePage">MagickSetImagePage</a> • <a href="magick-image.html#MagickSetImageProgressMonitor">MagickSetImageProgressMonitor</a> • <a href="magick-image.html#MagickSetImageRedPrimary">MagickSetImageRedPrimary</a> • <a href="magick-image.html#MagickSetImageRenderingIntent">MagickSetImageRenderingIntent</a> • <a href="magick-image.html#MagickSetImageResolution">MagickSetImageResolution</a> • <a href="magick-image.html#MagickSetImageScene">MagickSetImageScene</a> • <a href="magick-image.html#MagickSetImageTicksPerSecond">MagickSetImageTicksPerSecond</a> • <a href="magick-image.html#MagickSetImageType">MagickSetImageType</a> • <a href="magick-image.html#MagickSetImageUnits">MagickSetImageUnits</a> • <a href="magick-image.html#MagickSetImageVirtualPixelMethod">MagickSetImageVirtualPixelMethod</a> • <a href="magick-image.html#MagickSetImageWhitePoint">MagickSetImageWhitePoint</a> • <a href="magick-image.html#MagickShadeImage">MagickShadeImage</a> • <a href="magick-image.html#MagickShadowImage">MagickShadowImage</a> • <a href="magick-image.html#MagickSharpenImage">MagickSharpenImage</a> • <a href="magick-image.html#MagickShaveImage">MagickShaveImage</a> • <a href="magick-image.html#MagickShearImage">MagickShearImage</a> • <a href="magick-image.html#MagickSigmoidalContrastImage">MagickSigmoidalContrastImage</a> • <a href="magick-image.html#MagickSimilarityImage">MagickSimilarityImage</a> • <a href="magick-image.html#MagickSketchImage">MagickSketchImage</a> • <a href="magick-image.html#MagickSmushImages">MagickSmushImages</a> • <a href="magick-image.html#MagickSolarizeImage">MagickSolarizeImage</a> • <a href="magick-image.html#MagickSparseColorImage">MagickSparseColorImage</a> • <a href="magick-image.html#MagickSpliceImage">MagickSpliceImage</a> • <a href="magick-image.html#MagickSpreadImage">MagickSpreadImage</a> • <a href="magick-image.html#MagickStatisticImage">MagickStatisticImage</a> • <a href="magick-image.html#MagickSteganoImage">MagickSteganoImage</a> • <a href="magick-image.html#MagickStereoImage">MagickStereoImage</a> • <a href="magick-image.html#MagickStripImage">MagickStripImage</a> • <a href="magick-image.html#MagickSwirlImage">MagickSwirlImage</a> • <a href="magick-image.html#MagickTextureImage">MagickTextureImage</a> • <a href="magick-image.html#MagickThresholdImage">MagickThresholdImage</a> • <a href="magick-image.html#MagickThumbnailImage">MagickThumbnailImage</a> • <a href="magick-image.html#MagickTintImage">MagickTintImage</a> • <a href="magick-image.html#MagickTransformImageColorspace">MagickTransformImageColorspace</a> • <a href="magick-image.html#MagickTransparentPaintImage">MagickTransparentPaintImage</a> • <a href="magick-image.html#MagickTransposeImage">MagickTransposeImage</a> • <a href="magick-image.html#MagickTransverseImage">MagickTransverseImage</a> • <a href="magick-image.html#MagickTrimImage">MagickTrimImage</a> • <a href="magick-image.html#MagickUniqueImageColors">MagickUniqueImageColors</a> • <a href="magick-image.html#MagickUnsharpMaskImage">MagickUnsharpMaskImage</a> • <a href="magick-image.html#MagickVignetteImage">MagickVignetteImage</a> • <a href="magick-image.html#MagickWaveImage">MagickWaveImage</a> • <a href="magick-image.html#MagickWhiteThresholdImage">MagickWhiteThresholdImage</a> • <a href="magick-image.html#MagickWriteImage">MagickWriteImage</a> • <a href="magick-image.html#MagickWriteImageFile">MagickWriteImageFile</a> • <a href="magick-image.html#MagickWriteImages">MagickWriteImages</a> • <a href="magick-image.html#MagickWriteImagesFile">MagickWriteImagesFile</a></p> 60 61 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="GetImageFromMagickWand">GetImageFromMagickWand</a></h2> 62 63 <p>GetImageFromMagickWand() returns the current image from the magick wand.</p> 64 65 <p>The format of the GetImageFromMagickWand method is:</p> 66 67 <pre class="text"> 68 Image *GetImageFromMagickWand(const MagickWand *wand) 69 </pre> 70 71 <p>A description of each parameter follows:</p> 72 73 <dd> 74 </dd> 75 76 <dd> </dd> 77 <dl class="dl-horizontal"> 78 <dt>wand</dt> 79 <dd>the magick wand. </dd> 80 81 <dd> </dd> 82 </dl> 83 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickAdaptiveBlurImage">MagickAdaptiveBlurImage</a></h2> 84 85 <p>MagickAdaptiveBlurImage() adaptively blurs the image by blurring less intensely near image edges and more intensely far from edges. We blur the image with a Gaussian operator of the given radius and standard deviation (sigma). For reasonable results, radius should be larger than sigma. Use a radius of 0 and MagickAdaptiveBlurImage() selects a suitable radius for you.</p> 86 87 <p>The format of the MagickAdaptiveBlurImage method is:</p> 88 89 <pre class="text"> 90 MagickBooleanType MagickAdaptiveBlurImage(MagickWand *wand, 91 const double radius,const double sigma) 92 </pre> 93 94 <p>A description of each parameter follows:</p> 95 96 <dd> 97 </dd> 98 99 <dd> </dd> 100 <dl class="dl-horizontal"> 101 <dt>wand</dt> 102 <dd>the magick wand. </dd> 103 104 <dd> </dd> 105 <dt>radius</dt> 106 <dd>the radius of the Gaussian, in pixels, not counting the center pixel. </dd> 107 108 <dd> </dd> 109 <dt>sigma</dt> 110 <dd>the standard deviation of the Gaussian, in pixels. </dd> 111 112 <dd> </dd> 113 </dl> 114 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickAdaptiveResizeImage">MagickAdaptiveResizeImage</a></h2> 115 116 <p>MagickAdaptiveResizeImage() adaptively resize image with data dependent triangulation.</p> 117 118 <p>MagickBooleanType MagickAdaptiveResizeImage(MagickWand *wand, const size_t columns,const size_t rows)</p> 119 120 <p>A description of each parameter follows:</p> 121 122 <dd> 123 </dd> 124 125 <dd> </dd> 126 <dl class="dl-horizontal"> 127 <dt>wand</dt> 128 <dd>the magick wand. </dd> 129 130 <dd> </dd> 131 <dt>columns</dt> 132 <dd>the number of columns in the scaled image. </dd> 133 134 <dd> </dd> 135 <dt>rows</dt> 136 <dd>the number of rows in the scaled image. </dd> 137 138 <dd> </dd> 139 </dl> 140 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickAdaptiveSharpenImage">MagickAdaptiveSharpenImage</a></h2> 141 142 <p>MagickAdaptiveSharpenImage() adaptively sharpens the image by sharpening more intensely near image edges and less intensely far from edges. We sharpen the image with a Gaussian operator of the given radius and standard deviation (sigma). For reasonable results, radius should be larger than sigma. Use a radius of 0 and MagickAdaptiveSharpenImage() selects a suitable radius for you.</p> 143 144 <p>The format of the MagickAdaptiveSharpenImage method is:</p> 145 146 <pre class="text"> 147 MagickBooleanType MagickAdaptiveSharpenImage(MagickWand *wand, 148 const double radius,const double sigma) 149 </pre> 150 151 <p>A description of each parameter follows:</p> 152 153 <dd> 154 </dd> 155 156 <dd> </dd> 157 <dl class="dl-horizontal"> 158 <dt>wand</dt> 159 <dd>the magick wand. </dd> 160 161 <dd> </dd> 162 <dt>radius</dt> 163 <dd>the radius of the Gaussian, in pixels, not counting the center pixel. </dd> 164 165 <dd> </dd> 166 <dt>sigma</dt> 167 <dd>the standard deviation of the Gaussian, in pixels. </dd> 168 169 <dd> </dd> 170 </dl> 171 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickAdaptiveThresholdImage">MagickAdaptiveThresholdImage</a></h2> 172 173 <p>MagickAdaptiveThresholdImage() selects an individual threshold for each pixel based on the range of intensity values in its local neighborhood. This allows for thresholding of an image whose global intensity histogram doesn't contain distinctive peaks.</p> 174 175 <p>The format of the AdaptiveThresholdImage method is:</p> 176 177 <pre class="text"> 178 MagickBooleanType MagickAdaptiveThresholdImage(MagickWand *wand, 179 const size_t width,const size_t height,const double bias) 180 </pre> 181 182 <p>A description of each parameter follows:</p> 183 184 <dd> 185 </dd> 186 187 <dd> </dd> 188 <dl class="dl-horizontal"> 189 <dt>wand</dt> 190 <dd>the magick wand. </dd> 191 192 <dd> </dd> 193 <dt>width</dt> 194 <dd>the width of the local neighborhood. </dd> 195 196 <dd> </dd> 197 <dt>height</dt> 198 <dd>the height of the local neighborhood. </dd> 199 200 <dd> </dd> 201 <dt>offset</dt> 202 <dd>the mean bias. </dd> 203 204 <dd> </dd> 205 </dl> 206 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickAddImage">MagickAddImage</a></h2> 207 208 <p>MagickAddImage() adds a clone of the images from the second wand and inserts them into the first wand.</p> 209 210 <p>Use MagickSetLastIterator(), to append new images into an existing wand, current image will be set to last image so later adds with also be appened to end of wand.</p> 211 212 <p>Use MagickSetFirstIterator() to prepend new images into wand, any more images added will also be prepended before other images in the wand. However the order of a list of new images will not change.</p> 213 214 <p>Otherwise the new images will be inserted just after the current image, and any later image will also be added after this current image but before the previously added images. Caution is advised when multiple image adds are inserted into the middle of the wand image list.</p> 215 216 <p>The format of the MagickAddImage method is:</p> 217 218 <pre class="text"> 219 MagickBooleanType MagickAddImage(MagickWand *wand, 220 const MagickWand *add_wand) 221 </pre> 222 223 <p>A description of each parameter follows:</p> 224 225 <dd> 226 </dd> 227 228 <dd> </dd> 229 <dl class="dl-horizontal"> 230 <dt>wand</dt> 231 <dd>the magick wand. </dd> 232 233 <dd> </dd> 234 <dt>add_wand</dt> 235 <dd>A wand that contains the image list to be added </dd> 236 237 <dd> </dd> 238 </dl> 239 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickAddNoiseImage">MagickAddNoiseImage</a></h2> 240 241 <p>MagickAddNoiseImage() adds random noise to the image.</p> 242 243 <p>The format of the MagickAddNoiseImage method is:</p> 244 245 <pre class="text"> 246 MagickBooleanType MagickAddNoiseImage(MagickWand *wand, 247 const NoiseType noise_type,const double attenuate) 248 </pre> 249 250 <p>A description of each parameter follows:</p> 251 252 <dd> 253 </dd> 254 255 <dd> </dd> 256 <dl class="dl-horizontal"> 257 <dt>wand</dt> 258 <dd>the magick wand. </dd> 259 260 <dd> </dd> 261 <dt>noise_type</dt> 262 <dd> The type of noise: Uniform, Gaussian, Multiplicative, Impulse, Laplacian, or Poisson. </dd> 263 264 <dd> </dd> 265 <dt>attenuate</dt> 266 <dd> attenuate the random distribution. </dd> 267 268 <dd> </dd> 269 </dl> 270 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickAffineTransformImage">MagickAffineTransformImage</a></h2> 271 272 <p>MagickAffineTransformImage() transforms an image as dictated by the affine matrix of the drawing wand.</p> 273 274 <p>The format of the MagickAffineTransformImage method is:</p> 275 276 <pre class="text"> 277 MagickBooleanType MagickAffineTransformImage(MagickWand *wand, 278 const DrawingWand *drawing_wand) 279 </pre> 280 281 <p>A description of each parameter follows:</p> 282 283 <dd> 284 </dd> 285 286 <dd> </dd> 287 <dl class="dl-horizontal"> 288 <dt>wand</dt> 289 <dd>the magick wand. </dd> 290 291 <dd> </dd> 292 <dt>drawing_wand</dt> 293 <dd>the draw wand. </dd> 294 295 <dd> </dd> 296 </dl> 297 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickAnnotateImage">MagickAnnotateImage</a></h2> 298 299 <p>MagickAnnotateImage() annotates an image with text.</p> 300 301 <p>The format of the MagickAnnotateImage method is:</p> 302 303 <pre class="text"> 304 MagickBooleanType MagickAnnotateImage(MagickWand *wand, 305 const DrawingWand *drawing_wand,const double x,const double y, 306 const double angle,const char *text) 307 </pre> 308 309 <p>A description of each parameter follows:</p> 310 311 <dd> 312 </dd> 313 314 <dd> </dd> 315 <dl class="dl-horizontal"> 316 <dt>wand</dt> 317 <dd>the magick wand. </dd> 318 319 <dd> </dd> 320 <dt>drawing_wand</dt> 321 <dd>the draw wand. </dd> 322 323 <dd> </dd> 324 <dt>x</dt> 325 <dd>x ordinate to left of text </dd> 326 327 <dd> </dd> 328 <dt>y</dt> 329 <dd>y ordinate to text baseline </dd> 330 331 <dd> </dd> 332 <dt>angle</dt> 333 <dd>rotate text relative to this angle. </dd> 334 335 <dd> </dd> 336 <dt>text</dt> 337 <dd>text to draw </dd> 338 339 <dd> </dd> 340 </dl> 341 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickAnimateImages">MagickAnimateImages</a></h2> 342 343 <p>MagickAnimateImages() animates an image or image sequence.</p> 344 345 <p>The format of the MagickAnimateImages method is:</p> 346 347 <pre class="text"> 348 MagickBooleanType MagickAnimateImages(MagickWand *wand, 349 const char *server_name) 350 </pre> 351 352 <p>A description of each parameter follows:</p> 353 354 <dd> 355 </dd> 356 357 <dd> </dd> 358 <dl class="dl-horizontal"> 359 <dt>wand</dt> 360 <dd>the magick wand. </dd> 361 362 <dd> </dd> 363 <dt>server_name</dt> 364 <dd>the X server name. </dd> 365 366 <dd> </dd> 367 </dl> 368 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickAppendImages">MagickAppendImages</a></h2> 369 370 <p>MagickAppendImages() append the images in a wand from the current image onwards, creating a new wand with the single image result. This is affected by the gravity and background settings of the first image.</p> 371 372 <p>Typically you would call either MagickResetIterator() or MagickSetFirstImage() before calling this function to ensure that all the images in the wand's image list will be appended together.</p> 373 374 <p>The format of the MagickAppendImages method is:</p> 375 376 <pre class="text"> 377 MagickWand *MagickAppendImages(MagickWand *wand, 378 const MagickBooleanType stack) 379 </pre> 380 381 <p>A description of each parameter follows:</p> 382 383 <dd> 384 </dd> 385 386 <dd> </dd> 387 <dl class="dl-horizontal"> 388 <dt>wand</dt> 389 <dd>the magick wand. </dd> 390 391 <dd> </dd> 392 <dt>stack</dt> 393 <dd>By default, images are stacked left-to-right. Set stack to MagickTrue to stack them top-to-bottom. </dd> 394 395 <dd> </dd> 396 </dl> 397 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickAutoGammaImage">MagickAutoGammaImage</a></h2> 398 399 <p>MagickAutoGammaImage() extracts the 'mean' from the image and adjust the image to try make set its gamma appropriatally.</p> 400 401 <p>The format of the MagickAutoGammaImage method is:</p> 402 403 <pre class="text"> 404 MagickBooleanType MagickAutoGammaImage(MagickWand *wand) 405 </pre> 406 407 <p>A description of each parameter follows:</p> 408 409 <dd> 410 </dd> 411 412 <dd> </dd> 413 <dl class="dl-horizontal"> 414 <dt>wand</dt> 415 <dd>the magick wand. </dd> 416 417 <dd> </dd> 418 </dl> 419 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickAutoLevelImage">MagickAutoLevelImage</a></h2> 420 421 <p>MagickAutoLevelImage() adjusts the levels of a particular image channel by scaling the minimum and maximum values to the full quantum range.</p> 422 423 <p>The format of the MagickAutoLevelImage method is:</p> 424 425 <pre class="text"> 426 MagickBooleanType MagickAutoLevelImage(MagickWand *wand) 427 </pre> 428 429 <p>A description of each parameter follows:</p> 430 431 <dd> 432 </dd> 433 434 <dd> </dd> 435 <dl class="dl-horizontal"> 436 <dt>wand</dt> 437 <dd>the magick wand. </dd> 438 439 <dd> </dd> 440 </dl> 441 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickAutoOrientImage">MagickAutoOrientImage</a></h2> 442 443 <p>MagickAutoOrientImage() adjusts an image so that its orientation is suitable $ for viewing (i.e. top-left orientation).</p> 444 445 <p>The format of the MagickAutoOrientImage method is:</p> 446 447 <pre class="text"> 448 MagickBooleanType MagickAutoOrientImage(MagickWand *image) 449 </pre> 450 451 <p>A description of each parameter follows:</p> 452 453 <dd> 454 </dd> 455 456 <dd> </dd> 457 <dl class="dl-horizontal"> 458 <dt>wand</dt> 459 <dd>the magick wand. </dd> 460 461 <dd> </dd> 462 </dl> 463 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickBlackThresholdImage">MagickBlackThresholdImage</a></h2> 464 465 <p>MagickBlackThresholdImage() is like MagickThresholdImage() but forces all pixels below the threshold into black while leaving all pixels above the threshold unchanged.</p> 466 467 <p>The format of the MagickBlackThresholdImage method is:</p> 468 469 <pre class="text"> 470 MagickBooleanType MagickBlackThresholdImage(MagickWand *wand, 471 const PixelWand *threshold) 472 </pre> 473 474 <p>A description of each parameter follows:</p> 475 476 <dd> 477 </dd> 478 479 <dd> </dd> 480 <dl class="dl-horizontal"> 481 <dt>wand</dt> 482 <dd>the magick wand. </dd> 483 484 <dd> </dd> 485 <dt>threshold</dt> 486 <dd>the pixel wand. </dd> 487 488 <dd> </dd> 489 </dl> 490 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickBlueShiftImage">MagickBlueShiftImage</a></h2> 491 492 <p>MagickBlueShiftImage() mutes the colors of the image to simulate a scene at nighttime in the moonlight.</p> 493 494 <p>The format of the MagickBlueShiftImage method is:</p> 495 496 <pre class="text"> 497 MagickBooleanType MagickBlueShiftImage(MagickWand *wand, 498 const double factor) 499 </pre> 500 501 <p>A description of each parameter follows:</p> 502 503 <dd> 504 </dd> 505 506 <dd> </dd> 507 <dl class="dl-horizontal"> 508 <dt>wand</dt> 509 <dd>the magick wand. </dd> 510 511 <dd> </dd> 512 <dt>factor</dt> 513 <dd>the blue shift factor (default 1.5) </dd> 514 515 <dd> </dd> 516 </dl> 517 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickBlurImage">MagickBlurImage</a></h2> 518 519 <p>MagickBlurImage() blurs an image. We convolve the image with a gaussian operator of the given radius and standard deviation (sigma). For reasonable results, the radius should be larger than sigma. Use a radius of 0 and BlurImage() selects a suitable radius for you.</p> 520 521 <p>The format of the MagickBlurImage method is:</p> 522 523 <pre class="text"> 524 MagickBooleanType MagickBlurImage(MagickWand *wand,const double radius, 525 const double sigma) 526 </pre> 527 528 <p>A description of each parameter follows:</p> 529 530 <dd> 531 </dd> 532 533 <dd> </dd> 534 <dl class="dl-horizontal"> 535 <dt>wand</dt> 536 <dd>the magick wand. </dd> 537 538 <dd> </dd> 539 <dt>radius</dt> 540 <dd>the radius of the , in pixels, not counting the center pixel. </dd> 541 542 <dd> </dd> 543 <dt>sigma</dt> 544 <dd>the standard deviation of the , in pixels. </dd> 545 546 <dd> </dd> 547 </dl> 548 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickBorderImage">MagickBorderImage</a></h2> 549 550 <p>MagickBorderImage() surrounds the image with a border of the color defined by the bordercolor pixel wand.</p> 551 552 <p>The format of the MagickBorderImage method is:</p> 553 554 <pre class="text"> 555 MagickBooleanType MagickBorderImage(MagickWand *wand, 556 const PixelWand *bordercolor,const size_t width, 557 const size_t height,const CompositeOperator compose) 558 </pre> 559 560 <p>A description of each parameter follows:</p> 561 562 <dd> 563 </dd> 564 565 <dd> </dd> 566 <dl class="dl-horizontal"> 567 <dt>wand</dt> 568 <dd>the magick wand. </dd> 569 570 <dd> </dd> 571 <dt>bordercolor</dt> 572 <dd>the border color pixel wand. </dd> 573 574 <dd> </dd> 575 <dt>width</dt> 576 <dd>the border width. </dd> 577 578 <dd> </dd> 579 <dt>height</dt> 580 <dd>the border height. </dd> 581 582 <dd> </dd> 583 <dt>compose</dt> 584 <dd>the composite operator. </dd> 585 586 <dd> </dd> 587 </dl> 588 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="Use_MagickBrightnessContrastImage">Use MagickBrightnessContrastImage</a></h2> 589 590 <p>Use MagickBrightnessContrastImage() to change the brightness and/or contrast of an image. It converts the brightness and contrast parameters into slope and intercept and calls a polynomical function to apply to the image.</p> 591 592 593 <p>The format of the MagickBrightnessContrastImage method is:</p> 594 595 <pre class="text"> 596 MagickBooleanType MagickBrightnessContrastImage(MagickWand *wand, 597 const double brightness,const double contrast) 598 </pre> 599 600 <p>A description of each parameter follows:</p> 601 602 <dd> 603 </dd> 604 605 <dd> </dd> 606 <dl class="dl-horizontal"> 607 <dt>wand</dt> 608 <dd>the magick wand. </dd> 609 610 <dd> </dd> 611 <dt>brightness</dt> 612 <dd>the brightness percent (-100 .. 100). </dd> 613 614 <dd> </dd> 615 <dt>contrast</dt> 616 <dd>the contrast percent (-100 .. 100). </dd> 617 618 <dd> </dd> 619 </dl> 620 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickChannelFxImage">MagickChannelFxImage</a></h2> 621 622 <p>MagickChannelFxImage() applies a channel expression to the specified image. The expression consists of one or more channels, either mnemonic or numeric (e.g. red, 1), separated by actions as follows:</p> 623 624 <dd> 625 </dd> 626 627 <dd> <=> exchange two channels (e.g. red<=>blue) => transfer a channel to another (e.g. red=>green) , separate channel operations (e.g. red, green) | read channels from next input image (e.g. red | green) ; write channels to next output image (e.g. red; green; blue) </dd> 628 629 <dd> A channel without a operation symbol implies extract. For example, to create 3 grayscale images from the red, green, and blue channels of an image, use: </dd> 630 631 <pre class="text"> 632 -channel-fx "red; green; blue" 633 </pre> 634 635 <p>The format of the MagickChannelFxImage method is: </dd> 636 637 <pre class="text"> 638 MagickWand *MagickChannelFxImage(MagickWand *wand,const char *expression) 639 </pre> 640 641 <p>A description of each parameter follows: </dd> 642 643 <dd> 644 </dd> 645 646 <dd> </dd> 647 <dl class="dl-horizontal"> 648 <dt>wand</dt> 649 <dd>the magick wand. </dd> 650 651 <dd> </dd> 652 <dt>expression</dt> 653 <dd>the expression. </dd> 654 655 <dd> </dd> 656 </dl> 657 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickCharcoalImage">MagickCharcoalImage</a></h2> 658 659 <p>MagickCharcoalImage() simulates a charcoal drawing.</p> 660 661 <p>The format of the MagickCharcoalImage method is:</p> 662 663 <pre class="text"> 664 MagickBooleanType MagickCharcoalImage(MagickWand *wand, 665 const double radius,const double sigma) 666 </pre> 667 668 <p>A description of each parameter follows:</p> 669 670 <dd> 671 </dd> 672 673 <dd> </dd> 674 <dl class="dl-horizontal"> 675 <dt>wand</dt> 676 <dd>the magick wand. </dd> 677 678 <dd> </dd> 679 <dt>radius</dt> 680 <dd>the radius of the Gaussian, in pixels, not counting the center pixel. </dd> 681 682 <dd> </dd> 683 <dt>sigma</dt> 684 <dd>the standard deviation of the Gaussian, in pixels. </dd> 685 686 <dd> </dd> 687 </dl> 688 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickChopImage">MagickChopImage</a></h2> 689 690 <p>MagickChopImage() removes a region of an image and collapses the image to occupy the removed portion</p> 691 692 <p>The format of the MagickChopImage method is:</p> 693 694 <pre class="text"> 695 MagickBooleanType MagickChopImage(MagickWand *wand, 696 const size_t width,const size_t height,const ssize_t x, 697 const ssize_t y) 698 </pre> 699 700 <p>A description of each parameter follows:</p> 701 702 <dd> 703 </dd> 704 705 <dd> </dd> 706 <dl class="dl-horizontal"> 707 <dt>wand</dt> 708 <dd>the magick wand. </dd> 709 710 <dd> </dd> 711 <dt>width</dt> 712 <dd>the region width. </dd> 713 714 <dd> </dd> 715 <dt>height</dt> 716 <dd>the region height. </dd> 717 718 <dd> </dd> 719 <dt>x</dt> 720 <dd>the region x offset. </dd> 721 722 <dd> </dd> 723 <dt>y</dt> 724 <dd>the region y offset. </dd> 725 726 <dd> </dd> 727 728 <dd> </dd> 729 </dl> 730 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickClampImage">MagickClampImage</a></h2> 731 732 <p>MagickClampImage() restricts the color range from 0 to the quantum depth.</p> 733 734 <p>The format of the MagickClampImage method is:</p> 735 736 <pre class="text"> 737 MagickBooleanType MagickClampImage(MagickWand *wand) 738 </pre> 739 740 <p>A description of each parameter follows:</p> 741 742 <dd> 743 </dd> 744 745 <dd> </dd> 746 <dl class="dl-horizontal"> 747 <dt>wand</dt> 748 <dd>the magick wand. </dd> 749 750 <dd> </dd> 751 <dt>channel</dt> 752 <dd>the channel. </dd> 753 754 <dd> </dd> 755 </dl> 756 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickClipImage">MagickClipImage</a></h2> 757 758 <p>MagickClipImage() clips along the first path from the 8BIM profile, if present.</p> 759 760 <p>The format of the MagickClipImage method is:</p> 761 762 <pre class="text"> 763 MagickBooleanType MagickClipImage(MagickWand *wand) 764 </pre> 765 766 <p>A description of each parameter follows:</p> 767 768 <dd> 769 </dd> 770 771 <dd> </dd> 772 <dl class="dl-horizontal"> 773 <dt>wand</dt> 774 <dd>the magick wand. </dd> 775 776 <dd> </dd> 777 </dl> 778 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickClipImagePath">MagickClipImagePath</a></h2> 779 780 <p>MagickClipImagePath() clips along the named paths from the 8BIM profile, if present. Later operations take effect inside the path. Id may be a number if preceded with #, to work on a numbered path, e.g., "#1" to use the first path.</p> 781 782 <p>The format of the MagickClipImagePath method is:</p> 783 784 <pre class="text"> 785 MagickBooleanType MagickClipImagePath(MagickWand *wand, 786 const char *pathname,const MagickBooleanType inside) 787 </pre> 788 789 <p>A description of each parameter follows:</p> 790 791 <dd> 792 </dd> 793 794 <dd> </dd> 795 <dl class="dl-horizontal"> 796 <dt>wand</dt> 797 <dd>the magick wand. </dd> 798 799 <dd> </dd> 800 <dt>pathname</dt> 801 <dd>name of clipping path resource. If name is preceded by #, use clipping path numbered by name. </dd> 802 803 <dd> </dd> 804 <dt>inside</dt> 805 <dd>if non-zero, later operations take effect inside clipping path. Otherwise later operations take effect outside clipping path. </dd> 806 807 <dd> </dd> 808 </dl> 809 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickClutImage">MagickClutImage</a></h2> 810 811 <p>MagickClutImage() replaces colors in the image from a color lookup table.</p> 812 813 <p>The format of the MagickClutImage method is:</p> 814 815 <pre class="text"> 816 MagickBooleanType MagickClutImage(MagickWand *wand, 817 const MagickWand *clut_wand,const PixelInterpolateMethod method) 818 </pre> 819 820 <p>A description of each parameter follows:</p> 821 822 <dd> 823 </dd> 824 825 <dd> </dd> 826 <dl class="dl-horizontal"> 827 <dt>wand</dt> 828 <dd>the magick wand. </dd> 829 830 <dd> </dd> 831 <dt>clut_image</dt> 832 <dd>the clut image. </dd> 833 834 <dd> </dd> 835 <dt>method</dt> 836 <dd>the pixel interpolation method. </dd> 837 838 <dd> </dd> 839 </dl> 840 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickCoalesceImages">MagickCoalesceImages</a></h2> 841 842 <p>MagickCoalesceImages() composites a set of images while respecting any page offsets and disposal methods. GIF, MIFF, and MNG animation sequences typically start with an image background and each subsequent image varies in size and offset. MagickCoalesceImages() returns a new sequence where each image in the sequence is the same size as the first and composited with the next image in the sequence.</p> 843 844 <p>The format of the MagickCoalesceImages method is:</p> 845 846 <pre class="text"> 847 MagickWand *MagickCoalesceImages(MagickWand *wand) 848 </pre> 849 850 <p>A description of each parameter follows:</p> 851 852 <dd> 853 </dd> 854 855 <dd> </dd> 856 <dl class="dl-horizontal"> 857 <dt>wand</dt> 858 <dd>the magick wand. </dd> 859 860 <dd> </dd> 861 </dl> 862 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickColorDecisionListImage">MagickColorDecisionListImage</a></h2> 863 864 <p>MagickColorDecisionListImage() accepts a lightweight Color Correction Collection (CCC) file which solely contains one or more color corrections and applies the color correction to the image. Here is a sample CCC file:</p> 865 866 <pre class="text"> 867 <ColorCorrectionCollection xmlns="urn:ASC:CDL:v1.2"> 868 <ColorCorrection id="cc03345"> 869 <SOPNode> 870 <Slope> 0.9 1.2 0.5 </Slope> 871 <Offset> 0.4 -0.5 0.6 </Offset> 872 <Power> 1.0 0.8 1.5 </Power> 873 </SOPNode> 874 <SATNode> 875 <Saturation> 0.85 </Saturation> 876 </SATNode> 877 </ColorCorrection> 878 </ColorCorrectionCollection> 879 </pre> 880 881 <p>which includes the offset, slope, and power for each of the RGB channels as well as the saturation.</p> 882 883 <p>The format of the MagickColorDecisionListImage method is:</p> 884 885 <pre class="text"> 886 MagickBooleanType MagickColorDecisionListImage(MagickWand *wand, 887 const char *color_correction_collection) 888 </pre> 889 890 <p>A description of each parameter follows:</p> 891 892 <dd> 893 </dd> 894 895 <dd> </dd> 896 <dl class="dl-horizontal"> 897 <dt>wand</dt> 898 <dd>the magick wand. </dd> 899 900 <dd> </dd> 901 <dt>color_correction_collection</dt> 902 <dd>the color correction collection in XML. </dd> 903 904 <dd> </dd> 905 </dl> 906 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickColorizeImage">MagickColorizeImage</a></h2> 907 908 <p>MagickColorizeImage() blends the fill color with each pixel in the image.</p> 909 910 <p>The format of the MagickColorizeImage method is:</p> 911 912 <pre class="text"> 913 MagickBooleanType MagickColorizeImage(MagickWand *wand, 914 const PixelWand *colorize,const PixelWand *blend) 915 </pre> 916 917 <p>A description of each parameter follows:</p> 918 919 <dd> 920 </dd> 921 922 <dd> </dd> 923 <dl class="dl-horizontal"> 924 <dt>wand</dt> 925 <dd>the magick wand. </dd> 926 927 <dd> </dd> 928 <dt>colorize</dt> 929 <dd>the colorize pixel wand. </dd> 930 931 <dd> </dd> 932 <dt>alpha</dt> 933 <dd>the alpha pixel wand. </dd> 934 935 <dd> </dd> 936 </dl> 937 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickColorMatrixImage">MagickColorMatrixImage</a></h2> 938 939 <p>MagickColorMatrixImage() apply color transformation to an image. The method permits saturation changes, hue rotation, luminance to alpha, and various other effects. Although variable-sized transformation matrices can be used, typically one uses a 5x5 matrix for an RGBA image and a 6x6 for CMYKA (or RGBA with offsets). The matrix is similar to those used by Adobe Flash except offsets are in column 6 rather than 5 (in support of CMYKA images) and offsets are normalized (divide Flash offset by 255).</p> 940 941 <p>The format of the MagickColorMatrixImage method is:</p> 942 943 <pre class="text"> 944 MagickBooleanType MagickColorMatrixImage(MagickWand *wand, 945 const KernelInfo *color_matrix) 946 </pre> 947 948 <p>A description of each parameter follows:</p> 949 950 <dd> 951 </dd> 952 953 <dd> </dd> 954 <dl class="dl-horizontal"> 955 <dt>wand</dt> 956 <dd>the magick wand. </dd> 957 958 <dd> </dd> 959 <dt>color_matrix</dt> 960 <dd> the color matrix. </dd> 961 962 <dd> </dd> 963 </dl> 964 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickCombineImages">MagickCombineImages</a></h2> 965 966 <p>MagickCombineImages() combines one or more images into a single image. The grayscale value of the pixels of each image in the sequence is assigned in order to the specified hannels of the combined image. The typical ordering would be image 1 => Red, 2 => Green, 3 => Blue, etc.</p> 967 968 <p>The format of the MagickCombineImages method is:</p> 969 970 <pre class="text"> 971 MagickWand *MagickCombineImages(MagickWand *wand, 972 const ColorspaceType colorspace) 973 </pre> 974 975 <p>A description of each parameter follows:</p> 976 977 <dd> 978 </dd> 979 980 <dd> </dd> 981 <dl class="dl-horizontal"> 982 <dt>wand</dt> 983 <dd>the magick wand. </dd> 984 985 <dd> </dd> 986 <dt>colorspace</dt> 987 <dd>the colorspace. </dd> 988 989 <dd> </dd> 990 </dl> 991 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickCommentImage">MagickCommentImage</a></h2> 992 993 <p>MagickCommentImage() adds a comment to your image.</p> 994 995 <p>The format of the MagickCommentImage method is:</p> 996 997 <pre class="text"> 998 MagickBooleanType MagickCommentImage(MagickWand *wand, 999 const char *comment) 1000 </pre> 1001 1002 <p>A description of each parameter follows:</p> 1003 1004 <dd> 1005 </dd> 1006 1007 <dd> </dd> 1008 <dl class="dl-horizontal"> 1009 <dt>wand</dt> 1010 <dd>the magick wand. </dd> 1011 1012 <dd> </dd> 1013 <dt>comment</dt> 1014 <dd>the image comment. </dd> 1015 1016 <dd> </dd> 1017 </dl> 1018 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickCompareImagesLayers">MagickCompareImagesLayers</a></h2> 1019 1020 <p>MagickCompareImagesLayers() compares each image with the next in a sequence and returns the maximum bounding region of any pixel differences it discovers.</p> 1021 1022 <p>The format of the MagickCompareImagesLayers method is:</p> 1023 1024 <pre class="text"> 1025 MagickWand *MagickCompareImagesLayers(MagickWand *wand, 1026 const LayerMethod method) 1027 </pre> 1028 1029 <p>A description of each parameter follows:</p> 1030 1031 <dd> 1032 </dd> 1033 1034 <dd> </dd> 1035 <dl class="dl-horizontal"> 1036 <dt>wand</dt> 1037 <dd>the magick wand. </dd> 1038 1039 <dd> </dd> 1040 <dt>method</dt> 1041 <dd>the compare method. </dd> 1042 1043 <dd> </dd> 1044 </dl> 1045 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickCompareImages">MagickCompareImages</a></h2> 1046 1047 <p>MagickCompareImages() compares an image to a reconstructed image and returns the specified difference image.</p> 1048 1049 <p>The format of the MagickCompareImages method is:</p> 1050 1051 <pre class="text"> 1052 MagickWand *MagickCompareImages(MagickWand *wand, 1053 const MagickWand *reference,const MetricType metric, 1054 double *distortion) 1055 </pre> 1056 1057 <p>A description of each parameter follows:</p> 1058 1059 <dd> 1060 </dd> 1061 1062 <dd> </dd> 1063 <dl class="dl-horizontal"> 1064 <dt>wand</dt> 1065 <dd>the magick wand. </dd> 1066 1067 <dd> </dd> 1068 <dt>reference</dt> 1069 <dd>the reference wand. </dd> 1070 1071 <dd> </dd> 1072 <dt>metric</dt> 1073 <dd>the metric. </dd> 1074 1075 <dd> </dd> 1076 <dt>distortion</dt> 1077 <dd>the computed distortion between the images. </dd> 1078 1079 <dd> </dd> 1080 </dl> 1081 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickCompositeImage">MagickCompositeImage</a></h2> 1082 1083 <p>MagickCompositeImage() composite one image onto another at the specified offset.</p> 1084 1085 <p>The format of the MagickCompositeImage method is:</p> 1086 1087 <pre class="text"> 1088 MagickBooleanType MagickCompositeImage(MagickWand *wand, 1089 const MagickWand *source_wand,const CompositeOperator compose, 1090 const MagickBooleanType clip_to_self,const ssize_t x,const ssize_t y) 1091 </pre> 1092 1093 <p>A description of each parameter follows:</p> 1094 1095 <dd> 1096 </dd> 1097 1098 <dd> </dd> 1099 <dl class="dl-horizontal"> 1100 <dt>wand</dt> 1101 <dd>the magick wand holding the destination images </dd> 1102 1103 <dd> </dd> 1104 <dt>source_image</dt> 1105 <dd>the magick wand holding source image. </dd> 1106 1107 <dd> </dd> 1108 <dt>compose</dt> 1109 <dd>This operator affects how the composite is applied to the image. The default is Over. These are some of the compose methods availble. </dd> 1110 1111 <dd> OverCompositeOp InCompositeOp OutCompositeOp AtopCompositeOp XorCompositeOp PlusCompositeOp MinusCompositeOp AddCompositeOp SubtractCompositeOp DifferenceCompositeOp BumpmapCompositeOp CopyCompositeOp DisplaceCompositeOp </dd> 1112 1113 <dd> </dd> 1114 <dt>clip_to_self</dt> 1115 <dd>set to MagickTrue to limit composition to area composed. </dd> 1116 1117 <dd> </dd> 1118 <dt>x</dt> 1119 <dd>the column offset of the composited image. </dd> 1120 1121 <dd> </dd> 1122 <dt>y</dt> 1123 <dd>the row offset of the composited image. </dd> 1124 1125 <dd> </dd> 1126 </dl> 1127 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickCompositeImageGravity">MagickCompositeImageGravity</a></h2> 1128 1129 <p>MagickCompositeImageGravity() composite one image onto another using the specified gravity.</p> 1130 1131 <p>The format of the MagickCompositeImageGravity method is:</p> 1132 1133 <pre class="text"> 1134 MagickBooleanType MagickCompositeImageGravity(MagickWand *wand, 1135 const MagickWand *source_wand,const CompositeOperator compose, 1136 const GravityType gravity) 1137 </pre> 1138 1139 <p>A description of each parameter follows:</p> 1140 1141 <dd> 1142 </dd> 1143 1144 <dd> </dd> 1145 <dl class="dl-horizontal"> 1146 <dt>wand</dt> 1147 <dd>the magick wand holding the destination images </dd> 1148 1149 <dd> </dd> 1150 <dt>source_image</dt> 1151 <dd>the magick wand holding source image. </dd> 1152 1153 <dd> </dd> 1154 <dt>compose</dt> 1155 <dd>This operator affects how the composite is applied to the image. The default is Over. These are some of the compose methods availble. </dd> 1156 1157 <dd> OverCompositeOp InCompositeOp OutCompositeOp AtopCompositeOp XorCompositeOp PlusCompositeOp MinusCompositeOp AddCompositeOp SubtractCompositeOp DifferenceCompositeOp BumpmapCompositeOp CopyCompositeOp DisplaceCompositeOp </dd> 1158 1159 <dd> </dd> 1160 <dt>gravity</dt> 1161 <dd>positioning gravity (NorthWestGravity, NorthGravity, NorthEastGravity, WestGravity, CenterGravity, EastGravity, SouthWestGravity, SouthGravity, SouthEastGravity) </dd> 1162 1163 <dd> </dd> 1164 </dl> 1165 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickCompositeLayers">MagickCompositeLayers</a></h2> 1166 1167 <p>MagickCompositeLayers() composite the images in the source wand over the images in the destination wand in sequence, starting with the current image in both lists.</p> 1168 1169 <p>Each layer from the two image lists are composted together until the end of one of the image lists is reached. The offset of each composition is also adjusted to match the virtual canvas offsets of each layer. As such the given offset is relative to the virtual canvas, and not the actual image.</p> 1170 1171 <p>Composition uses given x and y offsets, as the 'origin' location of the source images virtual canvas (not the real image) allowing you to compose a list of 'layer images' into the destiantioni images. This makes it well sutiable for directly composing 'Clears Frame Animations' or 'Coaleased Animations' onto a static or other 'Coaleased Animation' destination image list. GIF disposal handling is not looked at.</p> 1172 1173 <p>Special case:- If one of the image sequences is the last image (just a single image remaining), that image is repeatally composed with all the images in the other image list. Either the source or destination lists may be the single image, for this situation.</p> 1174 1175 <p>In the case of a single destination image (or last image given), that image will ve cloned to match the number of images remaining in the source image list.</p> 1176 1177 <p>This is equivelent to the "-layer Composite" Shell API operator.</p> 1178 1179 <p>The format of the MagickCompositeLayers method is:</p> 1180 1181 <pre class="text"> 1182 MagickBooleanType MagickCompositeLayers(MagickWand *wand, 1183 const MagickWand *source_wand, const CompositeOperator compose, 1184 const ssize_t x,const ssize_t y) 1185 </pre> 1186 1187 <p>A description of each parameter follows:</p> 1188 1189 <dd> 1190 </dd> 1191 1192 <dd> </dd> 1193 <dl class="dl-horizontal"> 1194 <dt>wand</dt> 1195 <dd>the magick wand holding destaintion images </dd> 1196 1197 <dd> </dd> 1198 <dt>source_wand</dt> 1199 <dd>the wand holding the source images </dd> 1200 1201 <dd> </dd> 1202 <dt>compose, x, y</dt> 1203 <dd> composition arguments </dd> 1204 1205 <dd> </dd> 1206 </dl> 1207 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickContrastImage">MagickContrastImage</a></h2> 1208 1209 <p>MagickContrastImage() enhances the intensity differences between the lighter and darker elements of the image. Set sharpen to a value other than 0 to increase the image contrast otherwise the contrast is reduced.</p> 1210 1211 <p>The format of the MagickContrastImage method is:</p> 1212 1213 <pre class="text"> 1214 MagickBooleanType MagickContrastImage(MagickWand *wand, 1215 const MagickBooleanType sharpen) 1216 </pre> 1217 1218 <p>A description of each parameter follows:</p> 1219 1220 <dd> 1221 </dd> 1222 1223 <dd> </dd> 1224 <dl class="dl-horizontal"> 1225 <dt>wand</dt> 1226 <dd>the magick wand. </dd> 1227 1228 <dd> </dd> 1229 <dt>sharpen</dt> 1230 <dd>Increase or decrease image contrast. </dd> 1231 1232 <dd> </dd> 1233 1234 <dd> </dd> 1235 </dl> 1236 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickContrastStretchImage">MagickContrastStretchImage</a></h2> 1237 1238 <p>MagickContrastStretchImage() enhances the contrast of a color image by adjusting the pixels color to span the entire range of colors available. You can also reduce the influence of a particular channel with a gamma value of 0.</p> 1239 1240 <p>The format of the MagickContrastStretchImage method is:</p> 1241 1242 <pre class="text"> 1243 MagickBooleanType MagickContrastStretchImage(MagickWand *wand, 1244 const double black_point,const double white_point) 1245 </pre> 1246 1247 <p>A description of each parameter follows:</p> 1248 1249 <dd> 1250 </dd> 1251 1252 <dd> </dd> 1253 <dl class="dl-horizontal"> 1254 <dt>wand</dt> 1255 <dd>the magick wand. </dd> 1256 1257 <dd> </dd> 1258 <dt>black_point</dt> 1259 <dd>the black point. </dd> 1260 1261 <dd> </dd> 1262 <dt>white_point</dt> 1263 <dd>the white point. </dd> 1264 1265 <dd> </dd> 1266 </dl> 1267 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickConvolveImage">MagickConvolveImage</a></h2> 1268 1269 <p>MagickConvolveImage() applies a custom convolution kernel to the image.</p> 1270 1271 <p>The format of the MagickConvolveImage method is:</p> 1272 1273 <pre class="text"> 1274 MagickBooleanType MagickConvolveImage(MagickWand *wand, 1275 const KernelInfo *kernel) 1276 </pre> 1277 1278 <p>A description of each parameter follows:</p> 1279 1280 <dd> 1281 </dd> 1282 1283 <dd> </dd> 1284 <dl class="dl-horizontal"> 1285 <dt>wand</dt> 1286 <dd>the magick wand. </dd> 1287 1288 <dd> </dd> 1289 <dt>kernel</dt> 1290 <dd>An array of doubles representing the convolution kernel. </dd> 1291 1292 <dd> </dd> 1293 </dl> 1294 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickCropImage">MagickCropImage</a></h2> 1295 1296 <p>MagickCropImage() extracts a region of the image.</p> 1297 1298 <p>The format of the MagickCropImage method is:</p> 1299 1300 <pre class="text"> 1301 MagickBooleanType MagickCropImage(MagickWand *wand, 1302 const size_t width,const size_t height,const ssize_t x,const ssize_t y) 1303 </pre> 1304 1305 <p>A description of each parameter follows:</p> 1306 1307 <dd> 1308 </dd> 1309 1310 <dd> </dd> 1311 <dl class="dl-horizontal"> 1312 <dt>wand</dt> 1313 <dd>the magick wand. </dd> 1314 1315 <dd> </dd> 1316 <dt>width</dt> 1317 <dd>the region width. </dd> 1318 1319 <dd> </dd> 1320 <dt>height</dt> 1321 <dd>the region height. </dd> 1322 1323 <dd> </dd> 1324 <dt>x</dt> 1325 <dd>the region x-offset. </dd> 1326 1327 <dd> </dd> 1328 <dt>y</dt> 1329 <dd>the region y-offset. </dd> 1330 1331 <dd> </dd> 1332 </dl> 1333 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickCycleColormapImage">MagickCycleColormapImage</a></h2> 1334 1335 <p>MagickCycleColormapImage() displaces an image's colormap by a given number of positions. If you cycle the colormap a number of times you can produce a psychodelic effect.</p> 1336 1337 <p>The format of the MagickCycleColormapImage method is:</p> 1338 1339 <pre class="text"> 1340 MagickBooleanType MagickCycleColormapImage(MagickWand *wand, 1341 const ssize_t displace) 1342 </pre> 1343 1344 <p>A description of each parameter follows:</p> 1345 1346 <dd> 1347 </dd> 1348 1349 <dd> </dd> 1350 <dl class="dl-horizontal"> 1351 <dt>wand</dt> 1352 <dd>the magick wand. </dd> 1353 1354 <dd> </dd> 1355 <dt>pixel_wand</dt> 1356 <dd>the pixel wand. </dd> 1357 1358 <dd> </dd> 1359 </dl> 1360 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickConstituteImage">MagickConstituteImage</a></h2> 1361 1362 <p>MagickConstituteImage() adds an image to the wand comprised of the pixel data you supply. The pixel data must be in scanline order top-to-bottom. The data can be char, short int, int, float, or double. Float and double require the pixels to be normalized [0..1], otherwise [0..Max], where Max is the maximum value the type can accomodate (e.g. 255 for char). For example, to create a 640x480 image from unsigned red-green-blue character data, use</p> 1363 1364 <p>MagickConstituteImage(wand,640,480,"RGB",CharPixel,pixels);</p> 1365 1366 <p>The format of the MagickConstituteImage method is:</p> 1367 1368 <pre class="text"> 1369 MagickBooleanType MagickConstituteImage(MagickWand *wand, 1370 const size_t columns,const size_t rows,const char *map, 1371 const StorageType storage,void *pixels) 1372 </pre> 1373 1374 <p>A description of each parameter follows:</p> 1375 1376 <dd> 1377 </dd> 1378 1379 <dd> </dd> 1380 <dl class="dl-horizontal"> 1381 <dt>wand</dt> 1382 <dd>the magick wand. </dd> 1383 1384 <dd> </dd> 1385 <dt>columns</dt> 1386 <dd>width in pixels of the image. </dd> 1387 1388 <dd> </dd> 1389 <dt>rows</dt> 1390 <dd>height in pixels of the image. </dd> 1391 1392 <dd> </dd> 1393 <dt>map</dt> 1394 <dd> This string reflects the expected ordering of the pixel array. It can be any combination or order of R = red, G = green, B = blue, A = alpha (0 is transparent), O = alpha (0 is opaque), C = cyan, Y = yellow, M = magenta, K = black, I = intensity (for grayscale), P = pad. </dd> 1395 1396 <dd> </dd> 1397 <dt>storage</dt> 1398 <dd>Define the data type of the pixels. Float and double types are expected to be normalized [0..1] otherwise [0..QuantumRange]. Choose from these types: CharPixel, DoublePixel, FloatPixel, IntegerPixel, LongPixel, QuantumPixel, or ShortPixel. </dd> 1399 1400 <dd> </dd> 1401 <dt>pixels</dt> 1402 <dd>This array of values contain the pixel components as defined by map and type. You must preallocate this array where the expected length varies depending on the values of width, height, map, and type. </dd> 1403 1404 <dd> </dd> 1405 1406 <dd> </dd> 1407 </dl> 1408 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickDecipherImage">MagickDecipherImage</a></h2> 1409 1410 <p>MagickDecipherImage() converts cipher pixels to plain pixels.</p> 1411 1412 <p>The format of the MagickDecipherImage method is:</p> 1413 1414 <pre class="text"> 1415 MagickBooleanType MagickDecipherImage(MagickWand *wand, 1416 const char *passphrase) 1417 </pre> 1418 1419 <p>A description of each parameter follows:</p> 1420 1421 <dd> 1422 </dd> 1423 1424 <dd> </dd> 1425 <dl class="dl-horizontal"> 1426 <dt>wand</dt> 1427 <dd>the magick wand. </dd> 1428 1429 <dd> </dd> 1430 <dt>passphrase</dt> 1431 <dd>the passphrase. </dd> 1432 1433 <dd> </dd> 1434 </dl> 1435 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickDeconstructImages">MagickDeconstructImages</a></h2> 1436 1437 <p>MagickDeconstructImages() compares each image with the next in a sequence and returns the maximum bounding region of any pixel differences it discovers.</p> 1438 1439 <p>The format of the MagickDeconstructImages method is:</p> 1440 1441 <pre class="text"> 1442 MagickWand *MagickDeconstructImages(MagickWand *wand) 1443 </pre> 1444 1445 <p>A description of each parameter follows:</p> 1446 1447 <dd> 1448 </dd> 1449 1450 <dd> </dd> 1451 <dl class="dl-horizontal"> 1452 <dt>wand</dt> 1453 <dd>the magick wand. </dd> 1454 1455 <dd> </dd> 1456 </dl> 1457 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickDeskewImage">MagickDeskewImage</a></h2> 1458 1459 <p>MagickDeskewImage() removes skew from the image. Skew is an artifact that occurs in scanned images because of the camera being misaligned, imperfections in the scanning or surface, or simply because the paper was not placed completely flat when scanned.</p> 1460 1461 <p>The format of the MagickDeskewImage method is:</p> 1462 1463 <pre class="text"> 1464 MagickBooleanType MagickDeskewImage(MagickWand *wand, 1465 const double threshold) 1466 </pre> 1467 1468 <p>A description of each parameter follows:</p> 1469 1470 <dd> 1471 </dd> 1472 1473 <dd> </dd> 1474 <dl class="dl-horizontal"> 1475 <dt>wand</dt> 1476 <dd>the magick wand. </dd> 1477 1478 <dd> </dd> 1479 <dt>threshold</dt> 1480 <dd>separate background from foreground. </dd> 1481 1482 <dd> </dd> 1483 </dl> 1484 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickDespeckleImage">MagickDespeckleImage</a></h2> 1485 1486 <p>MagickDespeckleImage() reduces the speckle noise in an image while perserving the edges of the original image.</p> 1487 1488 <p>The format of the MagickDespeckleImage method is:</p> 1489 1490 <pre class="text"> 1491 MagickBooleanType MagickDespeckleImage(MagickWand *wand) 1492 </pre> 1493 1494 <p>A description of each parameter follows:</p> 1495 1496 <dd> 1497 </dd> 1498 1499 <dd> </dd> 1500 <dl class="dl-horizontal"> 1501 <dt>wand</dt> 1502 <dd>the magick wand. </dd> 1503 1504 <dd> </dd> 1505 </dl> 1506 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickDestroyImage">MagickDestroyImage</a></h2> 1507 1508 <p>MagickDestroyImage() dereferences an image, deallocating memory associated with the image if the reference count becomes zero.</p> 1509 1510 <p>The format of the MagickDestroyImage method is:</p> 1511 1512 <pre class="text"> 1513 Image *MagickDestroyImage(Image *image) 1514 </pre> 1515 1516 <p>A description of each parameter follows:</p> 1517 1518 <dd> 1519 </dd> 1520 1521 <dd> </dd> 1522 <dl class="dl-horizontal"> 1523 <dt>image</dt> 1524 <dd>the image. </dd> 1525 1526 <dd> </dd> 1527 </dl> 1528 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickDisplayImage">MagickDisplayImage</a></h2> 1529 1530 <p>MagickDisplayImage() displays an image.</p> 1531 1532 <p>The format of the MagickDisplayImage method is:</p> 1533 1534 <pre class="text"> 1535 MagickBooleanType MagickDisplayImage(MagickWand *wand, 1536 const char *server_name) 1537 </pre> 1538 1539 <p>A description of each parameter follows:</p> 1540 1541 <dd> 1542 </dd> 1543 1544 <dd> </dd> 1545 <dl class="dl-horizontal"> 1546 <dt>wand</dt> 1547 <dd>the magick wand. </dd> 1548 1549 <dd> </dd> 1550 <dt>server_name</dt> 1551 <dd>the X server name. </dd> 1552 1553 <dd> </dd> 1554 </dl> 1555 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickDisplayImages">MagickDisplayImages</a></h2> 1556 1557 <p>MagickDisplayImages() displays an image or image sequence.</p> 1558 1559 <p>The format of the MagickDisplayImages method is:</p> 1560 1561 <pre class="text"> 1562 MagickBooleanType MagickDisplayImages(MagickWand *wand, 1563 const char *server_name) 1564 </pre> 1565 1566 <p>A description of each parameter follows:</p> 1567 1568 <dd> 1569 </dd> 1570 1571 <dd> </dd> 1572 <dl class="dl-horizontal"> 1573 <dt>wand</dt> 1574 <dd>the magick wand. </dd> 1575 1576 <dd> </dd> 1577 <dt>server_name</dt> 1578 <dd>the X server name. </dd> 1579 1580 <dd> </dd> 1581 </dl> 1582 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickDistortImage">MagickDistortImage</a></h2> 1583 1584 <p>MagickDistortImage() distorts an image using various distortion methods, by mapping color lookups of the source image to a new destination image usally of the same size as the source image, unless 'bestfit' is set to true.</p> 1585 1586 <p>If 'bestfit' is enabled, and distortion allows it, the destination image is adjusted to ensure the whole source 'image' will just fit within the final destination image, which will be sized and offset accordingly. Also in many cases the virtual offset of the source image will be taken into account in the mapping.</p> 1587 1588 <p>The format of the MagickDistortImage method is:</p> 1589 1590 <pre class="text"> 1591 MagickBooleanType MagickDistortImage(MagickWand *wand, 1592 const DistortMethod method,const size_t number_arguments, 1593 const double *arguments,const MagickBooleanType bestfit) 1594 </pre> 1595 1596 <p>A description of each parameter follows:</p> 1597 1598 <dd> 1599 </dd> 1600 1601 <dd> </dd> 1602 <dl class="dl-horizontal"> 1603 <dt>image</dt> 1604 <dd>the image to be distorted. </dd> 1605 1606 <dd> </dd> 1607 <dt>method</dt> 1608 <dd>the method of image distortion. </dd> 1609 1610 <dd> ArcDistortion always ignores the source image offset, and always 'bestfit' the destination image with the top left corner offset relative to the polar mapping center. </dd> 1611 1612 <dd> Bilinear has no simple inverse mapping so it does not allow 'bestfit' style of image distortion. </dd> 1613 1614 <dd> Affine, Perspective, and Bilinear, do least squares fitting of the distortion when more than the minimum number of control point pairs are provided. </dd> 1615 1616 <dd> Perspective, and Bilinear, falls back to a Affine distortion when less that 4 control point pairs are provided. While Affine distortions let you use any number of control point pairs, that is Zero pairs is a no-Op (viewport only) distrotion, one pair is a translation and two pairs of control points do a scale-rotate-translate, without any shearing. </dd> 1617 1618 <dd> </dd> 1619 <dt>number_arguments</dt> 1620 <dd>the number of arguments given for this distortion method. </dd> 1621 1622 <dd> </dd> 1623 <dt>arguments</dt> 1624 <dd>the arguments for this distortion method. </dd> 1625 1626 <dd> </dd> 1627 <dt>bestfit</dt> 1628 <dd>Attempt to resize destination to fit distorted source. </dd> 1629 1630 <dd> </dd> 1631 </dl> 1632 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickDrawImage">MagickDrawImage</a></h2> 1633 1634 <p>MagickDrawImage() renders the drawing wand on the current image.</p> 1635 1636 <p>The format of the MagickDrawImage method is:</p> 1637 1638 <pre class="text"> 1639 MagickBooleanType MagickDrawImage(MagickWand *wand, 1640 const DrawingWand *drawing_wand) 1641 </pre> 1642 1643 <p>A description of each parameter follows:</p> 1644 1645 <dd> 1646 </dd> 1647 1648 <dd> </dd> 1649 <dl class="dl-horizontal"> 1650 <dt>wand</dt> 1651 <dd>the magick wand. </dd> 1652 1653 <dd> </dd> 1654 <dt>drawing_wand</dt> 1655 <dd>the draw wand. </dd> 1656 1657 <dd> </dd> 1658 </dl> 1659 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickEdgeImage">MagickEdgeImage</a></h2> 1660 1661 <p>MagickEdgeImage() enhance edges within the image with a convolution filter of the given radius. Use a radius of 0 and Edge() selects a suitable radius for you.</p> 1662 1663 <p>The format of the MagickEdgeImage method is:</p> 1664 1665 <pre class="text"> 1666 MagickBooleanType MagickEdgeImage(MagickWand *wand,const double radius) 1667 </pre> 1668 1669 <p>A description of each parameter follows:</p> 1670 1671 <dd> 1672 </dd> 1673 1674 <dd> </dd> 1675 <dl class="dl-horizontal"> 1676 <dt>wand</dt> 1677 <dd>the magick wand. </dd> 1678 1679 <dd> </dd> 1680 <dt>radius</dt> 1681 <dd>the radius of the pixel neighborhood. </dd> 1682 1683 <dd> </dd> 1684 </dl> 1685 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickEmbossImage">MagickEmbossImage</a></h2> 1686 1687 <p>MagickEmbossImage() returns a grayscale image with a three-dimensional effect. We convolve the image with a Gaussian operator of the given radius and standard deviation (sigma). For reasonable results, radius should be larger than sigma. Use a radius of 0 and Emboss() selects a suitable radius for you.</p> 1688 1689 <p>The format of the MagickEmbossImage method is:</p> 1690 1691 <pre class="text"> 1692 MagickBooleanType MagickEmbossImage(MagickWand *wand,const double radius, 1693 const double sigma) 1694 </pre> 1695 1696 <p>A description of each parameter follows:</p> 1697 1698 <dd> 1699 </dd> 1700 1701 <dd> </dd> 1702 <dl class="dl-horizontal"> 1703 <dt>wand</dt> 1704 <dd>the magick wand. </dd> 1705 1706 <dd> </dd> 1707 <dt>radius</dt> 1708 <dd>the radius of the Gaussian, in pixels, not counting the center pixel. </dd> 1709 1710 <dd> </dd> 1711 <dt>sigma</dt> 1712 <dd>the standard deviation of the Gaussian, in pixels. </dd> 1713 1714 <dd> </dd> 1715 </dl> 1716 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickEncipherImage">MagickEncipherImage</a></h2> 1717 1718 <p>MagickEncipherImage() converts plaint pixels to cipher pixels.</p> 1719 1720 <p>The format of the MagickEncipherImage method is:</p> 1721 1722 <pre class="text"> 1723 MagickBooleanType MagickEncipherImage(MagickWand *wand, 1724 const char *passphrase) 1725 </pre> 1726 1727 <p>A description of each parameter follows:</p> 1728 1729 <dd> 1730 </dd> 1731 1732 <dd> </dd> 1733 <dl class="dl-horizontal"> 1734 <dt>wand</dt> 1735 <dd>the magick wand. </dd> 1736 1737 <dd> </dd> 1738 <dt>passphrase</dt> 1739 <dd>the passphrase. </dd> 1740 1741 <dd> </dd> 1742 </dl> 1743 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickEnhanceImage">MagickEnhanceImage</a></h2> 1744 1745 <p>MagickEnhanceImage() applies a digital filter that improves the quality of a noisy image.</p> 1746 1747 <p>The format of the MagickEnhanceImage method is:</p> 1748 1749 <pre class="text"> 1750 MagickBooleanType MagickEnhanceImage(MagickWand *wand) 1751 </pre> 1752 1753 <p>A description of each parameter follows:</p> 1754 1755 <dd> 1756 </dd> 1757 1758 <dd> </dd> 1759 <dl class="dl-horizontal"> 1760 <dt>wand</dt> 1761 <dd>the magick wand. </dd> 1762 1763 <dd> </dd> 1764 </dl> 1765 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickEqualizeImage">MagickEqualizeImage</a></h2> 1766 1767 <p>MagickEqualizeImage() equalizes the image histogram.</p> 1768 1769 <p>The format of the MagickEqualizeImage method is:</p> 1770 1771 <pre class="text"> 1772 MagickBooleanType MagickEqualizeImage(MagickWand *wand) 1773 </pre> 1774 1775 <p>A description of each parameter follows:</p> 1776 1777 <dd> 1778 </dd> 1779 1780 <dd> </dd> 1781 <dl class="dl-horizontal"> 1782 <dt>wand</dt> 1783 <dd>the magick wand. </dd> 1784 1785 <dd> </dd> 1786 <dt>channel</dt> 1787 <dd>the image channel(s). </dd> 1788 1789 <dd> </dd> 1790 </dl> 1791 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickEvaluateImage">MagickEvaluateImage</a></h2> 1792 1793 <p>MagickEvaluateImage() applys an arithmetic, relational, or logical expression to an image. Use these operators to lighten or darken an image, to increase or decrease contrast in an image, or to produce the "negative" of an image.</p> 1794 1795 <p>The format of the MagickEvaluateImage method is:</p> 1796 1797 <pre class="text"> 1798 MagickBooleanType MagickEvaluateImage(MagickWand *wand, 1799 const MagickEvaluateOperator operator,const double value) 1800 MagickBooleanType MagickEvaluateImages(MagickWand *wand, 1801 const MagickEvaluateOperator operator) 1802 </pre> 1803 1804 <p>A description of each parameter follows:</p> 1805 1806 <dd> 1807 </dd> 1808 1809 <dd> </dd> 1810 <dl class="dl-horizontal"> 1811 <dt>wand</dt> 1812 <dd>the magick wand. </dd> 1813 1814 <dd> </dd> 1815 <dt>op</dt> 1816 <dd>A channel operator. </dd> 1817 1818 <dd> </dd> 1819 <dt>value</dt> 1820 <dd>A value value. </dd> 1821 1822 <dd> </dd> 1823 </dl> 1824 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickExportImagePixels">MagickExportImagePixels</a></h2> 1825 1826 <p>MagickExportImagePixels() extracts pixel data from an image and returns it to you. The method returns MagickTrue on success otherwise MagickFalse if an error is encountered. The data is returned as char, short int, int, ssize_t, float, or double in the order specified by map.</p> 1827 1828 <p>Suppose you want to extract the first scanline of a 640x480 image as character data in red-green-blue order:</p> 1829 1830 <pre class="text"> 1831 MagickExportImagePixels(wand,0,0,640,1,"RGB",CharPixel,pixels); 1832 </pre> 1833 1834 <p>The format of the MagickExportImagePixels method is:</p> 1835 1836 <pre class="text"> 1837 MagickBooleanType MagickExportImagePixels(MagickWand *wand, 1838 const ssize_t x,const ssize_t y,const size_t columns, 1839 const size_t rows,const char *map,const StorageType storage, 1840 void *pixels) 1841 </pre> 1842 1843 <p>A description of each parameter follows:</p> 1844 1845 <dd> 1846 </dd> 1847 1848 <dd> </dd> 1849 <dl class="dl-horizontal"> 1850 <dt>wand</dt> 1851 <dd>the magick wand. </dd> 1852 1853 <dd> </dd> 1854 <dt>x, y, columns, rows</dt> 1855 <dd> These values define the perimeter of a region of pixels you want to extract. </dd> 1856 1857 <dd> </dd> 1858 <dt>map</dt> 1859 <dd> This string reflects the expected ordering of the pixel array. It can be any combination or order of R = red, G = green, B = blue, A = alpha (0 is transparent), O = alpha (0 is opaque), C = cyan, Y = yellow, M = magenta, K = black, I = intensity (for grayscale), P = pad. </dd> 1860 1861 <dd> </dd> 1862 <dt>storage</dt> 1863 <dd>Define the data type of the pixels. Float and double types are expected to be normalized [0..1] otherwise [0..QuantumRange]. Choose from these types: CharPixel, DoublePixel, FloatPixel, IntegerPixel, LongPixel, QuantumPixel, or ShortPixel. </dd> 1864 1865 <dd> </dd> 1866 <dt>pixels</dt> 1867 <dd>This array of values contain the pixel components as defined by map and type. You must preallocate this array where the expected length varies depending on the values of width, height, map, and type. </dd> 1868 1869 <dd> </dd> 1870 </dl> 1871 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickExtentImage">MagickExtentImage</a></h2> 1872 1873 <p>MagickExtentImage() extends the image as defined by the geometry, gravity, and wand background color. Set the (x,y) offset of the geometry to move the original wand relative to the extended wand.</p> 1874 1875 <p>The format of the MagickExtentImage method is:</p> 1876 1877 <pre class="text"> 1878 MagickBooleanType MagickExtentImage(MagickWand *wand,const size_t width, 1879 const size_t height,const ssize_t x,const ssize_t y) 1880 </pre> 1881 1882 <p>A description of each parameter follows:</p> 1883 1884 <dd> 1885 </dd> 1886 1887 <dd> </dd> 1888 <dl class="dl-horizontal"> 1889 <dt>wand</dt> 1890 <dd>the magick wand. </dd> 1891 1892 <dd> </dd> 1893 <dt>width</dt> 1894 <dd>the region width. </dd> 1895 1896 <dd> </dd> 1897 <dt>height</dt> 1898 <dd>the region height. </dd> 1899 1900 <dd> </dd> 1901 <dt>x</dt> 1902 <dd>the region x offset. </dd> 1903 1904 <dd> </dd> 1905 <dt>y</dt> 1906 <dd>the region y offset. </dd> 1907 1908 <dd> </dd> 1909 </dl> 1910 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickFlipImage">MagickFlipImage</a></h2> 1911 1912 <p>MagickFlipImage() creates a vertical mirror image by reflecting the pixels around the central x-axis.</p> 1913 1914 <p>The format of the MagickFlipImage method is:</p> 1915 1916 <pre class="text"> 1917 MagickBooleanType MagickFlipImage(MagickWand *wand) 1918 </pre> 1919 1920 <p>A description of each parameter follows:</p> 1921 1922 <dd> 1923 </dd> 1924 1925 <dd> </dd> 1926 <dl class="dl-horizontal"> 1927 <dt>wand</dt> 1928 <dd>the magick wand. </dd> 1929 1930 <dd> </dd> 1931 </dl> 1932 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickFloodfillPaintImage">MagickFloodfillPaintImage</a></h2> 1933 1934 <p>MagickFloodfillPaintImage() changes the color value of any pixel that matches target and is an immediate neighbor. If the method FillToBorderMethod is specified, the color value is changed for any neighbor pixel that does not match the bordercolor member of image.</p> 1935 1936 <p>The format of the MagickFloodfillPaintImage method is:</p> 1937 1938 <pre class="text"> 1939 MagickBooleanType MagickFloodfillPaintImage(MagickWand *wand, 1940 const PixelWand *fill,const double fuzz,const PixelWand *bordercolor, 1941 const ssize_t x,const ssize_t y,const MagickBooleanType invert) 1942 </pre> 1943 1944 <p>A description of each parameter follows:</p> 1945 1946 <dd> 1947 </dd> 1948 1949 <dd> </dd> 1950 <dl class="dl-horizontal"> 1951 <dt>wand</dt> 1952 <dd>the magick wand. </dd> 1953 1954 <dd> </dd> 1955 <dt>fill</dt> 1956 <dd>the floodfill color pixel wand. </dd> 1957 1958 <dd> </dd> 1959 <dt>fuzz</dt> 1960 <dd>By default target must match a particular pixel color exactly. However, in many cases two colors may differ by a small amount. The fuzz member of image defines how much tolerance is acceptable to consider two colors as the same. For example, set fuzz to 10 and the color red at intensities of 100 and 102 respectively are now interpreted as the same color for the purposes of the floodfill. </dd> 1961 1962 <dd> </dd> 1963 <dt>bordercolor</dt> 1964 <dd>the border color pixel wand. </dd> 1965 1966 <dd> </dd> 1967 <dt>x,y</dt> 1968 <dd>the starting location of the operation. </dd> 1969 1970 <dd> </dd> 1971 <dt>invert</dt> 1972 <dd>paint any pixel that does not match the target color. </dd> 1973 1974 <dd> </dd> 1975 </dl> 1976 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickFlopImage">MagickFlopImage</a></h2> 1977 1978 <p>MagickFlopImage() creates a horizontal mirror image by reflecting the pixels around the central y-axis.</p> 1979 1980 <p>The format of the MagickFlopImage method is:</p> 1981 1982 <pre class="text"> 1983 MagickBooleanType MagickFlopImage(MagickWand *wand) 1984 </pre> 1985 1986 <p>A description of each parameter follows:</p> 1987 1988 <dd> 1989 </dd> 1990 1991 <dd> </dd> 1992 <dl class="dl-horizontal"> 1993 <dt>wand</dt> 1994 <dd>the magick wand. </dd> 1995 1996 <dd> </dd> 1997 </dl> 1998 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickForwardFourierTransformImage">MagickForwardFourierTransformImage</a></h2> 1999 2000 <p>MagickForwardFourierTransformImage() implements the discrete Fourier transform (DFT) of the image either as a magnitude / phase or real / imaginary image pair.</p> 2001 2002 <p>The format of the MagickForwardFourierTransformImage method is:</p> 2003 2004 <pre class="text"> 2005 MagickBooleanType MagickForwardFourierTransformImage(MagickWand *wand, 2006 const MagickBooleanType magnitude) 2007 </pre> 2008 2009 <p>A description of each parameter follows:</p> 2010 2011 <dd> 2012 </dd> 2013 2014 <dd> </dd> 2015 <dl class="dl-horizontal"> 2016 <dt>wand</dt> 2017 <dd>the magick wand. </dd> 2018 2019 <dd> </dd> 2020 <dt>magnitude</dt> 2021 <dd>if true, return as magnitude / phase pair otherwise a real / imaginary image pair. </dd> 2022 2023 <dd> </dd> 2024 </dl> 2025 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickFrameImage">MagickFrameImage</a></h2> 2026 2027 <p>MagickFrameImage() adds a simulated three-dimensional border around the image. The width and height specify the border width of the vertical and horizontal sides of the frame. The inner and outer bevels indicate the width of the inner and outer shadows of the frame.</p> 2028 2029 <p>The format of the MagickFrameImage method is:</p> 2030 2031 <pre class="text"> 2032 MagickBooleanType MagickFrameImage(MagickWand *wand, 2033 const PixelWand *alpha_color,const size_t width, 2034 const size_t height,const ssize_t inner_bevel, 2035 const ssize_t outer_bevel,const CompositeOperator compose) 2036 </pre> 2037 2038 <p>A description of each parameter follows:</p> 2039 2040 <dd> 2041 </dd> 2042 2043 <dd> </dd> 2044 <dl class="dl-horizontal"> 2045 <dt>wand</dt> 2046 <dd>the magick wand. </dd> 2047 2048 <dd> </dd> 2049 <dt>alpha_color</dt> 2050 <dd>the frame color pixel wand. </dd> 2051 2052 <dd> </dd> 2053 <dt>width</dt> 2054 <dd>the border width. </dd> 2055 2056 <dd> </dd> 2057 <dt>height</dt> 2058 <dd>the border height. </dd> 2059 2060 <dd> </dd> 2061 <dt>inner_bevel</dt> 2062 <dd>the inner bevel width. </dd> 2063 2064 <dd> </dd> 2065 <dt>outer_bevel</dt> 2066 <dd>the outer bevel width. </dd> 2067 2068 <dd> </dd> 2069 <dt>compose</dt> 2070 <dd>the composite operator. </dd> 2071 2072 <dd> </dd> 2073 </dl> 2074 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickFunctionImage">MagickFunctionImage</a></h2> 2075 2076 <p>MagickFunctionImage() applys an arithmetic, relational, or logical expression to an image. Use these operators to lighten or darken an image, to increase or decrease contrast in an image, or to produce the "negative" of an image.</p> 2077 2078 <p>The format of the MagickFunctionImage method is:</p> 2079 2080 <pre class="text"> 2081 MagickBooleanType MagickFunctionImage(MagickWand *wand, 2082 const MagickFunction function,const size_t number_arguments, 2083 const double *arguments) 2084 </pre> 2085 2086 <p>A description of each parameter follows:</p> 2087 2088 <dd> 2089 </dd> 2090 2091 <dd> </dd> 2092 <dl class="dl-horizontal"> 2093 <dt>wand</dt> 2094 <dd>the magick wand. </dd> 2095 2096 <dd> </dd> 2097 <dt>function</dt> 2098 <dd>the image function. </dd> 2099 2100 <dd> </dd> 2101 <dt>number_arguments</dt> 2102 <dd>the number of function arguments. </dd> 2103 2104 <dd> </dd> 2105 <dt>arguments</dt> 2106 <dd>the function arguments. </dd> 2107 2108 <dd> </dd> 2109 </dl> 2110 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickFxImage">MagickFxImage</a></h2> 2111 2112 <p>MagickFxImage() evaluate expression for each pixel in the image.</p> 2113 2114 <p>The format of the MagickFxImage method is:</p> 2115 2116 <pre class="text"> 2117 MagickWand *MagickFxImage(MagickWand *wand,const char *expression) 2118 </pre> 2119 2120 <p>A description of each parameter follows:</p> 2121 2122 <dd> 2123 </dd> 2124 2125 <dd> </dd> 2126 <dl class="dl-horizontal"> 2127 <dt>wand</dt> 2128 <dd>the magick wand. </dd> 2129 2130 <dd> </dd> 2131 <dt>expression</dt> 2132 <dd>the expression. </dd> 2133 2134 <dd> </dd> 2135 </dl> 2136 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGammaImage">MagickGammaImage</a></h2> 2137 2138 <p>MagickGammaImage() gamma-corrects an image. The same image viewed on different devices will have perceptual differences in the way the image's intensities are represented on the screen. Specify individual gamma levels for the red, green, and blue channels, or adjust all three with the gamma parameter. Values typically range from 0.8 to 2.3.</p> 2139 2140 <p>You can also reduce the influence of a particular channel with a gamma value of 0.</p> 2141 2142 <p>The format of the MagickGammaImage method is:</p> 2143 2144 <pre class="text"> 2145 MagickBooleanType MagickGammaImage(MagickWand *wand,const double gamma) 2146 </pre> 2147 2148 <p>A description of each parameter follows:</p> 2149 2150 <dd> 2151 </dd> 2152 2153 <dd> </dd> 2154 <dl class="dl-horizontal"> 2155 <dt>wand</dt> 2156 <dd>the magick wand. </dd> 2157 2158 <dd> </dd> 2159 <dt>level</dt> 2160 <dd>Define the level of gamma correction. </dd> 2161 2162 <dd> </dd> 2163 </dl> 2164 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGaussianBlurImage">MagickGaussianBlurImage</a></h2> 2165 2166 <p>MagickGaussianBlurImage() blurs an image. We convolve the image with a Gaussian operator of the given radius and standard deviation (sigma). For reasonable results, the radius should be larger than sigma. Use a radius of 0 and MagickGaussianBlurImage() selects a suitable radius for you.</p> 2167 2168 <p>The format of the MagickGaussianBlurImage method is:</p> 2169 2170 <pre class="text"> 2171 MagickBooleanType MagickGaussianBlurImage(MagickWand *wand, 2172 const double radius,const double sigma) 2173 </pre> 2174 2175 <p>A description of each parameter follows:</p> 2176 2177 <dd> 2178 </dd> 2179 2180 <dd> </dd> 2181 <dl class="dl-horizontal"> 2182 <dt>wand</dt> 2183 <dd>the magick wand. </dd> 2184 2185 <dd> </dd> 2186 <dt>radius</dt> 2187 <dd>the radius of the Gaussian, in pixels, not counting the center pixel. </dd> 2188 2189 <dd> </dd> 2190 <dt>sigma</dt> 2191 <dd>the standard deviation of the Gaussian, in pixels. </dd> 2192 2193 <dd> </dd> 2194 </dl> 2195 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImage">MagickGetImage</a></h2> 2196 2197 <p>MagickGetImage() gets the image at the current image index.</p> 2198 2199 <p>The format of the MagickGetImage method is:</p> 2200 2201 <pre class="text"> 2202 MagickWand *MagickGetImage(MagickWand *wand) 2203 </pre> 2204 2205 <p>A description of each parameter follows:</p> 2206 2207 <dd> 2208 </dd> 2209 2210 <dd> </dd> 2211 <dl class="dl-horizontal"> 2212 <dt>wand</dt> 2213 <dd>the magick wand. </dd> 2214 2215 <dd> </dd> 2216 </dl> 2217 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageAlphaChannel">MagickGetImageAlphaChannel</a></h2> 2218 2219 <p>MagickGetImageAlphaChannel() returns MagickFalse if the image alpha channel is not activated. That is, the image is RGB rather than RGBA or CMYK rather than CMYKA.</p> 2220 2221 <p>The format of the MagickGetImageAlphaChannel method is:</p> 2222 2223 <pre class="text"> 2224 MagickBooleanType MagickGetImageAlphaChannel(MagickWand *wand) 2225 </pre> 2226 2227 <p>A description of each parameter follows:</p> 2228 2229 <dd> 2230 </dd> 2231 2232 <dd> </dd> 2233 <dl class="dl-horizontal"> 2234 <dt>wand</dt> 2235 <dd>the magick wand. </dd> 2236 2237 <dd> </dd> 2238 </dl> 2239 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageAlhpaColor">MagickGetImageAlhpaColor</a></h2> 2240 2241 <p>MagickGetImageAlhpaColor() returns the image alpha color.</p> 2242 2243 <p>The format of the MagickGetImageAlhpaColor method is:</p> 2244 2245 <pre class="text"> 2246 MagickBooleanType MagickGetImageAlhpaColor(MagickWand *wand, 2247 PixelWand *alpha_color) 2248 </pre> 2249 2250 <p>A description of each parameter follows:</p> 2251 2252 <dd> 2253 </dd> 2254 2255 <dd> </dd> 2256 <dl class="dl-horizontal"> 2257 <dt>wand</dt> 2258 <dd>the magick wand. </dd> 2259 2260 <dd> </dd> 2261 <dt>alpha_color</dt> 2262 <dd>return the alpha color. </dd> 2263 2264 <dd> </dd> 2265 </dl> 2266 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageMask">MagickGetImageMask</a></h2> 2267 2268 <p>MagickGetImageMask() gets the image clip mask at the current image index.</p> 2269 2270 <p>The format of the MagickGetImageMask method is:</p> 2271 2272 <pre class="text"> 2273 MagickWand *MagickGetImageMask(MagickWand *wand) 2274 </pre> 2275 2276 <p>A description of each parameter follows:</p> 2277 2278 <dd> 2279 </dd> 2280 2281 <dd> </dd> 2282 <dl class="dl-horizontal"> 2283 <dt>wand</dt> 2284 <dd>the magick wand. </dd> 2285 2286 <dd> </dd> 2287 <dt>type</dt> 2288 <dd>type of mask, ReadPixelMask or WritePixelMask. </dd> 2289 2290 <dd> </dd> 2291 </dl> 2292 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageBackgroundColor">MagickGetImageBackgroundColor</a></h2> 2293 2294 <p>MagickGetImageBackgroundColor() returns the image background color.</p> 2295 2296 <p>The format of the MagickGetImageBackgroundColor method is:</p> 2297 2298 <pre class="text"> 2299 MagickBooleanType MagickGetImageBackgroundColor(MagickWand *wand, 2300 PixelWand *background_color) 2301 </pre> 2302 2303 <p>A description of each parameter follows:</p> 2304 2305 <dd> 2306 </dd> 2307 2308 <dd> </dd> 2309 <dl class="dl-horizontal"> 2310 <dt>wand</dt> 2311 <dd>the magick wand. </dd> 2312 2313 <dd> </dd> 2314 <dt>background_color</dt> 2315 <dd>Return the background color. </dd> 2316 2317 <dd> </dd> 2318 </dl> 2319 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageBlob">MagickGetImageBlob</a></h2> 2320 2321 <p>MagickGetImageBlob() implements direct to memory image formats. It returns the image as a blob (a formatted "file" in memory) and its length, starting from the current position in the image sequence. Use MagickSetImageFormat() to set the format to write to the blob (GIF, JPEG, PNG, etc.).</p> 2322 2323 <p>Utilize MagickResetIterator() to ensure the write is from the beginning of the image sequence.</p> 2324 2325 <p>Use MagickRelinquishMemory() to free the blob when you are done with it.</p> 2326 2327 <p>The format of the MagickGetImageBlob method is:</p> 2328 2329 <pre class="text"> 2330 unsigned char *MagickGetImageBlob(MagickWand *wand,size_t *length) 2331 </pre> 2332 2333 <p>A description of each parameter follows:</p> 2334 2335 <dd> 2336 </dd> 2337 2338 <dd> </dd> 2339 <dl class="dl-horizontal"> 2340 <dt>wand</dt> 2341 <dd>the magick wand. </dd> 2342 2343 <dd> </dd> 2344 <dt>length</dt> 2345 <dd>the length of the blob. </dd> 2346 2347 <dd> </dd> 2348 </dl> 2349 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageBlob">MagickGetImageBlob</a></h2> 2350 2351 <p>MagickGetImageBlob() implements direct to memory image formats. It returns the image sequence as a blob and its length. The format of the image determines the format of the returned blob (GIF, JPEG, PNG, etc.). To return a different image format, use MagickSetImageFormat().</p> 2352 2353 <p>Note, some image formats do not permit multiple images to the same image stream (e.g. JPEG). in this instance, just the first image of the sequence is returned as a blob.</p> 2354 2355 <p>The format of the MagickGetImagesBlob method is:</p> 2356 2357 <pre class="text"> 2358 unsigned char *MagickGetImagesBlob(MagickWand *wand,size_t *length) 2359 </pre> 2360 2361 <p>A description of each parameter follows:</p> 2362 2363 <dd> 2364 </dd> 2365 2366 <dd> </dd> 2367 <dl class="dl-horizontal"> 2368 <dt>wand</dt> 2369 <dd>the magick wand. </dd> 2370 2371 <dd> </dd> 2372 <dt>length</dt> 2373 <dd>the length of the blob. </dd> 2374 2375 <dd> </dd> 2376 </dl> 2377 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageBluePrimary">MagickGetImageBluePrimary</a></h2> 2378 2379 <p>MagickGetImageBluePrimary() returns the chromaticy blue primary point for the image.</p> 2380 2381 <p>The format of the MagickGetImageBluePrimary method is:</p> 2382 2383 <pre class="text"> 2384 MagickBooleanType MagickGetImageBluePrimary(MagickWand *wand,double *x, 2385 double *y,double *z) 2386 </pre> 2387 2388 <p>A description of each parameter follows:</p> 2389 2390 <dd> 2391 </dd> 2392 2393 <dd> </dd> 2394 <dl class="dl-horizontal"> 2395 <dt>wand</dt> 2396 <dd>the magick wand. </dd> 2397 2398 <dd> </dd> 2399 <dt>x</dt> 2400 <dd>the chromaticity blue primary x-point. </dd> 2401 2402 <dd> </dd> 2403 <dt>y</dt> 2404 <dd>the chromaticity blue primary y-point. </dd> 2405 2406 <dd> </dd> 2407 <dt>z</dt> 2408 <dd>the chromaticity blue primary z-point. </dd> 2409 2410 <dd> </dd> 2411 </dl> 2412 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageBorderColor">MagickGetImageBorderColor</a></h2> 2413 2414 <p>MagickGetImageBorderColor() returns the image border color.</p> 2415 2416 <p>The format of the MagickGetImageBorderColor method is:</p> 2417 2418 <pre class="text"> 2419 MagickBooleanType MagickGetImageBorderColor(MagickWand *wand, 2420 PixelWand *border_color) 2421 </pre> 2422 2423 <p>A description of each parameter follows:</p> 2424 2425 <dd> 2426 </dd> 2427 2428 <dd> </dd> 2429 <dl class="dl-horizontal"> 2430 <dt>wand</dt> 2431 <dd>the magick wand. </dd> 2432 2433 <dd> </dd> 2434 <dt>border_color</dt> 2435 <dd>Return the border color. </dd> 2436 2437 <dd> </dd> 2438 </dl> 2439 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageFeatures">MagickGetImageFeatures</a></h2> 2440 2441 <p>MagickGetImageFeatures() returns features for each channel in the image in each of four directions (horizontal, vertical, left and right diagonals) for the specified distance. The features include the angular second moment, contrast, correlation, sum of squares: variance, inverse difference moment, sum average, sum varience, sum entropy, entropy, difference variance, difference entropy, information measures of correlation 1, information measures of correlation 2, and maximum correlation coefficient. You can access the red channel contrast, for example, like this:</p> 2442 2443 <pre class="text"> 2444 channel_features=MagickGetImageFeatures(wand,1); 2445 contrast=channel_features[RedPixelChannel].contrast[0]; 2446 </pre> 2447 2448 <p>Use MagickRelinquishMemory() to free the statistics buffer.</p> 2449 2450 <p>The format of the MagickGetImageFeatures method is:</p> 2451 2452 <pre class="text"> 2453 ChannelFeatures *MagickGetImageFeatures(MagickWand *wand, 2454 const size_t distance) 2455 </pre> 2456 2457 <p>A description of each parameter follows:</p> 2458 2459 <dd> 2460 </dd> 2461 2462 <dd> </dd> 2463 <dl class="dl-horizontal"> 2464 <dt>wand</dt> 2465 <dd>the magick wand. </dd> 2466 2467 <dd> </dd> 2468 <dt>distance</dt> 2469 <dd>the distance. </dd> 2470 2471 <dd> </dd> 2472 </dl> 2473 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageKurtosis">MagickGetImageKurtosis</a></h2> 2474 2475 <p>MagickGetImageKurtosis() gets the kurtosis and skewness of one or more image channels.</p> 2476 2477 <p>The format of the MagickGetImageKurtosis method is:</p> 2478 2479 <pre class="text"> 2480 MagickBooleanType MagickGetImageKurtosis(MagickWand *wand, 2481 double *kurtosis,double *skewness) 2482 </pre> 2483 2484 <p>A description of each parameter follows:</p> 2485 2486 <dd> 2487 </dd> 2488 2489 <dd> </dd> 2490 <dl class="dl-horizontal"> 2491 <dt>wand</dt> 2492 <dd>the magick wand. </dd> 2493 2494 <dd> </dd> 2495 <dt>kurtosis</dt> 2496 <dd> The kurtosis for the specified channel(s). </dd> 2497 2498 <dd> </dd> 2499 <dt>skewness</dt> 2500 <dd> The skewness for the specified channel(s). </dd> 2501 2502 <dd> </dd> 2503 </dl> 2504 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageMean">MagickGetImageMean</a></h2> 2505 2506 <p>MagickGetImageMean() gets the mean and standard deviation of one or more image channels.</p> 2507 2508 <p>The format of the MagickGetImageMean method is:</p> 2509 2510 <pre class="text"> 2511 MagickBooleanType MagickGetImageMean(MagickWand *wand,double *mean, 2512 double *standard_deviation) 2513 </pre> 2514 2515 <p>A description of each parameter follows:</p> 2516 2517 <dd> 2518 </dd> 2519 2520 <dd> </dd> 2521 <dl class="dl-horizontal"> 2522 <dt>wand</dt> 2523 <dd>the magick wand. </dd> 2524 2525 <dd> </dd> 2526 <dt>channel</dt> 2527 <dd>the image channel(s). </dd> 2528 2529 <dd> </dd> 2530 <dt>mean</dt> 2531 <dd> The mean pixel value for the specified channel(s). </dd> 2532 2533 <dd> </dd> 2534 <dt>standard_deviation</dt> 2535 <dd> The standard deviation for the specified channel(s). </dd> 2536 2537 <dd> </dd> 2538 </dl> 2539 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageRange">MagickGetImageRange</a></h2> 2540 2541 <p>MagickGetImageRange() gets the range for one or more image channels.</p> 2542 2543 <p>The format of the MagickGetImageRange method is:</p> 2544 2545 <pre class="text"> 2546 MagickBooleanType MagickGetImageRange(MagickWand *wand,double *minima, 2547 double *maxima) 2548 </pre> 2549 2550 <p>A description of each parameter follows:</p> 2551 2552 <dd> 2553 </dd> 2554 2555 <dd> </dd> 2556 <dl class="dl-horizontal"> 2557 <dt>wand</dt> 2558 <dd>the magick wand. </dd> 2559 2560 <dd> </dd> 2561 <dt>minima</dt> 2562 <dd> The minimum pixel value for the specified channel(s). </dd> 2563 2564 <dd> </dd> 2565 <dt>maxima</dt> 2566 <dd> The maximum pixel value for the specified channel(s). </dd> 2567 2568 <dd> </dd> 2569 </dl> 2570 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageStatistics">MagickGetImageStatistics</a></h2> 2571 2572 <p>MagickGetImageStatistics() returns statistics for each channel in the image. The statistics include the channel depth, its minima and maxima, the mean, the standard deviation, the kurtosis and the skewness. You can access the red channel mean, for example, like this:</p> 2573 2574 <pre class="text"> 2575 channel_statistics=MagickGetImageStatistics(wand); 2576 red_mean=channel_statistics[RedPixelChannel].mean; 2577 </pre> 2578 2579 <p>Use MagickRelinquishMemory() to free the statistics buffer.</p> 2580 2581 <p>The format of the MagickGetImageStatistics method is:</p> 2582 2583 <pre class="text"> 2584 ChannelStatistics *MagickGetImageStatistics(MagickWand *wand) 2585 </pre> 2586 2587 <p>A description of each parameter follows:</p> 2588 2589 <dd> 2590 </dd> 2591 2592 <dd> </dd> 2593 <dl class="dl-horizontal"> 2594 <dt>wand</dt> 2595 <dd>the magick wand. </dd> 2596 2597 <dd> </dd> 2598 </dl> 2599 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageColormapColor">MagickGetImageColormapColor</a></h2> 2600 2601 <p>MagickGetImageColormapColor() returns the color of the specified colormap index.</p> 2602 2603 <p>The format of the MagickGetImageColormapColor method is:</p> 2604 2605 <pre class="text"> 2606 MagickBooleanType MagickGetImageColormapColor(MagickWand *wand, 2607 const size_t index,PixelWand *color) 2608 </pre> 2609 2610 <p>A description of each parameter follows:</p> 2611 2612 <dd> 2613 </dd> 2614 2615 <dd> </dd> 2616 <dl class="dl-horizontal"> 2617 <dt>wand</dt> 2618 <dd>the magick wand. </dd> 2619 2620 <dd> </dd> 2621 <dt>index</dt> 2622 <dd>the offset into the image colormap. </dd> 2623 2624 <dd> </dd> 2625 <dt>color</dt> 2626 <dd>Return the colormap color in this wand. </dd> 2627 2628 <dd> </dd> 2629 </dl> 2630 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageColors">MagickGetImageColors</a></h2> 2631 2632 <p>MagickGetImageColors() gets the number of unique colors in the image.</p> 2633 2634 <p>The format of the MagickGetImageColors method is:</p> 2635 2636 <pre class="text"> 2637 size_t MagickGetImageColors(MagickWand *wand) 2638 </pre> 2639 2640 <p>A description of each parameter follows:</p> 2641 2642 <dd> 2643 </dd> 2644 2645 <dd> </dd> 2646 <dl class="dl-horizontal"> 2647 <dt>wand</dt> 2648 <dd>the magick wand. </dd> 2649 2650 <dd> </dd> 2651 </dl> 2652 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageColorspace">MagickGetImageColorspace</a></h2> 2653 2654 <p>MagickGetImageColorspace() gets the image colorspace.</p> 2655 2656 <p>The format of the MagickGetImageColorspace method is:</p> 2657 2658 <pre class="text"> 2659 ColorspaceType MagickGetImageColorspace(MagickWand *wand) 2660 </pre> 2661 2662 <p>A description of each parameter follows:</p> 2663 2664 <dd> 2665 </dd> 2666 2667 <dd> </dd> 2668 <dl class="dl-horizontal"> 2669 <dt>wand</dt> 2670 <dd>the magick wand. </dd> 2671 2672 <dd> </dd> 2673 </dl> 2674 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageCompose">MagickGetImageCompose</a></h2> 2675 2676 <p>MagickGetImageCompose() returns the composite operator associated with the image.</p> 2677 2678 <p>The format of the MagickGetImageCompose method is:</p> 2679 2680 <pre class="text"> 2681 CompositeOperator MagickGetImageCompose(MagickWand *wand) 2682 </pre> 2683 2684 <p>A description of each parameter follows:</p> 2685 2686 <dd> 2687 </dd> 2688 2689 <dd> </dd> 2690 <dl class="dl-horizontal"> 2691 <dt>wand</dt> 2692 <dd>the magick wand. </dd> 2693 2694 <dd> </dd> 2695 </dl> 2696 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageCompression">MagickGetImageCompression</a></h2> 2697 2698 <p>MagickGetImageCompression() gets the image compression.</p> 2699 2700 <p>The format of the MagickGetImageCompression method is:</p> 2701 2702 <pre class="text"> 2703 CompressionType MagickGetImageCompression(MagickWand *wand) 2704 </pre> 2705 2706 <p>A description of each parameter follows:</p> 2707 2708 <dd> 2709 </dd> 2710 2711 <dd> </dd> 2712 <dl class="dl-horizontal"> 2713 <dt>wand</dt> 2714 <dd>the magick wand. </dd> 2715 2716 <dd> </dd> 2717 </dl> 2718 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageCompressionQuality">MagickGetImageCompressionQuality</a></h2> 2719 2720 <p>MagickGetImageCompressionQuality() gets the image compression quality.</p> 2721 2722 <p>The format of the MagickGetImageCompressionQuality method is:</p> 2723 2724 <pre class="text"> 2725 size_t MagickGetImageCompressionQuality(MagickWand *wand) 2726 </pre> 2727 2728 <p>A description of each parameter follows:</p> 2729 2730 <dd> 2731 </dd> 2732 2733 <dd> </dd> 2734 <dl class="dl-horizontal"> 2735 <dt>wand</dt> 2736 <dd>the magick wand. </dd> 2737 2738 <dd> </dd> 2739 </dl> 2740 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageDelay">MagickGetImageDelay</a></h2> 2741 2742 <p>MagickGetImageDelay() gets the image delay.</p> 2743 2744 <p>The format of the MagickGetImageDelay method is:</p> 2745 2746 <pre class="text"> 2747 size_t MagickGetImageDelay(MagickWand *wand) 2748 </pre> 2749 2750 <p>A description of each parameter follows:</p> 2751 2752 <dd> 2753 </dd> 2754 2755 <dd> </dd> 2756 <dl class="dl-horizontal"> 2757 <dt>wand</dt> 2758 <dd>the magick wand. </dd> 2759 2760 <dd> </dd> 2761 </dl> 2762 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageDepth">MagickGetImageDepth</a></h2> 2763 2764 <p>MagickGetImageDepth() gets the image depth.</p> 2765 2766 <p>The format of the MagickGetImageDepth method is:</p> 2767 2768 <pre class="text"> 2769 size_t MagickGetImageDepth(MagickWand *wand) 2770 </pre> 2771 2772 <p>A description of each parameter follows:</p> 2773 2774 <dd> 2775 </dd> 2776 2777 <dd> </dd> 2778 <dl class="dl-horizontal"> 2779 <dt>wand</dt> 2780 <dd>the magick wand. </dd> 2781 2782 <dd> </dd> 2783 </dl> 2784 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageDispose">MagickGetImageDispose</a></h2> 2785 2786 <p>MagickGetImageDispose() gets the image disposal method.</p> 2787 2788 <p>The format of the MagickGetImageDispose method is:</p> 2789 2790 <pre class="text"> 2791 DisposeType MagickGetImageDispose(MagickWand *wand) 2792 </pre> 2793 2794 <p>A description of each parameter follows:</p> 2795 2796 <dd> 2797 </dd> 2798 2799 <dd> </dd> 2800 <dl class="dl-horizontal"> 2801 <dt>wand</dt> 2802 <dd>the magick wand. </dd> 2803 2804 <dd> </dd> 2805 </dl> 2806 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageDistortion">MagickGetImageDistortion</a></h2> 2807 2808 <p>MagickGetImageDistortion() compares an image to a reconstructed image and returns the specified distortion metric.</p> 2809 2810 <p>The format of the MagickGetImageDistortion method is:</p> 2811 2812 <pre class="text"> 2813 MagickBooleanType MagickGetImageDistortion(MagickWand *wand, 2814 const MagickWand *reference,const MetricType metric, 2815 double *distortion) 2816 </pre> 2817 2818 <p>A description of each parameter follows:</p> 2819 2820 <dd> 2821 </dd> 2822 2823 <dd> </dd> 2824 <dl class="dl-horizontal"> 2825 <dt>wand</dt> 2826 <dd>the magick wand. </dd> 2827 2828 <dd> </dd> 2829 <dt>reference</dt> 2830 <dd>the reference wand. </dd> 2831 2832 <dd> </dd> 2833 <dt>metric</dt> 2834 <dd>the metric. </dd> 2835 2836 <dd> </dd> 2837 <dt>distortion</dt> 2838 <dd>the computed distortion between the images. </dd> 2839 2840 <dd> </dd> 2841 </dl> 2842 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageDistortions">MagickGetImageDistortions</a></h2> 2843 2844 <p>MagickGetImageDistortions() compares one or more pixel channels of an image to a reconstructed image and returns the specified distortion metrics.</p> 2845 2846 <p>Use MagickRelinquishMemory() to free the metrics when you are done with them.</p> 2847 2848 <p>The format of the MagickGetImageDistortion method is:</p> 2849 2850 <pre class="text"> 2851 double *MagickGetImageDistortion(MagickWand *wand, 2852 const MagickWand *reference,const MetricType metric) 2853 </pre> 2854 2855 <p>A description of each parameter follows:</p> 2856 2857 <dd> 2858 </dd> 2859 2860 <dd> </dd> 2861 <dl class="dl-horizontal"> 2862 <dt>wand</dt> 2863 <dd>the magick wand. </dd> 2864 2865 <dd> </dd> 2866 <dt>reference</dt> 2867 <dd>the reference wand. </dd> 2868 2869 <dd> </dd> 2870 <dt>metric</dt> 2871 <dd>the metric. </dd> 2872 2873 <dd> </dd> 2874 </dl> 2875 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageEndian">MagickGetImageEndian</a></h2> 2876 2877 <p>MagickGetImageEndian() gets the image endian.</p> 2878 2879 <p>The format of the MagickGetImageEndian method is:</p> 2880 2881 <pre class="text"> 2882 EndianType MagickGetImageEndian(MagickWand *wand) 2883 </pre> 2884 2885 <p>A description of each parameter follows:</p> 2886 2887 <dd> 2888 </dd> 2889 2890 <dd> </dd> 2891 <dl class="dl-horizontal"> 2892 <dt>wand</dt> 2893 <dd>the magick wand. </dd> 2894 2895 <dd> </dd> 2896 </dl> 2897 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageFilename">MagickGetImageFilename</a></h2> 2898 2899 <p>MagickGetImageFilename() returns the filename of a particular image in a sequence.</p> 2900 2901 <p>The format of the MagickGetImageFilename method is:</p> 2902 2903 <pre class="text"> 2904 char *MagickGetImageFilename(MagickWand *wand) 2905 </pre> 2906 2907 <p>A description of each parameter follows:</p> 2908 2909 <dd> 2910 </dd> 2911 2912 <dd> </dd> 2913 <dl class="dl-horizontal"> 2914 <dt>wand</dt> 2915 <dd>the magick wand. </dd> 2916 2917 <dd> </dd> 2918 </dl> 2919 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageFormat">MagickGetImageFormat</a></h2> 2920 2921 <p>MagickGetImageFormat() returns the format of a particular image in a sequence.</p> 2922 2923 <p>The format of the MagickGetImageFormat method is:</p> 2924 2925 <pre class="text"> 2926 char *MagickGetImageFormat(MagickWand *wand) 2927 </pre> 2928 2929 <p>A description of each parameter follows:</p> 2930 2931 <dd> 2932 </dd> 2933 2934 <dd> </dd> 2935 <dl class="dl-horizontal"> 2936 <dt>wand</dt> 2937 <dd>the magick wand. </dd> 2938 2939 <dd> </dd> 2940 </dl> 2941 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageFuzz">MagickGetImageFuzz</a></h2> 2942 2943 <p>MagickGetImageFuzz() gets the image fuzz.</p> 2944 2945 <p>The format of the MagickGetImageFuzz method is:</p> 2946 2947 <pre class="text"> 2948 double MagickGetImageFuzz(MagickWand *wand) 2949 </pre> 2950 2951 <p>A description of each parameter follows:</p> 2952 2953 <dd> 2954 </dd> 2955 2956 <dd> </dd> 2957 <dl class="dl-horizontal"> 2958 <dt>wand</dt> 2959 <dd>the magick wand. </dd> 2960 2961 <dd> </dd> 2962 </dl> 2963 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageGamma">MagickGetImageGamma</a></h2> 2964 2965 <p>MagickGetImageGamma() gets the image gamma.</p> 2966 2967 <p>The format of the MagickGetImageGamma method is:</p> 2968 2969 <pre class="text"> 2970 double MagickGetImageGamma(MagickWand *wand) 2971 </pre> 2972 2973 <p>A description of each parameter follows:</p> 2974 2975 <dd> 2976 </dd> 2977 2978 <dd> </dd> 2979 <dl class="dl-horizontal"> 2980 <dt>wand</dt> 2981 <dd>the magick wand. </dd> 2982 2983 <dd> </dd> 2984 </dl> 2985 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageGravity">MagickGetImageGravity</a></h2> 2986 2987 <p>MagickGetImageGravity() gets the image gravity.</p> 2988 2989 <p>The format of the MagickGetImageGravity method is:</p> 2990 2991 <pre class="text"> 2992 GravityType MagickGetImageGravity(MagickWand *wand) 2993 </pre> 2994 2995 <p>A description of each parameter follows:</p> 2996 2997 <dd> 2998 </dd> 2999 3000 <dd> </dd> 3001 <dl class="dl-horizontal"> 3002 <dt>wand</dt> 3003 <dd>the magick wand. </dd> 3004 3005 <dd> </dd> 3006 </dl> 3007 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageGreenPrimary">MagickGetImageGreenPrimary</a></h2> 3008 3009 <p>MagickGetImageGreenPrimary() returns the chromaticy green primary point.</p> 3010 3011 <p>The format of the MagickGetImageGreenPrimary method is:</p> 3012 3013 <pre class="text"> 3014 MagickBooleanType MagickGetImageGreenPrimary(MagickWand *wand,double *x, 3015 double *y,double *z) 3016 </pre> 3017 3018 <p>A description of each parameter follows:</p> 3019 3020 <dd> 3021 </dd> 3022 3023 <dd> </dd> 3024 <dl class="dl-horizontal"> 3025 <dt>wand</dt> 3026 <dd>the magick wand. </dd> 3027 3028 <dd> </dd> 3029 <dt>x</dt> 3030 <dd>the chromaticity green primary x-point. </dd> 3031 3032 <dd> </dd> 3033 <dt>y</dt> 3034 <dd>the chromaticity green primary y-point. </dd> 3035 3036 <dd> </dd> 3037 <dt>z</dt> 3038 <dd>the chromaticity green primary z-point. </dd> 3039 3040 <dd> </dd> 3041 </dl> 3042 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageHeight">MagickGetImageHeight</a></h2> 3043 3044 <p>MagickGetImageHeight() returns the image height.</p> 3045 3046 <p>The format of the MagickGetImageHeight method is:</p> 3047 3048 <pre class="text"> 3049 size_t MagickGetImageHeight(MagickWand *wand) 3050 </pre> 3051 3052 <p>A description of each parameter follows:</p> 3053 3054 <dd> 3055 </dd> 3056 3057 <dd> </dd> 3058 <dl class="dl-horizontal"> 3059 <dt>wand</dt> 3060 <dd>the magick wand. </dd> 3061 3062 <dd> </dd> 3063 </dl> 3064 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageHistogram">MagickGetImageHistogram</a></h2> 3065 3066 <p>MagickGetImageHistogram() returns the image histogram as an array of PixelWand wands.</p> 3067 3068 <p>The format of the MagickGetImageHistogram method is:</p> 3069 3070 <pre class="text"> 3071 PixelWand **MagickGetImageHistogram(MagickWand *wand, 3072 size_t *number_colors) 3073 </pre> 3074 3075 <p>A description of each parameter follows:</p> 3076 3077 <dd> 3078 </dd> 3079 3080 <dd> </dd> 3081 <dl class="dl-horizontal"> 3082 <dt>wand</dt> 3083 <dd>the magick wand. </dd> 3084 3085 <dd> </dd> 3086 <dt>number_colors</dt> 3087 <dd>the number of unique colors in the image and the number of pixel wands returned. </dd> 3088 3089 <dd> </dd> 3090 </dl> 3091 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageInterlaceScheme">MagickGetImageInterlaceScheme</a></h2> 3092 3093 <p>MagickGetImageInterlaceScheme() gets the image interlace scheme.</p> 3094 3095 <p>The format of the MagickGetImageInterlaceScheme method is:</p> 3096 3097 <pre class="text"> 3098 InterlaceType MagickGetImageInterlaceScheme(MagickWand *wand) 3099 </pre> 3100 3101 <p>A description of each parameter follows:</p> 3102 3103 <dd> 3104 </dd> 3105 3106 <dd> </dd> 3107 <dl class="dl-horizontal"> 3108 <dt>wand</dt> 3109 <dd>the magick wand. </dd> 3110 3111 <dd> </dd> 3112 </dl> 3113 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageInterpolateMethod">MagickGetImageInterpolateMethod</a></h2> 3114 3115 <p>MagickGetImageInterpolateMethod() returns the interpolation method for the sepcified image.</p> 3116 3117 <p>The format of the MagickGetImageInterpolateMethod method is:</p> 3118 3119 <pre class="text"> 3120 PixelInterpolateMethod MagickGetImageInterpolateMethod(MagickWand *wand) 3121 </pre> 3122 3123 <p>A description of each parameter follows:</p> 3124 3125 <dd> 3126 </dd> 3127 3128 <dd> </dd> 3129 <dl class="dl-horizontal"> 3130 <dt>wand</dt> 3131 <dd>the magick wand. </dd> 3132 3133 <dd> </dd> 3134 </dl> 3135 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageIterations">MagickGetImageIterations</a></h2> 3136 3137 <p>MagickGetImageIterations() gets the image iterations.</p> 3138 3139 <p>The format of the MagickGetImageIterations method is:</p> 3140 3141 <pre class="text"> 3142 size_t MagickGetImageIterations(MagickWand *wand) 3143 </pre> 3144 3145 <p>A description of each parameter follows:</p> 3146 3147 <dd> 3148 </dd> 3149 3150 <dd> </dd> 3151 <dl class="dl-horizontal"> 3152 <dt>wand</dt> 3153 <dd>the magick wand. </dd> 3154 3155 <dd> </dd> 3156 </dl> 3157 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageLength">MagickGetImageLength</a></h2> 3158 3159 <p>MagickGetImageLength() returns the image length in bytes.</p> 3160 3161 <p>The format of the MagickGetImageLength method is:</p> 3162 3163 <pre class="text"> 3164 MagickBooleanType MagickGetImageLength(MagickWand *wand, 3165 MagickSizeType *length) 3166 </pre> 3167 3168 <p>A description of each parameter follows:</p> 3169 3170 <dd> 3171 </dd> 3172 3173 <dd> </dd> 3174 <dl class="dl-horizontal"> 3175 <dt>wand</dt> 3176 <dd>the magick wand. </dd> 3177 3178 <dd> </dd> 3179 <dt>length</dt> 3180 <dd>the image length in bytes. </dd> 3181 3182 <dd> </dd> 3183 </dl> 3184 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageOrientation">MagickGetImageOrientation</a></h2> 3185 3186 <p>MagickGetImageOrientation() returns the image orientation.</p> 3187 3188 <p>The format of the MagickGetImageOrientation method is:</p> 3189 3190 <pre class="text"> 3191 OrientationType MagickGetImageOrientation(MagickWand *wand) 3192 </pre> 3193 3194 <p>A description of each parameter follows:</p> 3195 3196 <dd> 3197 </dd> 3198 3199 <dd> </dd> 3200 <dl class="dl-horizontal"> 3201 <dt>wand</dt> 3202 <dd>the magick wand. </dd> 3203 3204 <dd> </dd> 3205 </dl> 3206 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImagePage">MagickGetImagePage</a></h2> 3207 3208 <p>MagickGetImagePage() returns the page geometry associated with the image.</p> 3209 3210 <p>The format of the MagickGetImagePage method is:</p> 3211 3212 <pre class="text"> 3213 MagickBooleanType MagickGetImagePage(MagickWand *wand, 3214 size_t *width,size_t *height,ssize_t *x,ssize_t *y) 3215 </pre> 3216 3217 <p>A description of each parameter follows:</p> 3218 3219 <dd> 3220 </dd> 3221 3222 <dd> </dd> 3223 <dl class="dl-horizontal"> 3224 <dt>wand</dt> 3225 <dd>the magick wand. </dd> 3226 3227 <dd> </dd> 3228 <dt>width</dt> 3229 <dd>the page width. </dd> 3230 3231 <dd> </dd> 3232 <dt>height</dt> 3233 <dd>the page height. </dd> 3234 3235 <dd> </dd> 3236 <dt>x</dt> 3237 <dd>the page x-offset. </dd> 3238 3239 <dd> </dd> 3240 <dt>y</dt> 3241 <dd>the page y-offset. </dd> 3242 3243 <dd> </dd> 3244 </dl> 3245 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImagePixelColor">MagickGetImagePixelColor</a></h2> 3246 3247 <p>MagickGetImagePixelColor() returns the color of the specified pixel.</p> 3248 3249 <p>The format of the MagickGetImagePixelColor method is:</p> 3250 3251 <pre class="text"> 3252 MagickBooleanType MagickGetImagePixelColor(MagickWand *wand, 3253 const ssize_t x,const ssize_t y,PixelWand *color) 3254 </pre> 3255 3256 <p>A description of each parameter follows:</p> 3257 3258 <dd> 3259 </dd> 3260 3261 <dd> </dd> 3262 <dl class="dl-horizontal"> 3263 <dt>wand</dt> 3264 <dd>the magick wand. </dd> 3265 3266 <dd> </dd> 3267 <dt>x,y</dt> 3268 <dd>the pixel offset into the image. </dd> 3269 3270 <dd> </dd> 3271 <dt>color</dt> 3272 <dd>Return the colormap color in this wand. </dd> 3273 3274 <dd> </dd> 3275 </dl> 3276 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageRedPrimary">MagickGetImageRedPrimary</a></h2> 3277 3278 <p>MagickGetImageRedPrimary() returns the chromaticy red primary point.</p> 3279 3280 <p>The format of the MagickGetImageRedPrimary method is:</p> 3281 3282 <pre class="text"> 3283 MagickBooleanType MagickGetImageRedPrimary(MagickWand *wand,double *x, 3284 double *y, double *z) 3285 </pre> 3286 3287 <p>A description of each parameter follows:</p> 3288 3289 <dd> 3290 </dd> 3291 3292 <dd> </dd> 3293 <dl class="dl-horizontal"> 3294 <dt>wand</dt> 3295 <dd>the magick wand. </dd> 3296 3297 <dd> </dd> 3298 <dt>x</dt> 3299 <dd>the chromaticity red primary x-point. </dd> 3300 3301 <dd> </dd> 3302 <dt>y</dt> 3303 <dd>the chromaticity red primary y-point. </dd> 3304 3305 <dd> </dd> 3306 <dt>z</dt> 3307 <dd>the chromaticity red primary z-point. </dd> 3308 3309 <dd> </dd> 3310 </dl> 3311 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageRegion">MagickGetImageRegion</a></h2> 3312 3313 <p>MagickGetImageRegion() extracts a region of the image and returns it as a a new wand.</p> 3314 3315 <p>The format of the MagickGetImageRegion method is:</p> 3316 3317 <pre class="text"> 3318 MagickWand *MagickGetImageRegion(MagickWand *wand, 3319 const size_t width,const size_t height,const ssize_t x, 3320 const ssize_t y) 3321 </pre> 3322 3323 <p>A description of each parameter follows:</p> 3324 3325 <dd> 3326 </dd> 3327 3328 <dd> </dd> 3329 <dl class="dl-horizontal"> 3330 <dt>wand</dt> 3331 <dd>the magick wand. </dd> 3332 3333 <dd> </dd> 3334 <dt>width</dt> 3335 <dd>the region width. </dd> 3336 3337 <dd> </dd> 3338 <dt>height</dt> 3339 <dd>the region height. </dd> 3340 3341 <dd> </dd> 3342 <dt>x</dt> 3343 <dd>the region x offset. </dd> 3344 3345 <dd> </dd> 3346 <dt>y</dt> 3347 <dd>the region y offset. </dd> 3348 3349 <dd> </dd> 3350 </dl> 3351 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageRenderingIntent">MagickGetImageRenderingIntent</a></h2> 3352 3353 <p>MagickGetImageRenderingIntent() gets the image rendering intent.</p> 3354 3355 <p>The format of the MagickGetImageRenderingIntent method is:</p> 3356 3357 <pre class="text"> 3358 RenderingIntent MagickGetImageRenderingIntent(MagickWand *wand) 3359 </pre> 3360 3361 <p>A description of each parameter follows:</p> 3362 3363 <dd> 3364 </dd> 3365 3366 <dd> </dd> 3367 <dl class="dl-horizontal"> 3368 <dt>wand</dt> 3369 <dd>the magick wand. </dd> 3370 3371 <dd> </dd> 3372 </dl> 3373 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageResolution">MagickGetImageResolution</a></h2> 3374 3375 <p>MagickGetImageResolution() gets the image X and Y resolution.</p> 3376 3377 <p>The format of the MagickGetImageResolution method is:</p> 3378 3379 <pre class="text"> 3380 MagickBooleanType MagickGetImageResolution(MagickWand *wand,double *x, 3381 double *y) 3382 </pre> 3383 3384 <p>A description of each parameter follows:</p> 3385 3386 <dd> 3387 </dd> 3388 3389 <dd> </dd> 3390 <dl class="dl-horizontal"> 3391 <dt>wand</dt> 3392 <dd>the magick wand. </dd> 3393 3394 <dd> </dd> 3395 <dt>x</dt> 3396 <dd>the image x-resolution. </dd> 3397 3398 <dd> </dd> 3399 <dt>y</dt> 3400 <dd>the image y-resolution. </dd> 3401 3402 <dd> </dd> 3403 </dl> 3404 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageScene">MagickGetImageScene</a></h2> 3405 3406 <p>MagickGetImageScene() gets the image scene.</p> 3407 3408 <p>The format of the MagickGetImageScene method is:</p> 3409 3410 <pre class="text"> 3411 size_t MagickGetImageScene(MagickWand *wand) 3412 </pre> 3413 3414 <p>A description of each parameter follows:</p> 3415 3416 <dd> 3417 </dd> 3418 3419 <dd> </dd> 3420 <dl class="dl-horizontal"> 3421 <dt>wand</dt> 3422 <dd>the magick wand. </dd> 3423 3424 <dd> </dd> 3425 </dl> 3426 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageSignature">MagickGetImageSignature</a></h2> 3427 3428 <p>MagickGetImageSignature() generates an SHA-256 message digest for the image pixel stream.</p> 3429 3430 <p>The format of the MagickGetImageSignature method is:</p> 3431 3432 <pre class="text"> 3433 char *MagickGetImageSignature(MagickWand *wand) 3434 </pre> 3435 3436 <p>A description of each parameter follows:</p> 3437 3438 <dd> 3439 </dd> 3440 3441 <dd> </dd> 3442 <dl class="dl-horizontal"> 3443 <dt>wand</dt> 3444 <dd>the magick wand. </dd> 3445 3446 <dd> </dd> 3447 </dl> 3448 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageTicksPerSecond">MagickGetImageTicksPerSecond</a></h2> 3449 3450 <p>MagickGetImageTicksPerSecond() gets the image ticks-per-second.</p> 3451 3452 <p>The format of the MagickGetImageTicksPerSecond method is:</p> 3453 3454 <pre class="text"> 3455 size_t MagickGetImageTicksPerSecond(MagickWand *wand) 3456 </pre> 3457 3458 <p>A description of each parameter follows:</p> 3459 3460 <dd> 3461 </dd> 3462 3463 <dd> </dd> 3464 <dl class="dl-horizontal"> 3465 <dt>wand</dt> 3466 <dd>the magick wand. </dd> 3467 3468 <dd> </dd> 3469 </dl> 3470 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageType">MagickGetImageType</a></h2> 3471 3472 <p>MagickGetImageType() gets the potential image type:</p> 3473 3474 <p>Bilevel Grayscale GrayscaleMatte Palette PaletteMatte TrueColor TrueColorMatte ColorSeparation ColorSeparationMatte</p> 3475 3476 <p>The format of the MagickGetImageType method is:</p> 3477 3478 <pre class="text"> 3479 ImageType MagickGetImageType(MagickWand *wand) 3480 </pre> 3481 3482 <p>A description of each parameter follows:</p> 3483 3484 <dd> 3485 </dd> 3486 3487 <dd> </dd> 3488 <dl class="dl-horizontal"> 3489 <dt>wand</dt> 3490 <dd>the magick wand. </dd> 3491 3492 <dd> </dd> 3493 </dl> 3494 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageUnits">MagickGetImageUnits</a></h2> 3495 3496 <p>MagickGetImageUnits() gets the image units of resolution.</p> 3497 3498 <p>The format of the MagickGetImageUnits method is:</p> 3499 3500 <pre class="text"> 3501 ResolutionType MagickGetImageUnits(MagickWand *wand) 3502 </pre> 3503 3504 <p>A description of each parameter follows:</p> 3505 3506 <dd> 3507 </dd> 3508 3509 <dd> </dd> 3510 <dl class="dl-horizontal"> 3511 <dt>wand</dt> 3512 <dd>the magick wand. </dd> 3513 3514 <dd> </dd> 3515 </dl> 3516 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageVirtualPixelMethod">MagickGetImageVirtualPixelMethod</a></h2> 3517 3518 <p>MagickGetImageVirtualPixelMethod() returns the virtual pixel method for the sepcified image.</p> 3519 3520 <p>The format of the MagickGetImageVirtualPixelMethod method is:</p> 3521 3522 <pre class="text"> 3523 VirtualPixelMethod MagickGetImageVirtualPixelMethod(MagickWand *wand) 3524 </pre> 3525 3526 <p>A description of each parameter follows:</p> 3527 3528 <dd> 3529 </dd> 3530 3531 <dd> </dd> 3532 <dl class="dl-horizontal"> 3533 <dt>wand</dt> 3534 <dd>the magick wand. </dd> 3535 3536 <dd> </dd> 3537 </dl> 3538 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageWhitePoint">MagickGetImageWhitePoint</a></h2> 3539 3540 <p>MagickGetImageWhitePoint() returns the chromaticy white point.</p> 3541 3542 <p>The format of the MagickGetImageWhitePoint method is:</p> 3543 3544 <pre class="text"> 3545 MagickBooleanType MagickGetImageWhitePoint(MagickWand *wand,double *x, 3546 double *y,double *z) 3547 </pre> 3548 3549 <p>A description of each parameter follows:</p> 3550 3551 <dd> 3552 </dd> 3553 3554 <dd> </dd> 3555 <dl class="dl-horizontal"> 3556 <dt>wand</dt> 3557 <dd>the magick wand. </dd> 3558 3559 <dd> </dd> 3560 <dt>x</dt> 3561 <dd>the chromaticity white x-point. </dd> 3562 3563 <dd> </dd> 3564 <dt>y</dt> 3565 <dd>the chromaticity white y-point. </dd> 3566 3567 <dd> </dd> 3568 <dt>z</dt> 3569 <dd>the chromaticity white z-point. </dd> 3570 3571 <dd> </dd> 3572 </dl> 3573 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageWidth">MagickGetImageWidth</a></h2> 3574 3575 <p>MagickGetImageWidth() returns the image width.</p> 3576 3577 <p>The format of the MagickGetImageWidth method is:</p> 3578 3579 <pre class="text"> 3580 size_t MagickGetImageWidth(MagickWand *wand) 3581 </pre> 3582 3583 <p>A description of each parameter follows:</p> 3584 3585 <dd> 3586 </dd> 3587 3588 <dd> </dd> 3589 <dl class="dl-horizontal"> 3590 <dt>wand</dt> 3591 <dd>the magick wand. </dd> 3592 3593 <dd> </dd> 3594 </dl> 3595 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetNumberImages">MagickGetNumberImages</a></h2> 3596 3597 <p>MagickGetNumberImages() returns the number of images associated with a magick wand.</p> 3598 3599 <p>The format of the MagickGetNumberImages method is:</p> 3600 3601 <pre class="text"> 3602 size_t MagickGetNumberImages(MagickWand *wand) 3603 </pre> 3604 3605 <p>A description of each parameter follows:</p> 3606 3607 <dd> 3608 </dd> 3609 3610 <dd> </dd> 3611 <dl class="dl-horizontal"> 3612 <dt>wand</dt> 3613 <dd>the magick wand. </dd> 3614 3615 <dd> </dd> 3616 </dl> 3617 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickGetImageTotalInkDensity">MagickGetImageTotalInkDensity</a></h2> 3618 3619 <p>MagickGetImageTotalInkDensity() gets the image total ink density.</p> 3620 3621 <p>The format of the MagickGetImageTotalInkDensity method is:</p> 3622 3623 <pre class="text"> 3624 double MagickGetImageTotalInkDensity(MagickWand *wand) 3625 </pre> 3626 3627 <p>A description of each parameter follows:</p> 3628 3629 <dd> 3630 </dd> 3631 3632 <dd> </dd> 3633 <dl class="dl-horizontal"> 3634 <dt>wand</dt> 3635 <dd>the magick wand. </dd> 3636 3637 <dd> </dd> 3638 </dl> 3639 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickHaldClutImage">MagickHaldClutImage</a></h2> 3640 3641 <p>MagickHaldClutImage() replaces colors in the image from a Hald color lookup table. A Hald color lookup table is a 3-dimensional color cube mapped to 2 dimensions. Create it with the HALD coder. You can apply any color transformation to the Hald image and then use this method to apply the transform to the image.</p> 3642 3643 <p>The format of the MagickHaldClutImage method is:</p> 3644 3645 <pre class="text"> 3646 MagickBooleanType MagickHaldClutImage(MagickWand *wand, 3647 const MagickWand *hald_wand) 3648 </pre> 3649 3650 <p>A description of each parameter follows:</p> 3651 3652 <dd> 3653 </dd> 3654 3655 <dd> </dd> 3656 <dl class="dl-horizontal"> 3657 <dt>wand</dt> 3658 <dd>the magick wand. </dd> 3659 3660 <dd> </dd> 3661 <dt>hald_image</dt> 3662 <dd>the hald CLUT image. </dd> 3663 3664 <dd> </dd> 3665 </dl> 3666 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickHasNextImage">MagickHasNextImage</a></h2> 3667 3668 <p>MagickHasNextImage() returns MagickTrue if the wand has more images when traversing the list in the forward direction</p> 3669 3670 <p>The format of the MagickHasNextImage method is:</p> 3671 3672 <pre class="text"> 3673 MagickBooleanType MagickHasNextImage(MagickWand *wand) 3674 </pre> 3675 3676 <p>A description of each parameter follows:</p> 3677 3678 <dd> 3679 </dd> 3680 3681 <dd> </dd> 3682 <dl class="dl-horizontal"> 3683 <dt>wand</dt> 3684 <dd>the magick wand. </dd> 3685 3686 <dd> </dd> 3687 </dl> 3688 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickHasPreviousImage">MagickHasPreviousImage</a></h2> 3689 3690 <p>MagickHasPreviousImage() returns MagickTrue if the wand has more images when traversing the list in the reverse direction</p> 3691 3692 <p>The format of the MagickHasPreviousImage method is:</p> 3693 3694 <pre class="text"> 3695 MagickBooleanType MagickHasPreviousImage(MagickWand *wand) 3696 </pre> 3697 3698 <p>A description of each parameter follows:</p> 3699 3700 <dd> 3701 </dd> 3702 3703 <dd> </dd> 3704 <dl class="dl-horizontal"> 3705 <dt>wand</dt> 3706 <dd>the magick wand. </dd> 3707 3708 <dd> </dd> 3709 </dl> 3710 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickIdentifyImage">MagickIdentifyImage</a></h2> 3711 3712 <p>MagickIdentifyImage() identifies an image by printing its attributes to the file. Attributes include the image width, height, size, and others.</p> 3713 3714 <p>The format of the MagickIdentifyImage method is:</p> 3715 3716 <pre class="text"> 3717 const char *MagickIdentifyImage(MagickWand *wand) 3718 </pre> 3719 3720 <p>A description of each parameter follows:</p> 3721 3722 <dd> 3723 </dd> 3724 3725 <dd> </dd> 3726 <dl class="dl-horizontal"> 3727 <dt>wand</dt> 3728 <dd>the magick wand. </dd> 3729 3730 <dd> </dd> 3731 </dl> 3732 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickIdentifyImageType">MagickIdentifyImageType</a></h2> 3733 3734 <p>MagickIdentifyImageType() gets the potential image type:</p> 3735 3736 <p>Bilevel Grayscale GrayscaleMatte Palette PaletteMatte TrueColor TrueColorMatte ColorSeparation ColorSeparationMatte</p> 3737 3738 <p>To ensure the image type matches its potential, use MagickSetImageType():</p> 3739 3740 <pre class="text"> 3741 (void) MagickSetImageType(wand,MagickIdentifyImageType(wand)); 3742 </pre> 3743 3744 <p>The format of the MagickIdentifyImageType method is:</p> 3745 3746 <pre class="text"> 3747 ImageType MagickIdentifyImageType(MagickWand *wand) 3748 </pre> 3749 3750 <p>A description of each parameter follows:</p> 3751 3752 <dd> 3753 </dd> 3754 3755 <dd> </dd> 3756 <dl class="dl-horizontal"> 3757 <dt>wand</dt> 3758 <dd>the magick wand. </dd> 3759 3760 <dd> </dd> 3761 </dl> 3762 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickImplodeImage">MagickImplodeImage</a></h2> 3763 3764 <p>MagickImplodeImage() creates a new image that is a copy of an existing one with the image pixels "implode" by the specified percentage. It allocates the memory necessary for the new Image structure and returns a pointer to the new image.</p> 3765 3766 <p>The format of the MagickImplodeImage method is:</p> 3767 3768 <pre class="text"> 3769 MagickBooleanType MagickImplodeImage(MagickWand *wand, 3770 const double radius,const PixelInterpolateMethod method) 3771 </pre> 3772 3773 <p>A description of each parameter follows:</p> 3774 3775 <dd> 3776 </dd> 3777 3778 <dd> </dd> 3779 <dl class="dl-horizontal"> 3780 <dt>wand</dt> 3781 <dd>the magick wand. </dd> 3782 3783 <dd> </dd> 3784 <dt>amount</dt> 3785 <dd>Define the extent of the implosion. </dd> 3786 3787 <dd> </dd> 3788 <dt>method</dt> 3789 <dd>the pixel interpolation method. </dd> 3790 3791 <dd> </dd> 3792 </dl> 3793 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickImportImagePixels">MagickImportImagePixels</a></h2> 3794 3795 <p>MagickImportImagePixels() accepts pixel datand stores it in the image at the location you specify. The method returns MagickFalse on success otherwise MagickTrue if an error is encountered. The pixel data can be either char, short int, int, ssize_t, float, or double in the order specified by map.</p> 3796 3797 <p>Suppose your want to upload the first scanline of a 640x480 image from character data in red-green-blue order:</p> 3798 3799 <pre class="text"> 3800 MagickImportImagePixels(wand,0,0,640,1,"RGB",CharPixel,pixels); 3801 </pre> 3802 3803 <p>The format of the MagickImportImagePixels method is:</p> 3804 3805 <pre class="text"> 3806 MagickBooleanType MagickImportImagePixels(MagickWand *wand, 3807 const ssize_t x,const ssize_t y,const size_t columns, 3808 const size_t rows,const char *map,const StorageType storage, 3809 const void *pixels) 3810 </pre> 3811 3812 <p>A description of each parameter follows:</p> 3813 3814 <dd> 3815 </dd> 3816 3817 <dd> </dd> 3818 <dl class="dl-horizontal"> 3819 <dt>wand</dt> 3820 <dd>the magick wand. </dd> 3821 3822 <dd> </dd> 3823 <dt>x, y, columns, rows</dt> 3824 <dd> These values define the perimeter of a region of pixels you want to define. </dd> 3825 3826 <dd> </dd> 3827 <dt>map</dt> 3828 <dd> This string reflects the expected ordering of the pixel array. It can be any combination or order of R = red, G = green, B = blue, A = alpha (0 is transparent), O = alpha (0 is opaque), C = cyan, Y = yellow, M = magenta, K = black, I = intensity (for grayscale), P = pad. </dd> 3829 3830 <dd> </dd> 3831 <dt>storage</dt> 3832 <dd>Define the data type of the pixels. Float and double types are expected to be normalized [0..1] otherwise [0..QuantumRange]. Choose from these types: CharPixel, ShortPixel, IntegerPixel, LongPixel, FloatPixel, or DoublePixel. </dd> 3833 3834 <dd> </dd> 3835 <dt>pixels</dt> 3836 <dd>This array of values contain the pixel components as defined by map and type. You must preallocate this array where the expected length varies depending on the values of width, height, map, and type. </dd> 3837 3838 <dd> </dd> 3839 </dl> 3840 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickInterpolativeResizeImage">MagickInterpolativeResizeImage</a></h2> 3841 3842 <p>MagickInterpolativeResizeImage() resize image using a interpolative method.</p> 3843 3844 <p>MagickBooleanType MagickInterpolativeResizeImage(MagickWand *wand, const size_t columns,const size_t rows, const PixelInterpolateMethod method)</p> 3845 3846 <p>A description of each parameter follows:</p> 3847 3848 <dd> 3849 </dd> 3850 3851 <dd> </dd> 3852 <dl class="dl-horizontal"> 3853 <dt>wand</dt> 3854 <dd>the magick wand. </dd> 3855 3856 <dd> </dd> 3857 <dt>columns</dt> 3858 <dd>the number of columns in the scaled image. </dd> 3859 3860 <dd> </dd> 3861 <dt>rows</dt> 3862 <dd>the number of rows in the scaled image. </dd> 3863 3864 <dd> </dd> 3865 <dt>interpolate</dt> 3866 <dd>the pixel interpolation method. </dd> 3867 3868 <dd> </dd> 3869 </dl> 3870 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickInverseFourierTransformImage">MagickInverseFourierTransformImage</a></h2> 3871 3872 <p>MagickInverseFourierTransformImage() implements the inverse discrete Fourier transform (DFT) of the image either as a magnitude / phase or real / imaginary image pair.</p> 3873 3874 <p>The format of the MagickInverseFourierTransformImage method is:</p> 3875 3876 <pre class="text"> 3877 MagickBooleanType MagickInverseFourierTransformImage( 3878 MagickWand *magnitude_wand,MagickWand *phase_wand, 3879 const MagickBooleanType magnitude) 3880 </pre> 3881 3882 <p>A description of each parameter follows:</p> 3883 3884 <dd> 3885 </dd> 3886 3887 <dd> </dd> 3888 <dl class="dl-horizontal"> 3889 <dt>magnitude_wand</dt> 3890 <dd>the magnitude or real wand. </dd> 3891 3892 <dd> </dd> 3893 <dt>phase_wand</dt> 3894 <dd>the phase or imaginary wand. </dd> 3895 3896 <dd> </dd> 3897 <dt>magnitude</dt> 3898 <dd>if true, return as magnitude / phase pair otherwise a real / imaginary image pair. </dd> 3899 3900 <dd> </dd> 3901 </dl> 3902 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickLabelImage">MagickLabelImage</a></h2> 3903 3904 <p>MagickLabelImage() adds a label to your image.</p> 3905 3906 <p>The format of the MagickLabelImage method is:</p> 3907 3908 <pre class="text"> 3909 MagickBooleanType MagickLabelImage(MagickWand *wand,const char *label) 3910 </pre> 3911 3912 <p>A description of each parameter follows:</p> 3913 3914 <dd> 3915 </dd> 3916 3917 <dd> </dd> 3918 <dl class="dl-horizontal"> 3919 <dt>wand</dt> 3920 <dd>the magick wand. </dd> 3921 3922 <dd> </dd> 3923 <dt>label</dt> 3924 <dd>the image label. </dd> 3925 3926 <dd> </dd> 3927 </dl> 3928 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickLevelImage">MagickLevelImage</a></h2> 3929 3930 <p>MagickLevelImage() adjusts the levels of an image by scaling the colors falling between specified white and black points to the full available quantum range. The parameters provided represent the black, mid, and white points. The black point specifies the darkest color in the image. Colors darker than the black point are set to zero. Mid point specifies a gamma correction to apply to the image. White point specifies the lightest color in the image. Colors brighter than the white point are set to the maximum quantum value.</p> 3931 3932 <p>The format of the MagickLevelImage method is:</p> 3933 3934 <pre class="text"> 3935 MagickBooleanType MagickLevelImage(MagickWand *wand, 3936 const double black_point,const double gamma,const double white_point) 3937 MagickBooleanType MagickLevelImage(MagickWand *wand, 3938 const ChannelType channel,const double black_point,const double gamma, 3939 const double white_point) 3940 </pre> 3941 3942 <p>A description of each parameter follows:</p> 3943 3944 <dd> 3945 </dd> 3946 3947 <dd> </dd> 3948 <dl class="dl-horizontal"> 3949 <dt>wand</dt> 3950 <dd>the magick wand. </dd> 3951 3952 <dd> </dd> 3953 <dt>channel</dt> 3954 <dd>Identify which channel to level: RedPixelChannel, GreenPixelChannel, etc. </dd> 3955 3956 <dd> </dd> 3957 <dt>black_point</dt> 3958 <dd>the black point. </dd> 3959 3960 <dd> </dd> 3961 <dt>gamma</dt> 3962 <dd>the gamma. </dd> 3963 3964 <dd> </dd> 3965 <dt>white_point</dt> 3966 <dd>the white point. </dd> 3967 3968 <dd> </dd> 3969 </dl> 3970 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickLinearStretchImage">MagickLinearStretchImage</a></h2> 3971 3972 <p>MagickLinearStretchImage() stretches with saturation the image intensity.</p> 3973 3974 <p>You can also reduce the influence of a particular channel with a gamma value of 0.</p> 3975 3976 <p>The format of the MagickLinearStretchImage method is:</p> 3977 3978 <pre class="text"> 3979 MagickBooleanType MagickLinearStretchImage(MagickWand *wand, 3980 const double black_point,const double white_point) 3981 </pre> 3982 3983 <p>A description of each parameter follows:</p> 3984 3985 <dd> 3986 </dd> 3987 3988 <dd> </dd> 3989 <dl class="dl-horizontal"> 3990 <dt>wand</dt> 3991 <dd>the magick wand. </dd> 3992 3993 <dd> </dd> 3994 <dt>black_point</dt> 3995 <dd>the black point. </dd> 3996 3997 <dd> </dd> 3998 <dt>white_point</dt> 3999 <dd>the white point. </dd> 4000 4001 <dd> </dd> 4002 </dl> 4003 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickLiquidRescaleImage">MagickLiquidRescaleImage</a></h2> 4004 4005 <p>MagickLiquidRescaleImage() rescales image with seam carving.</p> 4006 4007 <p>MagickBooleanType MagickLiquidRescaleImage(MagickWand *wand, const size_t columns,const size_t rows, const double delta_x,const double rigidity)</p> 4008 4009 <p>A description of each parameter follows:</p> 4010 4011 <dd> 4012 </dd> 4013 4014 <dd> </dd> 4015 <dl class="dl-horizontal"> 4016 <dt>wand</dt> 4017 <dd>the magick wand. </dd> 4018 4019 <dd> </dd> 4020 <dt>columns</dt> 4021 <dd>the number of columns in the scaled image. </dd> 4022 4023 <dd> </dd> 4024 <dt>rows</dt> 4025 <dd>the number of rows in the scaled image. </dd> 4026 4027 <dd> </dd> 4028 <dt>delta_x</dt> 4029 <dd>maximum seam transversal step (0 means straight seams). </dd> 4030 4031 <dd> </dd> 4032 <dt>rigidity</dt> 4033 <dd>introduce a bias for non-straight seams (typically 0). </dd> 4034 4035 <dd> </dd> 4036 </dl> 4037 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickLocalContrastImage">MagickLocalContrastImage</a></h2> 4038 4039 <p>MagickLocalContrastImage() attempts to increase the appearance of large-scale light-dark transitions. Local contrast enhancement works similarly to sharpening with an unsharp mask, however the mask is instead created using an image with a greater blur distance.</p> 4040 4041 <p>MagickBooleanType MagickLocalContrastImage(MagickWand *wand, const double radius,const double strength)</p> 4042 4043 <p>A description of each parameter follows:</p> 4044 4045 <dd> 4046 </dd> 4047 4048 <dd> </dd> 4049 <dl class="dl-horizontal"> 4050 <dt>image</dt> 4051 <dd>the image. </dd> 4052 4053 <dd> </dd> 4054 <dt>radius</dt> 4055 <dd>the radius of the Gaussian, in pixels, not counting the center pixel. </dd> 4056 4057 <dd> </dd> 4058 <dt>strength</dt> 4059 <dd>the strength of the blur mask in percentage. </dd> 4060 4061 <dd> </dd> 4062 </dl> 4063 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickMagnifyImage">MagickMagnifyImage</a></h2> 4064 4065 <p>MagickMagnifyImage() is a convenience method that scales an image proportionally to twice its original size.</p> 4066 4067 <p>The format of the MagickMagnifyImage method is:</p> 4068 4069 <pre class="text"> 4070 MagickBooleanType MagickMagnifyImage(MagickWand *wand) 4071 </pre> 4072 4073 <p>A description of each parameter follows:</p> 4074 4075 <dd> 4076 </dd> 4077 4078 <dd> </dd> 4079 <dl class="dl-horizontal"> 4080 <dt>wand</dt> 4081 <dd>the magick wand. </dd> 4082 4083 <dd> </dd> 4084 </dl> 4085 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickMergeImageLayers">MagickMergeImageLayers</a></h2> 4086 4087 <p>MagickMergeImageLayers() composes all the image layers from the current given image onward to produce a single image of the merged layers.</p> 4088 4089 <p>The inital canvas's size depends on the given LayerMethod, and is initialized using the first images background color. The images are then compositied onto that image in sequence using the given composition that has been assigned to each individual image.</p> 4090 4091 <p>The format of the MagickMergeImageLayers method is:</p> 4092 4093 <pre class="text"> 4094 MagickWand *MagickMergeImageLayers(MagickWand *wand, 4095 const LayerMethod method) 4096 </pre> 4097 4098 <p>A description of each parameter follows:</p> 4099 4100 <dd> 4101 </dd> 4102 4103 <dd> </dd> 4104 <dl class="dl-horizontal"> 4105 <dt>wand</dt> 4106 <dd>the magick wand. </dd> 4107 4108 <dd> </dd> 4109 <dt>method</dt> 4110 <dd>the method of selecting the size of the initial canvas. </dd> 4111 4112 <dd> MergeLayer: Merge all layers onto a canvas just large enough to hold all the actual images. The virtual canvas of the first image is preserved but otherwise ignored. </dd> 4113 4114 <dd> FlattenLayer: Use the virtual canvas size of first image. Images which fall outside this canvas is clipped. This can be used to 'fill out' a given virtual canvas. </dd> 4115 4116 <dd> MosaicLayer: Start with the virtual canvas of the first image, enlarging left and right edges to contain all images. Images with negative offsets will be clipped. </dd> 4117 4118 <dd> </dd> 4119 </dl> 4120 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickMinifyImage">MagickMinifyImage</a></h2> 4121 4122 <p>MagickMinifyImage() is a convenience method that scales an image proportionally to one-half its original size</p> 4123 4124 <p>The format of the MagickMinifyImage method is:</p> 4125 4126 <pre class="text"> 4127 MagickBooleanType MagickMinifyImage(MagickWand *wand) 4128 </pre> 4129 4130 <p>A description of each parameter follows:</p> 4131 4132 <dd> 4133 </dd> 4134 4135 <dd> </dd> 4136 <dl class="dl-horizontal"> 4137 <dt>wand</dt> 4138 <dd>the magick wand. </dd> 4139 4140 <dd> </dd> 4141 </dl> 4142 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickModulateImage">MagickModulateImage</a></h2> 4143 4144 <p>MagickModulateImage() lets you control the brightness, saturation, and hue of an image. Hue is the percentage of absolute rotation from the current position. For example 50 results in a counter-clockwise rotation of 90 degrees, 150 results in a clockwise rotation of 90 degrees, with 0 and 200 both resulting in a rotation of 180 degrees.</p> 4145 4146 <p>To increase the color brightness by 20 and decrease the color saturation by 10 and leave the hue unchanged, use: 120,90,100.</p> 4147 4148 <p>The format of the MagickModulateImage method is:</p> 4149 4150 <pre class="text"> 4151 MagickBooleanType MagickModulateImage(MagickWand *wand, 4152 const double brightness,const double saturation,const double hue) 4153 </pre> 4154 4155 <p>A description of each parameter follows:</p> 4156 4157 <dd> 4158 </dd> 4159 4160 <dd> </dd> 4161 <dl class="dl-horizontal"> 4162 <dt>wand</dt> 4163 <dd>the magick wand. </dd> 4164 4165 <dd> </dd> 4166 <dt>brightness</dt> 4167 <dd>the percent change in brighness. </dd> 4168 4169 <dd> </dd> 4170 <dt>saturation</dt> 4171 <dd>the percent change in saturation. </dd> 4172 4173 <dd> </dd> 4174 <dt>hue</dt> 4175 <dd>the percent change in hue. </dd> 4176 4177 <dd> </dd> 4178 </dl> 4179 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickMontageImage">MagickMontageImage</a></h2> 4180 4181 <p>MagickMontageImage() creates a composite image by combining several separate images. The images are tiled on the composite image with the name of the image optionally appearing just below the individual tile.</p> 4182 4183 <p>The format of the MagickMontageImage method is:</p> 4184 4185 <pre class="text"> 4186 MagickWand *MagickMontageImage(MagickWand *wand, 4187 const DrawingWand drawing_wand,const char *tile_geometry, 4188 const char *thumbnail_geometry,const MontageMode mode, 4189 const char *frame) 4190 </pre> 4191 4192 <p>A description of each parameter follows:</p> 4193 4194 <dd> 4195 </dd> 4196 4197 <dd> </dd> 4198 <dl class="dl-horizontal"> 4199 <dt>wand</dt> 4200 <dd>the magick wand. </dd> 4201 4202 <dd> </dd> 4203 <dt>drawing_wand</dt> 4204 <dd>the drawing wand. The font name, size, and color are obtained from this wand. </dd> 4205 4206 <dd> </dd> 4207 <dt>tile_geometry</dt> 4208 <dd>the number of tiles per row and page (e.g. 6x4+0+0). </dd> 4209 4210 <dd> </dd> 4211 <dt>thumbnail_geometry</dt> 4212 <dd>Preferred image size and border size of each thumbnail (e.g. 120x120+4+3>). </dd> 4213 4214 <dd> </dd> 4215 <dt>mode</dt> 4216 <dd>Thumbnail framing mode: Frame, Unframe, or Concatenate. </dd> 4217 4218 <dd> </dd> 4219 <dt>frame</dt> 4220 <dd>Surround the image with an ornamental border (e.g. 15x15+3+3). The frame color is that of the thumbnail's matte color. </dd> 4221 4222 <dd> </dd> 4223 </dl> 4224 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickMorphImages">MagickMorphImages</a></h2> 4225 4226 <p>MagickMorphImages() method morphs a set of images. Both the image pixels and size are linearly interpolated to give the appearance of a meta-morphosis from one image to the next.</p> 4227 4228 <p>The format of the MagickMorphImages method is:</p> 4229 4230 <pre class="text"> 4231 MagickWand *MagickMorphImages(MagickWand *wand, 4232 const size_t number_frames) 4233 </pre> 4234 4235 <p>A description of each parameter follows:</p> 4236 4237 <dd> 4238 </dd> 4239 4240 <dd> </dd> 4241 <dl class="dl-horizontal"> 4242 <dt>wand</dt> 4243 <dd>the magick wand. </dd> 4244 4245 <dd> </dd> 4246 <dt>number_frames</dt> 4247 <dd>the number of in-between images to generate. </dd> 4248 4249 <dd> </dd> 4250 </dl> 4251 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickMorphologyImage">MagickMorphologyImage</a></h2> 4252 4253 <p>MagickMorphologyImage() applies a user supplied kernel to the image according to the given mophology method.</p> 4254 4255 <p>The format of the MagickMorphologyImage method is:</p> 4256 4257 <pre class="text"> 4258 MagickBooleanType MagickMorphologyImage(MagickWand *wand, 4259 MorphologyMethod method,const ssize_t iterations,KernelInfo *kernel) 4260 </pre> 4261 4262 <p>A description of each parameter follows:</p> 4263 4264 <dd> 4265 </dd> 4266 4267 <dd> </dd> 4268 <dl class="dl-horizontal"> 4269 <dt>wand</dt> 4270 <dd>the magick wand. </dd> 4271 4272 <dd> </dd> 4273 <dt>method</dt> 4274 <dd>the morphology method to be applied. </dd> 4275 4276 <dd> </dd> 4277 <dt>iterations</dt> 4278 <dd>apply the operation this many times (or no change). A value of -1 means loop until no change found. How this is applied may depend on the morphology method. Typically this is a value of 1. </dd> 4279 4280 <dd> </dd> 4281 <dt>kernel</dt> 4282 <dd>An array of doubles representing the morphology kernel. </dd> 4283 4284 <dd> </dd> 4285 </dl> 4286 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickMotionBlurImage">MagickMotionBlurImage</a></h2> 4287 4288 <p>MagickMotionBlurImage() simulates motion blur. We convolve the image with a Gaussian operator of the given radius and standard deviation (sigma). For reasonable results, radius should be larger than sigma. Use a radius of 0 and MotionBlurImage() selects a suitable radius for you. Angle gives the angle of the blurring motion.</p> 4289 4290 <p>The format of the MagickMotionBlurImage method is:</p> 4291 4292 <pre class="text"> 4293 MagickBooleanType MagickMotionBlurImage(MagickWand *wand, 4294 const double radius,const double sigma,const double angle) 4295 </pre> 4296 4297 <p>A description of each parameter follows:</p> 4298 4299 <dd> 4300 </dd> 4301 4302 <dd> </dd> 4303 <dl class="dl-horizontal"> 4304 <dt>wand</dt> 4305 <dd>the magick wand. </dd> 4306 4307 <dd> </dd> 4308 <dt>radius</dt> 4309 <dd>the radius of the Gaussian, in pixels, not counting the center pixel. </dd> 4310 4311 <dd> </dd> 4312 <dt>sigma</dt> 4313 <dd>the standard deviation of the Gaussian, in pixels. </dd> 4314 4315 <dd> </dd> 4316 <dt>angle</dt> 4317 <dd>Apply the effect along this angle. </dd> 4318 4319 <dd> </dd> 4320 </dl> 4321 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickNegateImage">MagickNegateImage</a></h2> 4322 4323 <p>MagickNegateImage() negates the colors in the reference image. The Grayscale option means that only grayscale values within the image are negated.</p> 4324 4325 <p>You can also reduce the influence of a particular channel with a gamma value of 0.</p> 4326 4327 <p>The format of the MagickNegateImage method is:</p> 4328 4329 <pre class="text"> 4330 MagickBooleanType MagickNegateImage(MagickWand *wand, 4331 const MagickBooleanType gray) 4332 </pre> 4333 4334 <p>A description of each parameter follows:</p> 4335 4336 <dd> 4337 </dd> 4338 4339 <dd> </dd> 4340 <dl class="dl-horizontal"> 4341 <dt>wand</dt> 4342 <dd>the magick wand. </dd> 4343 4344 <dd> </dd> 4345 <dt>gray</dt> 4346 <dd>If MagickTrue, only negate grayscale pixels within the image. </dd> 4347 4348 <dd> </dd> 4349 </dl> 4350 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickNewImage">MagickNewImage</a></h2> 4351 4352 <p>MagickNewImage() adds a blank image canvas of the specified size and background color to the wand.</p> 4353 4354 <p>The format of the MagickNewImage method is:</p> 4355 4356 <pre class="text"> 4357 MagickBooleanType MagickNewImage(MagickWand *wand, 4358 const size_t columns,const size_t rows, 4359 const PixelWand *background) 4360 </pre> 4361 4362 <p>A description of each parameter follows:</p> 4363 4364 <dd> 4365 </dd> 4366 4367 <dd> </dd> 4368 <dl class="dl-horizontal"> 4369 <dt>wand</dt> 4370 <dd>the magick wand. </dd> 4371 4372 <dd> </dd> 4373 <dt>width</dt> 4374 <dd>the image width. </dd> 4375 4376 <dd> </dd> 4377 <dt>height</dt> 4378 <dd>the image height. </dd> 4379 4380 <dd> </dd> 4381 <dt>background</dt> 4382 <dd>the image color. </dd> 4383 4384 <dd> </dd> 4385 </dl> 4386 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickNextImage">MagickNextImage</a></h2> 4387 4388 <p>MagickNextImage() sets the next image in the wand as the current image.</p> 4389 4390 <p>It is typically used after MagickResetIterator(), after which its first use will set the first image as the current image (unless the wand is empty).</p> 4391 4392 <p>It will return MagickFalse when no more images are left to be returned which happens when the wand is empty, or the current image is the last image.</p> 4393 4394 <p>When the above condition (end of image list) is reached, the iterator is automaticall set so that you can start using MagickPreviousImage() to again iterate over the images in the reverse direction, starting with the last image (again). You can jump to this condition immeditally using MagickSetLastIterator().</p> 4395 4396 <p>The format of the MagickNextImage method is:</p> 4397 4398 <pre class="text"> 4399 MagickBooleanType MagickNextImage(MagickWand *wand) 4400 </pre> 4401 4402 <p>A description of each parameter follows:</p> 4403 4404 <dd> 4405 </dd> 4406 4407 <dd> </dd> 4408 <dl class="dl-horizontal"> 4409 <dt>wand</dt> 4410 <dd>the magick wand. </dd> 4411 4412 <dd> </dd> 4413 </dl> 4414 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickNormalizeImage">MagickNormalizeImage</a></h2> 4415 4416 <p>MagickNormalizeImage() enhances the contrast of a color image by adjusting the pixels color to span the entire range of colors available</p> 4417 4418 <p>You can also reduce the influence of a particular channel with a gamma value of 0.</p> 4419 4420 <p>The format of the MagickNormalizeImage method is:</p> 4421 4422 <pre class="text"> 4423 MagickBooleanType MagickNormalizeImage(MagickWand *wand) 4424 </pre> 4425 4426 <p>A description of each parameter follows:</p> 4427 4428 <dd> 4429 </dd> 4430 4431 <dd> </dd> 4432 <dl class="dl-horizontal"> 4433 <dt>wand</dt> 4434 <dd>the magick wand. </dd> 4435 4436 <dd> </dd> 4437 </dl> 4438 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickOilPaintImage">MagickOilPaintImage</a></h2> 4439 4440 <p>MagickOilPaintImage() applies a special effect filter that simulates an oil painting. Each pixel is replaced by the most frequent color occurring in a circular region defined by radius.</p> 4441 4442 <p>The format of the MagickOilPaintImage method is:</p> 4443 4444 <pre class="text"> 4445 MagickBooleanType MagickOilPaintImage(MagickWand *wand, 4446 const double radius,const double sigma) 4447 </pre> 4448 4449 <p>A description of each parameter follows:</p> 4450 4451 <dd> 4452 </dd> 4453 4454 <dd> </dd> 4455 <dl class="dl-horizontal"> 4456 <dt>wand</dt> 4457 <dd>the magick wand. </dd> 4458 4459 <dd> </dd> 4460 <dt>radius</dt> 4461 <dd>the radius of the circular neighborhood. </dd> 4462 4463 <dd> </dd> 4464 <dt>sigma</dt> 4465 <dd>the standard deviation of the Gaussian, in pixels. </dd> 4466 4467 <dd> </dd> 4468 </dl> 4469 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickOpaquePaintImage">MagickOpaquePaintImage</a></h2> 4470 4471 <p>MagickOpaquePaintImage() changes any pixel that matches color with the color defined by fill.</p> 4472 4473 <p>The format of the MagickOpaquePaintImage method is:</p> 4474 4475 <pre class="text"> 4476 MagickBooleanType MagickOpaquePaintImage(MagickWand *wand, 4477 const PixelWand *target,const PixelWand *fill,const double fuzz, 4478 const MagickBooleanType invert) 4479 </pre> 4480 4481 <p>A description of each parameter follows:</p> 4482 4483 <dd> 4484 </dd> 4485 4486 <dd> </dd> 4487 <dl class="dl-horizontal"> 4488 <dt>wand</dt> 4489 <dd>the magick wand. </dd> 4490 4491 <dd> </dd> 4492 <dt>target</dt> 4493 <dd>Change this target color to the fill color within the image. </dd> 4494 4495 <dd> </dd> 4496 <dt>fill</dt> 4497 <dd>the fill pixel wand. </dd> 4498 4499 <dd> </dd> 4500 <dt>fuzz</dt> 4501 <dd>By default target must match a particular pixel color exactly. However, in many cases two colors may differ by a small amount. The fuzz member of image defines how much tolerance is acceptable to consider two colors as the same. For example, set fuzz to 10 and the color red at intensities of 100 and 102 respectively are now interpreted as the same color for the purposes of the floodfill. </dd> 4502 4503 <dd> </dd> 4504 <dt>invert</dt> 4505 <dd>paint any pixel that does not match the target color. </dd> 4506 4507 <dd> </dd> 4508 </dl> 4509 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickOptimizeImageLayers">MagickOptimizeImageLayers</a></h2> 4510 4511 <p>MagickOptimizeImageLayers() compares each image the GIF disposed forms of the previous image in the sequence. From this it attempts to select the smallest cropped image to replace each frame, while preserving the results of the animation.</p> 4512 4513 <p>The format of the MagickOptimizeImageLayers method is:</p> 4514 4515 <pre class="text"> 4516 MagickWand *MagickOptimizeImageLayers(MagickWand *wand) 4517 </pre> 4518 4519 <p>A description of each parameter follows:</p> 4520 4521 <dd> 4522 </dd> 4523 4524 <dd> </dd> 4525 <dl class="dl-horizontal"> 4526 <dt>wand</dt> 4527 <dd>the magick wand. </dd> 4528 4529 <dd> </dd> 4530 </dl> 4531 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickOptimizeImageTransparency">MagickOptimizeImageTransparency</a></h2> 4532 4533 <p>MagickOptimizeImageTransparency() takes a frame optimized GIF animation, and compares the overlayed pixels against the disposal image resulting from all the previous frames in the animation. Any pixel that does not change the disposal image (and thus does not effect the outcome of an overlay) is made transparent.</p> 4534 4535 <p>WARNING: This modifies the current images directly, rather than generate a new image sequence. The format of the MagickOptimizeImageTransparency method is:</p> 4536 4537 <pre class="text"> 4538 MagickBooleanType MagickOptimizeImageTransparency(MagickWand *wand) 4539 </pre> 4540 4541 <p>A description of each parameter follows:</p> 4542 4543 <dd> 4544 </dd> 4545 4546 <dd> </dd> 4547 <dl class="dl-horizontal"> 4548 <dt>wand</dt> 4549 <dd>the magick wand. </dd> 4550 4551 <dd> </dd> 4552 </dl> 4553 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickOrderedDitherImage">MagickOrderedDitherImage</a></h2> 4554 4555 <p>MagickOrderedDitherImage() performs an ordered dither based on a number of pre-defined dithering threshold maps, but over multiple intensity levels, which can be different for different channels, according to the input arguments.</p> 4556 4557 <p>The format of the MagickOrderedDitherImage method is:</p> 4558 4559 <pre class="text"> 4560 MagickBooleanType MagickOrderedDitherImage(MagickWand *wand, 4561 const char *threshold_map) 4562 </pre> 4563 4564 <p>A description of each parameter follows:</p> 4565 4566 <dd> 4567 </dd> 4568 4569 <dd> </dd> 4570 <dl class="dl-horizontal"> 4571 <dt>image</dt> 4572 <dd>the image. </dd> 4573 4574 <dd> </dd> 4575 <dt>threshold_map</dt> 4576 <dd>A string containing the name of the threshold dither map to use, followed by zero or more numbers representing the number of color levels tho dither between. </dd> 4577 4578 <dd> Any level number less than 2 is equivalent to 2, and means only binary dithering will be applied to each color channel. </dd> 4579 4580 <dd> No numbers also means a 2 level (bitmap) dither will be applied to all channels, while a single number is the number of levels applied to each channel in sequence. More numbers will be applied in turn to each of the color channels. </dd> 4581 4582 <dd> For example: "o3x3,6" generates a 6 level posterization of the image with a ordered 3x3 diffused pixel dither being applied between each level. While checker,8,8,4 will produce a 332 colormaped image with only a single checkerboard hash pattern (50 grey) between each color level, to basically double the number of color levels with a bare minimim of dithering. </dd> 4583 4584 <dd> </dd> 4585 </dl> 4586 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickPingImage">MagickPingImage</a></h2> 4587 4588 <p>MagickPingImage() is the same as MagickReadImage() except the only valid information returned is the image width, height, size, and format. It is designed to efficiently obtain this information from a file without reading the entire image sequence into memory.</p> 4589 4590 <p>The format of the MagickPingImage method is:</p> 4591 4592 <pre class="text"> 4593 MagickBooleanType MagickPingImage(MagickWand *wand,const char *filename) 4594 </pre> 4595 4596 <p>A description of each parameter follows:</p> 4597 4598 <dd> 4599 </dd> 4600 4601 <dd> </dd> 4602 <dl class="dl-horizontal"> 4603 <dt>wand</dt> 4604 <dd>the magick wand. </dd> 4605 4606 <dd> </dd> 4607 <dt>filename</dt> 4608 <dd>the image filename. </dd> 4609 4610 <dd> </dd> 4611 </dl> 4612 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickPingImageBlob">MagickPingImageBlob</a></h2> 4613 4614 <p>MagickPingImageBlob() pings an image or image sequence from a blob.</p> 4615 4616 <p>The format of the MagickPingImageBlob method is:</p> 4617 4618 <pre class="text"> 4619 MagickBooleanType MagickPingImageBlob(MagickWand *wand, 4620 const void *blob,const size_t length) 4621 </pre> 4622 4623 <p>A description of each parameter follows:</p> 4624 4625 <dd> 4626 </dd> 4627 4628 <dd> </dd> 4629 <dl class="dl-horizontal"> 4630 <dt>wand</dt> 4631 <dd>the magick wand. </dd> 4632 4633 <dd> </dd> 4634 <dt>blob</dt> 4635 <dd>the blob. </dd> 4636 4637 <dd> </dd> 4638 <dt>length</dt> 4639 <dd>the blob length. </dd> 4640 4641 <dd> </dd> 4642 </dl> 4643 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickPingImageFile">MagickPingImageFile</a></h2> 4644 4645 <p>MagickPingImageFile() pings an image or image sequence from an open file descriptor.</p> 4646 4647 <p>The format of the MagickPingImageFile method is:</p> 4648 4649 <pre class="text"> 4650 MagickBooleanType MagickPingImageFile(MagickWand *wand,FILE *file) 4651 </pre> 4652 4653 <p>A description of each parameter follows:</p> 4654 4655 <dd> 4656 </dd> 4657 4658 <dd> </dd> 4659 <dl class="dl-horizontal"> 4660 <dt>wand</dt> 4661 <dd>the magick wand. </dd> 4662 4663 <dd> </dd> 4664 <dt>file</dt> 4665 <dd>the file descriptor. </dd> 4666 4667 <dd> </dd> 4668 </dl> 4669 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickPolaroidImage">MagickPolaroidImage</a></h2> 4670 4671 <p>MagickPolaroidImage() simulates a Polaroid picture.</p> 4672 4673 <p>The format of the MagickPolaroidImage method is:</p> 4674 4675 <pre class="text"> 4676 MagickBooleanType MagickPolaroidImage(MagickWand *wand, 4677 const DrawingWand *drawing_wand,const char *caption,const double angle, 4678 const PixelInterpolateMethod method) 4679 </pre> 4680 4681 <p>A description of each parameter follows:</p> 4682 4683 <dd> 4684 </dd> 4685 4686 <dd> </dd> 4687 <dl class="dl-horizontal"> 4688 <dt>wand</dt> 4689 <dd>the magick wand. </dd> 4690 4691 <dd> </dd> 4692 <dt>drawing_wand</dt> 4693 <dd>the draw wand. </dd> 4694 4695 <dd> </dd> 4696 <dt>caption</dt> 4697 <dd>the Polaroid caption. </dd> 4698 4699 <dd> </dd> 4700 <dt>angle</dt> 4701 <dd>Apply the effect along this angle. </dd> 4702 4703 <dd> </dd> 4704 <dt>method</dt> 4705 <dd>the pixel interpolation method. </dd> 4706 4707 <dd> </dd> 4708 </dl> 4709 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickPosterizeImage">MagickPosterizeImage</a></h2> 4710 4711 <p>MagickPosterizeImage() reduces the image to a limited number of color level.</p> 4712 4713 <p>The format of the MagickPosterizeImage method is:</p> 4714 4715 <pre class="text"> 4716 MagickBooleanType MagickPosterizeImage(MagickWand *wand, 4717 const size_t levels,const DitherMethod method) 4718 </pre> 4719 4720 <p>A description of each parameter follows:</p> 4721 4722 <dd> 4723 </dd> 4724 4725 <dd> </dd> 4726 <dl class="dl-horizontal"> 4727 <dt>wand</dt> 4728 <dd>the magick wand. </dd> 4729 4730 <dd> </dd> 4731 <dt>levels</dt> 4732 <dd>Number of color levels allowed in each channel. Very low values (2, 3, or 4) have the most visible effect. </dd> 4733 4734 <dd> </dd> 4735 <dt>method</dt> 4736 <dd>choose the dither method: UndefinedDitherMethod, NoDitherMethod, RiemersmaDitherMethod, or FloydSteinbergDitherMethod. </dd> 4737 4738 <dd> </dd> 4739 </dl> 4740 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickPreviewImages">MagickPreviewImages</a></h2> 4741 4742 <p>MagickPreviewImages() tiles 9 thumbnails of the specified image with an image processing operation applied at varying strengths. This helpful to quickly pin-point an appropriate parameter for an image processing operation.</p> 4743 4744 <p>The format of the MagickPreviewImages method is:</p> 4745 4746 <pre class="text"> 4747 MagickWand *MagickPreviewImages(MagickWand *wand, 4748 const PreviewType preview) 4749 </pre> 4750 4751 <p>A description of each parameter follows:</p> 4752 4753 <dd> 4754 </dd> 4755 4756 <dd> </dd> 4757 <dl class="dl-horizontal"> 4758 <dt>wand</dt> 4759 <dd>the magick wand. </dd> 4760 4761 <dd> </dd> 4762 <dt>preview</dt> 4763 <dd>the preview type. </dd> 4764 4765 <dd> </dd> 4766 </dl> 4767 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickPreviousImage">MagickPreviousImage</a></h2> 4768 4769 <p>MagickPreviousImage() sets the previous image in the wand as the current image.</p> 4770 4771 <p>It is typically used after MagickSetLastIterator(), after which its first use will set the last image as the current image (unless the wand is empty).</p> 4772 4773 <p>It will return MagickFalse when no more images are left to be returned which happens when the wand is empty, or the current image is the first image. At that point the iterator is than reset to again process images in the forward direction, again starting with the first image in list. Images added at this point are prepended.</p> 4774 4775 <p>Also at that point any images added to the wand using MagickAddImages() or MagickReadImages() will be prepended before the first image. In this sense the condition is not quite exactly the same as MagickResetIterator().</p> 4776 4777 <p>The format of the MagickPreviousImage method is:</p> 4778 4779 <pre class="text"> 4780 MagickBooleanType MagickPreviousImage(MagickWand *wand) 4781 </pre> 4782 4783 <p>A description of each parameter follows:</p> 4784 4785 <dd> 4786 </dd> 4787 4788 <dd> </dd> 4789 <dl class="dl-horizontal"> 4790 <dt>wand</dt> 4791 <dd>the magick wand. </dd> 4792 4793 <dd> </dd> 4794 </dl> 4795 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickQuantizeImage">MagickQuantizeImage</a></h2> 4796 4797 <p>MagickQuantizeImage() analyzes the colors within a reference image and chooses a fixed number of colors to represent the image. The goal of the algorithm is to minimize the color difference between the input and output image while minimizing the processing time.</p> 4798 4799 <p>The format of the MagickQuantizeImage method is:</p> 4800 4801 <pre class="text"> 4802 MagickBooleanType MagickQuantizeImage(MagickWand *wand, 4803 const size_t number_colors,const ColorspaceType colorspace, 4804 const size_t treedepth,const DitherMethod dither_method, 4805 const MagickBooleanType measure_error) 4806 </pre> 4807 4808 <p>A description of each parameter follows:</p> 4809 4810 <dd> 4811 </dd> 4812 4813 <dd> </dd> 4814 <dl class="dl-horizontal"> 4815 <dt>wand</dt> 4816 <dd>the magick wand. </dd> 4817 4818 <dd> </dd> 4819 <dt>number_colors</dt> 4820 <dd>the number of colors. </dd> 4821 4822 <dd> </dd> 4823 <dt>colorspace</dt> 4824 <dd>Perform color reduction in this colorspace, typically RGBColorspace. </dd> 4825 4826 <dd> </dd> 4827 <dt>treedepth</dt> 4828 <dd>Normally, this integer value is zero or one. A zero or one tells Quantize to choose a optimal tree depth of Log4(number_colors). A tree of this depth generally allows the best representation of the reference image with the least amount of memory and the fastest computational speed. In some cases, such as an image with low color dispersion (a few number of colors), a value other than Log4(number_colors) is required. To expand the color tree completely, use a value of 8. </dd> 4829 4830 <dd> </dd> 4831 <dt>dither_method</dt> 4832 <dd>choose from UndefinedDitherMethod, NoDitherMethod, RiemersmaDitherMethod, FloydSteinbergDitherMethod. </dd> 4833 4834 <dd> </dd> 4835 <dt>measure_error</dt> 4836 <dd>A value other than zero measures the difference between the original and quantized images. This difference is the total quantization error. The error is computed by summing over all pixels in an image the distance squared in RGB space between each reference pixel value and its quantized value. </dd> 4837 4838 <dd> </dd> 4839 </dl> 4840 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickQuantizeImages">MagickQuantizeImages</a></h2> 4841 4842 <p>MagickQuantizeImages() analyzes the colors within a sequence of images and chooses a fixed number of colors to represent the image. The goal of the algorithm is to minimize the color difference between the input and output image while minimizing the processing time.</p> 4843 4844 <p>The format of the MagickQuantizeImages method is:</p> 4845 4846 <pre class="text"> 4847 MagickBooleanType MagickQuantizeImages(MagickWand *wand, 4848 const size_t number_colors,const ColorspaceType colorspace, 4849 const size_t treedepth,const DitherMethod dither_method, 4850 const MagickBooleanType measure_error) 4851 </pre> 4852 4853 <p>A description of each parameter follows:</p> 4854 4855 <dd> 4856 </dd> 4857 4858 <dd> </dd> 4859 <dl class="dl-horizontal"> 4860 <dt>wand</dt> 4861 <dd>the magick wand. </dd> 4862 4863 <dd> </dd> 4864 <dt>number_colors</dt> 4865 <dd>the number of colors. </dd> 4866 4867 <dd> </dd> 4868 <dt>colorspace</dt> 4869 <dd>Perform color reduction in this colorspace, typically RGBColorspace. </dd> 4870 4871 <dd> </dd> 4872 <dt>treedepth</dt> 4873 <dd>Normally, this integer value is zero or one. A zero or one tells Quantize to choose a optimal tree depth of Log4(number_colors). A tree of this depth generally allows the best representation of the reference image with the least amount of memory and the fastest computational speed. In some cases, such as an image with low color dispersion (a few number of colors), a value other than Log4(number_colors) is required. To expand the color tree completely, use a value of 8. </dd> 4874 4875 <dd> </dd> 4876 <dt>dither_method</dt> 4877 <dd>choose from these dither methods: NoDitherMethod, RiemersmaDitherMethod, or FloydSteinbergDitherMethod. </dd> 4878 4879 <dd> </dd> 4880 <dt>measure_error</dt> 4881 <dd>A value other than zero measures the difference between the original and quantized images. This difference is the total quantization error. The error is computed by summing over all pixels in an image the distance squared in RGB space between each reference pixel value and its quantized value. </dd> 4882 4883 <dd> </dd> 4884 </dl> 4885 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickRotationalBlurImage">MagickRotationalBlurImage</a></h2> 4886 4887 <p>MagickRotationalBlurImage() rotational blurs an image.</p> 4888 4889 <p>The format of the MagickRotationalBlurImage method is:</p> 4890 4891 <pre class="text"> 4892 MagickBooleanType MagickRotationalBlurImage(MagickWand *wand, 4893 const double angle) 4894 </pre> 4895 4896 <p>A description of each parameter follows:</p> 4897 4898 <dd> 4899 </dd> 4900 4901 <dd> </dd> 4902 <dl class="dl-horizontal"> 4903 <dt>wand</dt> 4904 <dd>the magick wand. </dd> 4905 4906 <dd> </dd> 4907 <dt>angle</dt> 4908 <dd>the angle of the blur in degrees. </dd> 4909 4910 <dd> </dd> 4911 </dl> 4912 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickRaiseImage">MagickRaiseImage</a></h2> 4913 4914 <p>MagickRaiseImage() creates a simulated three-dimensional button-like effect by lightening and darkening the edges of the image. Members width and height of raise_info define the width of the vertical and horizontal edge of the effect.</p> 4915 4916 <p>The format of the MagickRaiseImage method is:</p> 4917 4918 <pre class="text"> 4919 MagickBooleanType MagickRaiseImage(MagickWand *wand, 4920 const size_t width,const size_t height,const ssize_t x, 4921 const ssize_t y,const MagickBooleanType raise) 4922 </pre> 4923 4924 <p>A description of each parameter follows:</p> 4925 4926 <dd> 4927 </dd> 4928 4929 <dd> </dd> 4930 <dl class="dl-horizontal"> 4931 <dt>wand</dt> 4932 <dd>the magick wand. </dd> 4933 4934 <dd> </dd> 4935 <dt>width,height,x,y</dt> 4936 <dd> Define the dimensions of the area to raise. </dd> 4937 4938 <dd> </dd> 4939 <dt>raise</dt> 4940 <dd>A value other than zero creates a 3-D raise effect, otherwise it has a lowered effect. </dd> 4941 4942 <dd> </dd> 4943 </dl> 4944 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickRandomThresholdImage">MagickRandomThresholdImage</a></h2> 4945 4946 <p>MagickRandomThresholdImage() changes the value of individual pixels based on the intensity of each pixel compared to threshold. The result is a high-contrast, two color image.</p> 4947 4948 <p>The format of the MagickRandomThresholdImage method is:</p> 4949 4950 <pre class="text"> 4951 MagickBooleanType MagickRandomThresholdImage(MagickWand *wand, 4952 const double low,const double high) 4953 </pre> 4954 4955 <p>A description of each parameter follows:</p> 4956 4957 <dd> 4958 </dd> 4959 4960 <dd> </dd> 4961 <dl class="dl-horizontal"> 4962 <dt>wand</dt> 4963 <dd>the magick wand. </dd> 4964 4965 <dd> </dd> 4966 <dt>low,high</dt> 4967 <dd>Specify the high and low thresholds. These values range from 0 to QuantumRange. </dd> 4968 4969 <dd> </dd> 4970 </dl> 4971 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickReadImage">MagickReadImage</a></h2> 4972 4973 <p>MagickReadImage() reads an image or image sequence. The images are inserted jjust before the current image pointer position.</p> 4974 4975 <p>Use MagickSetFirstIterator(), to insert new images before all the current images in the wand, MagickSetLastIterator() to append add to the end, MagickSetIteratorIndex() to place images just after the given index.</p> 4976 4977 <p>The format of the MagickReadImage method is:</p> 4978 4979 <pre class="text"> 4980 MagickBooleanType MagickReadImage(MagickWand *wand,const char *filename) 4981 </pre> 4982 4983 <p>A description of each parameter follows:</p> 4984 4985 <dd> 4986 </dd> 4987 4988 <dd> </dd> 4989 <dl class="dl-horizontal"> 4990 <dt>wand</dt> 4991 <dd>the magick wand. </dd> 4992 4993 <dd> </dd> 4994 <dt>filename</dt> 4995 <dd>the image filename. </dd> 4996 4997 <dd> </dd> 4998 </dl> 4999 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickReadImageBlob">MagickReadImageBlob</a></h2> 5000 5001 <p>MagickReadImageBlob() reads an image or image sequence from a blob. In all other respects it is like MagickReadImage().</p> 5002 5003 <p>The format of the MagickReadImageBlob method is:</p> 5004 5005 <pre class="text"> 5006 MagickBooleanType MagickReadImageBlob(MagickWand *wand, 5007 const void *blob,const size_t length) 5008 </pre> 5009 5010 <p>A description of each parameter follows:</p> 5011 5012 <dd> 5013 </dd> 5014 5015 <dd> </dd> 5016 <dl class="dl-horizontal"> 5017 <dt>wand</dt> 5018 <dd>the magick wand. </dd> 5019 5020 <dd> </dd> 5021 <dt>blob</dt> 5022 <dd>the blob. </dd> 5023 5024 <dd> </dd> 5025 <dt>length</dt> 5026 <dd>the blob length. </dd> 5027 5028 <dd> </dd> 5029 </dl> 5030 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickReadImageFile">MagickReadImageFile</a></h2> 5031 5032 <p>MagickReadImageFile() reads an image or image sequence from an already opened file descriptor. Otherwise it is like MagickReadImage().</p> 5033 5034 <p>The format of the MagickReadImageFile method is:</p> 5035 5036 <pre class="text"> 5037 MagickBooleanType MagickReadImageFile(MagickWand *wand,FILE *file) 5038 </pre> 5039 5040 <p>A description of each parameter follows:</p> 5041 5042 <dd> 5043 </dd> 5044 5045 <dd> </dd> 5046 <dl class="dl-horizontal"> 5047 <dt>wand</dt> 5048 <dd>the magick wand. </dd> 5049 5050 <dd> </dd> 5051 <dt>file</dt> 5052 <dd>the file descriptor. </dd> 5053 5054 <dd> </dd> 5055 </dl> 5056 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickRemapImage">MagickRemapImage</a></h2> 5057 5058 <p>MagickRemapImage() replaces the colors of an image with the closest color from a reference image.</p> 5059 5060 <p>The format of the MagickRemapImage method is:</p> 5061 5062 <pre class="text"> 5063 MagickBooleanType MagickRemapImage(MagickWand *wand, 5064 const MagickWand *remap_wand,const DitherMethod method) 5065 </pre> 5066 5067 <p>A description of each parameter follows:</p> 5068 5069 <dd> 5070 </dd> 5071 5072 <dd> </dd> 5073 <dl class="dl-horizontal"> 5074 <dt>wand</dt> 5075 <dd>the magick wand. </dd> 5076 5077 <dd> </dd> 5078 <dt>affinity</dt> 5079 <dd>the affinity wand. </dd> 5080 5081 <dd> </dd> 5082 <dt>method</dt> 5083 <dd>choose from these dither methods: NoDitherMethod, RiemersmaDitherMethod, or FloydSteinbergDitherMethod. </dd> 5084 5085 <dd> </dd> 5086 </dl> 5087 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickRemoveImage">MagickRemoveImage</a></h2> 5088 5089 <p>MagickRemoveImage() removes an image from the image list.</p> 5090 5091 <p>The format of the MagickRemoveImage method is:</p> 5092 5093 <pre class="text"> 5094 MagickBooleanType MagickRemoveImage(MagickWand *wand) 5095 </pre> 5096 5097 <p>A description of each parameter follows:</p> 5098 5099 <dd> 5100 </dd> 5101 5102 <dd> </dd> 5103 <dl class="dl-horizontal"> 5104 <dt>wand</dt> 5105 <dd>the magick wand. </dd> 5106 5107 <dd> </dd> 5108 <dt>insert</dt> 5109 <dd>the splice wand. </dd> 5110 5111 <dd> </dd> 5112 </dl> 5113 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickResampleImage">MagickResampleImage</a></h2> 5114 5115 <p>MagickResampleImage() resample image to desired resolution.</p> 5116 5117 <p>Bessel Blackman Box Catrom Cubic Gaussian Hanning Hermite Lanczos Mitchell Point Quandratic Sinc Triangle</p> 5118 5119 <p>Most of the filters are FIR (finite impulse response), however, Bessel, Gaussian, and Sinc are IIR (infinite impulse response). Bessel and Sinc are windowed (brought down to zero) with the Blackman filter.</p> 5120 5121 <p>The format of the MagickResampleImage method is:</p> 5122 5123 <pre class="text"> 5124 MagickBooleanType MagickResampleImage(MagickWand *wand, 5125 const double x_resolution,const double y_resolution, 5126 const FilterType filter) 5127 </pre> 5128 5129 <p>A description of each parameter follows:</p> 5130 5131 <dd> 5132 </dd> 5133 5134 <dd> </dd> 5135 <dl class="dl-horizontal"> 5136 <dt>wand</dt> 5137 <dd>the magick wand. </dd> 5138 5139 <dd> </dd> 5140 <dt>x_resolution</dt> 5141 <dd>the new image x resolution. </dd> 5142 5143 <dd> </dd> 5144 <dt>y_resolution</dt> 5145 <dd>the new image y resolution. </dd> 5146 5147 <dd> </dd> 5148 <dt>filter</dt> 5149 <dd>Image filter to use. </dd> 5150 5151 <dd> </dd> 5152 </dl> 5153 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickResetImagePage">MagickResetImagePage</a></h2> 5154 5155 <p>MagickResetImagePage() resets the Wand page canvas and position.</p> 5156 5157 <p>The format of the MagickResetImagePage method is:</p> 5158 5159 <pre class="text"> 5160 MagickBooleanType MagickResetImagePage(MagickWand *wand, 5161 const char *page) 5162 </pre> 5163 5164 <p>A description of each parameter follows:</p> 5165 5166 <dd> 5167 </dd> 5168 5169 <dd> </dd> 5170 <dl class="dl-horizontal"> 5171 <dt>wand</dt> 5172 <dd>the magick wand. </dd> 5173 5174 <dd> </dd> 5175 <dt>page</dt> 5176 <dd>the relative page specification. </dd> 5177 5178 <dd> </dd> 5179 </dl> 5180 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickResizeImage">MagickResizeImage</a></h2> 5181 5182 <p>MagickResizeImage() scales an image to the desired dimensions with one of these filters:</p> 5183 5184 <pre class="text"> 5185 Bessel Blackman Box 5186 Catrom CubicGaussian 5187 Hanning Hermite Lanczos 5188 Mitchell PointQuandratic 5189 Sinc Triangle 5190 </pre> 5191 5192 <p>Most of the filters are FIR (finite impulse response), however, Bessel, Gaussian, and Sinc are IIR (infinite impulse response). Bessel and Sinc are windowed (brought down to zero) with the Blackman filter.</p> 5193 5194 <p>The format of the MagickResizeImage method is:</p> 5195 5196 <pre class="text"> 5197 MagickBooleanType MagickResizeImage(MagickWand *wand, 5198 const size_t columns,const size_t rows,const FilterType filter) 5199 </pre> 5200 5201 <p>A description of each parameter follows:</p> 5202 5203 <dd> 5204 </dd> 5205 5206 <dd> </dd> 5207 <dl class="dl-horizontal"> 5208 <dt>wand</dt> 5209 <dd>the magick wand. </dd> 5210 5211 <dd> </dd> 5212 <dt>columns</dt> 5213 <dd>the number of columns in the scaled image. </dd> 5214 5215 <dd> </dd> 5216 <dt>rows</dt> 5217 <dd>the number of rows in the scaled image. </dd> 5218 5219 <dd> </dd> 5220 <dt>filter</dt> 5221 <dd>Image filter to use. </dd> 5222 5223 <dd> </dd> 5224 </dl> 5225 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickRollImage">MagickRollImage</a></h2> 5226 5227 <p>MagickRollImage() offsets an image as defined by x and y.</p> 5228 5229 <p>The format of the MagickRollImage method is:</p> 5230 5231 <pre class="text"> 5232 MagickBooleanType MagickRollImage(MagickWand *wand,const ssize_t x, 5233 const size_t y) 5234 </pre> 5235 5236 <p>A description of each parameter follows:</p> 5237 5238 <dd> 5239 </dd> 5240 5241 <dd> </dd> 5242 <dl class="dl-horizontal"> 5243 <dt>wand</dt> 5244 <dd>the magick wand. </dd> 5245 5246 <dd> </dd> 5247 <dt>x</dt> 5248 <dd>the x offset. </dd> 5249 5250 <dd> </dd> 5251 <dt>y</dt> 5252 <dd>the y offset. </dd> 5253 5254 <dd> </dd> 5255 5256 <dd> </dd> 5257 </dl> 5258 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickRotateImage">MagickRotateImage</a></h2> 5259 5260 <p>MagickRotateImage() rotates an image the specified number of degrees. Empty triangles left over from rotating the image are filled with the background color.</p> 5261 5262 <p>The format of the MagickRotateImage method is:</p> 5263 5264 <pre class="text"> 5265 MagickBooleanType MagickRotateImage(MagickWand *wand, 5266 const PixelWand *background,const double degrees) 5267 </pre> 5268 5269 <p>A description of each parameter follows:</p> 5270 5271 <dd> 5272 </dd> 5273 5274 <dd> </dd> 5275 <dl class="dl-horizontal"> 5276 <dt>wand</dt> 5277 <dd>the magick wand. </dd> 5278 5279 <dd> </dd> 5280 <dt>background</dt> 5281 <dd>the background pixel wand. </dd> 5282 5283 <dd> </dd> 5284 <dt>degrees</dt> 5285 <dd>the number of degrees to rotate the image. </dd> 5286 5287 <dd> </dd> 5288 5289 <dd> </dd> 5290 </dl> 5291 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSampleImage">MagickSampleImage</a></h2> 5292 5293 <p>MagickSampleImage() scales an image to the desired dimensions with pixel sampling. Unlike other scaling methods, this method does not introduce any additional color into the scaled image.</p> 5294 5295 <p>The format of the MagickSampleImage method is:</p> 5296 5297 <pre class="text"> 5298 MagickBooleanType MagickSampleImage(MagickWand *wand, 5299 const size_t columns,const size_t rows) 5300 </pre> 5301 5302 <p>A description of each parameter follows:</p> 5303 5304 <dd> 5305 </dd> 5306 5307 <dd> </dd> 5308 <dl class="dl-horizontal"> 5309 <dt>wand</dt> 5310 <dd>the magick wand. </dd> 5311 5312 <dd> </dd> 5313 <dt>columns</dt> 5314 <dd>the number of columns in the scaled image. </dd> 5315 5316 <dd> </dd> 5317 <dt>rows</dt> 5318 <dd>the number of rows in the scaled image. </dd> 5319 5320 <dd> </dd> 5321 5322 <dd> </dd> 5323 </dl> 5324 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickScaleImage">MagickScaleImage</a></h2> 5325 5326 <p>MagickScaleImage() scales the size of an image to the given dimensions.</p> 5327 5328 <p>The format of the MagickScaleImage method is:</p> 5329 5330 <pre class="text"> 5331 MagickBooleanType MagickScaleImage(MagickWand *wand, 5332 const size_t columns,const size_t rows) 5333 </pre> 5334 5335 <p>A description of each parameter follows:</p> 5336 5337 <dd> 5338 </dd> 5339 5340 <dd> </dd> 5341 <dl class="dl-horizontal"> 5342 <dt>wand</dt> 5343 <dd>the magick wand. </dd> 5344 5345 <dd> </dd> 5346 <dt>columns</dt> 5347 <dd>the number of columns in the scaled image. </dd> 5348 5349 <dd> </dd> 5350 <dt>rows</dt> 5351 <dd>the number of rows in the scaled image. </dd> 5352 5353 <dd> </dd> 5354 5355 <dd> </dd> 5356 </dl> 5357 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSegmentImage">MagickSegmentImage</a></h2> 5358 5359 <p>MagickSegmentImage() segments an image by analyzing the histograms of the color components and identifying units that are homogeneous with the fuzzy C-means technique.</p> 5360 5361 <p>The format of the SegmentImage method is:</p> 5362 5363 <pre class="text"> 5364 MagickBooleanType MagickSegmentImage(MagickWand *wand, 5365 const ColorspaceType colorspace,const MagickBooleanType verbose, 5366 const double cluster_threshold,const double smooth_threshold) 5367 </pre> 5368 5369 <p>A description of each parameter follows.</p> 5370 5371 <dt>wand</dt> 5372 <p>the wand.</p> 5373 5374 <dt>colorspace</dt> 5375 <p>the image colorspace.</p> 5376 5377 <dt>verbose</dt> 5378 <p>Set to MagickTrue to print detailed information about the identified classes.</p> 5379 5380 <dt>cluster_threshold</dt> 5381 <p>This represents the minimum number of pixels contained in a hexahedra before it can be considered valid (expressed as a percentage).</p> 5382 5383 <dt>smooth_threshold</dt> 5384 <p>the smoothing threshold eliminates noise in the second derivative of the histogram. As the value is increased, you can expect a smoother second derivative.</p> 5385 5386 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSelectiveBlurImage">MagickSelectiveBlurImage</a></h2> 5387 5388 <p>MagickSelectiveBlurImage() selectively blur an image within a contrast threshold. It is similar to the unsharpen mask that sharpens everything with contrast above a certain threshold.</p> 5389 5390 <p>The format of the MagickSelectiveBlurImage method is:</p> 5391 5392 <pre class="text"> 5393 MagickBooleanType MagickSelectiveBlurImage(MagickWand *wand, 5394 const double radius,const double sigma,const double threshold) 5395 </pre> 5396 5397 <p>A description of each parameter follows:</p> 5398 5399 <dd> 5400 </dd> 5401 5402 <dd> </dd> 5403 <dl class="dl-horizontal"> 5404 <dt>wand</dt> 5405 <dd>the magick wand. </dd> 5406 5407 <dd> </dd> 5408 <dt>radius</dt> 5409 <dd>the radius of the gaussian, in pixels, not counting the center pixel. </dd> 5410 5411 <dd> </dd> 5412 <dt>sigma</dt> 5413 <dd>the standard deviation of the gaussian, in pixels. </dd> 5414 5415 <dd> </dd> 5416 <dt>threshold</dt> 5417 <dd>only pixels within this contrast threshold are included in the blur operation. </dd> 5418 5419 <dd> </dd> 5420 </dl> 5421 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSeparateImage">MagickSeparateImage</a></h2> 5422 5423 <p>MagickSeparateImage() separates a channel from the image and returns a grayscale image. A channel is a particular color component of each pixel in the image.</p> 5424 5425 <p>The format of the MagickSeparateImage method is:</p> 5426 5427 <pre class="text"> 5428 MagickBooleanType MagickSeparateImage(MagickWand *wand, 5429 const ChannelType channel) 5430 </pre> 5431 5432 <p>A description of each parameter follows:</p> 5433 5434 <dd> 5435 </dd> 5436 5437 <dd> </dd> 5438 <dl class="dl-horizontal"> 5439 <dt>wand</dt> 5440 <dd>the magick wand. </dd> 5441 5442 <dd> </dd> 5443 <dt>channel</dt> 5444 <dd>the channel. </dd> 5445 5446 <dd> </dd> 5447 </dl> 5448 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSepiaToneImage">MagickSepiaToneImage</a></h2> 5449 5450 <p>MagickSepiaToneImage() applies a special effect to the image, similar to the effect achieved in a photo darkroom by sepia toning. Threshold ranges from 0 to QuantumRange and is a measure of the extent of the sepia toning. A threshold of 80 is a good starting point for a reasonable tone.</p> 5451 5452 <p>The format of the MagickSepiaToneImage method is:</p> 5453 5454 <pre class="text"> 5455 MagickBooleanType MagickSepiaToneImage(MagickWand *wand, 5456 const double threshold) 5457 </pre> 5458 5459 <p>A description of each parameter follows:</p> 5460 5461 <dd> 5462 </dd> 5463 5464 <dd> </dd> 5465 <dl class="dl-horizontal"> 5466 <dt>wand</dt> 5467 <dd>the magick wand. </dd> 5468 5469 <dd> </dd> 5470 <dt>threshold</dt> 5471 <dd> Define the extent of the sepia toning. </dd> 5472 5473 <dd> </dd> 5474 </dl> 5475 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImage">MagickSetImage</a></h2> 5476 5477 <p>MagickSetImage() replaces the last image returned by MagickSetIteratorIndex(), MagickNextImage(), MagickPreviousImage() with the images from the specified wand.</p> 5478 5479 <p>The format of the MagickSetImage method is:</p> 5480 5481 <pre class="text"> 5482 MagickBooleanType MagickSetImage(MagickWand *wand, 5483 const MagickWand *set_wand) 5484 </pre> 5485 5486 <p>A description of each parameter follows:</p> 5487 5488 <dd> 5489 </dd> 5490 5491 <dd> </dd> 5492 <dl class="dl-horizontal"> 5493 <dt>wand</dt> 5494 <dd>the magick wand. </dd> 5495 5496 <dd> </dd> 5497 <dt>set_wand</dt> 5498 <dd>the set_wand wand. </dd> 5499 5500 <dd> </dd> 5501 </dl> 5502 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageAlphaChannel">MagickSetImageAlphaChannel</a></h2> 5503 5504 <p>MagickSetImageAlphaChannel() activates, deactivates, resets, or sets the alpha channel.</p> 5505 5506 <p>The format of the MagickSetImageAlphaChannel method is:</p> 5507 5508 <pre class="text"> 5509 MagickBooleanType MagickSetImageAlphaChannel(MagickWand *wand, 5510 const AlphaChannelOption alpha_type) 5511 </pre> 5512 5513 <p>A description of each parameter follows:</p> 5514 5515 <dd> 5516 </dd> 5517 5518 <dd> </dd> 5519 <dl class="dl-horizontal"> 5520 <dt>wand</dt> 5521 <dd>the magick wand. </dd> 5522 5523 <dd> </dd> 5524 <dt>alpha_type</dt> 5525 <dd>the alpha channel type: ActivateAlphaChannel, DeactivateAlphaChannel, OpaqueAlphaChannel, or SetAlphaChannel. </dd> 5526 5527 <dd> </dd> 5528 </dl> 5529 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageAlphaColor">MagickSetImageAlphaColor</a></h2> 5530 5531 <p>MagickSetImageAlphaColor() sets the image alpha color.</p> 5532 5533 <p>The format of the MagickSetImageAlphaColor method is:</p> 5534 5535 <pre class="text"> 5536 MagickBooleanType MagickSetImageAlphaColor(MagickWand *wand, 5537 const PixelWand *matte) 5538 </pre> 5539 5540 <p>A description of each parameter follows:</p> 5541 5542 <dd> 5543 </dd> 5544 5545 <dd> </dd> 5546 <dl class="dl-horizontal"> 5547 <dt>wand</dt> 5548 <dd>the magick wand. </dd> 5549 5550 <dd> </dd> 5551 <dt>matte</dt> 5552 <dd>the alpha pixel wand. </dd> 5553 5554 <dd> </dd> 5555 </dl> 5556 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageBackgroundColor">MagickSetImageBackgroundColor</a></h2> 5557 5558 <p>MagickSetImageBackgroundColor() sets the image background color.</p> 5559 5560 <p>The format of the MagickSetImageBackgroundColor method is:</p> 5561 5562 <pre class="text"> 5563 MagickBooleanType MagickSetImageBackgroundColor(MagickWand *wand, 5564 const PixelWand *background) 5565 </pre> 5566 5567 <p>A description of each parameter follows:</p> 5568 5569 <dd> 5570 </dd> 5571 5572 <dd> </dd> 5573 <dl class="dl-horizontal"> 5574 <dt>wand</dt> 5575 <dd>the magick wand. </dd> 5576 5577 <dd> </dd> 5578 <dt>background</dt> 5579 <dd>the background pixel wand. </dd> 5580 5581 <dd> </dd> 5582 </dl> 5583 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageBluePrimary">MagickSetImageBluePrimary</a></h2> 5584 5585 <p>MagickSetImageBluePrimary() sets the image chromaticity blue primary point.</p> 5586 5587 <p>The format of the MagickSetImageBluePrimary method is:</p> 5588 5589 <pre class="text"> 5590 MagickBooleanType MagickSetImageBluePrimary(MagickWand *wand, 5591 const double x,const double y,const double z) 5592 </pre> 5593 5594 <p>A description of each parameter follows:</p> 5595 5596 <dd> 5597 </dd> 5598 5599 <dd> </dd> 5600 <dl class="dl-horizontal"> 5601 <dt>wand</dt> 5602 <dd>the magick wand. </dd> 5603 5604 <dd> </dd> 5605 <dt>x</dt> 5606 <dd>the blue primary x-point. </dd> 5607 5608 <dd> </dd> 5609 <dt>y</dt> 5610 <dd>the blue primary y-point. </dd> 5611 5612 <dd> </dd> 5613 <dt>z</dt> 5614 <dd>the blue primary z-point. </dd> 5615 5616 <dd> </dd> 5617 </dl> 5618 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageBorderColor">MagickSetImageBorderColor</a></h2> 5619 5620 <p>MagickSetImageBorderColor() sets the image border color.</p> 5621 5622 <p>The format of the MagickSetImageBorderColor method is:</p> 5623 5624 <pre class="text"> 5625 MagickBooleanType MagickSetImageBorderColor(MagickWand *wand, 5626 const PixelWand *border) 5627 </pre> 5628 5629 <p>A description of each parameter follows:</p> 5630 5631 <dd> 5632 </dd> 5633 5634 <dd> </dd> 5635 <dl class="dl-horizontal"> 5636 <dt>wand</dt> 5637 <dd>the magick wand. </dd> 5638 5639 <dd> </dd> 5640 <dt>border</dt> 5641 <dd>the border pixel wand. </dd> 5642 5643 <dd> </dd> 5644 </dl> 5645 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageChannelMask">MagickSetImageChannelMask</a></h2> 5646 5647 <p>MagickSetImageChannelMask() sets image channel mask.</p> 5648 5649 <p>The format of the MagickSetImageChannelMask method is:</p> 5650 5651 <pre class="text"> 5652 ChannelType MagickSetImageChannelMask(MagickWand *wand, 5653 const ChannelType channel_mask) 5654 </pre> 5655 5656 <p>A description of each parameter follows:</p> 5657 5658 <dd> 5659 </dd> 5660 5661 <dd> </dd> 5662 <dl class="dl-horizontal"> 5663 <dt>wand</dt> 5664 <dd>the magick wand. </dd> 5665 5666 <dd> </dd> 5667 <dt>channel_mask</dt> 5668 <dd>the channel_mask wand. </dd> 5669 5670 <dd> </dd> 5671 </dl> 5672 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageMask">MagickSetImageMask</a></h2> 5673 5674 <p>MagickSetImageMask() sets image clip mask.</p> 5675 5676 <p>The format of the MagickSetImageMask method is:</p> 5677 5678 <pre class="text"> 5679 MagickBooleanType MagickSetImageMask(MagickWand *wand, 5680 const PixelMask type,const MagickWand *clip_mask) 5681 </pre> 5682 5683 <p>A description of each parameter follows:</p> 5684 5685 <dd> 5686 </dd> 5687 5688 <dd> </dd> 5689 <dl class="dl-horizontal"> 5690 <dt>wand</dt> 5691 <dd>the magick wand. </dd> 5692 5693 <dd> </dd> 5694 <dt>type</dt> 5695 <dd>type of mask, ReadPixelMask or WritePixelMask. </dd> 5696 5697 <dd> </dd> 5698 <dt>clip_mask</dt> 5699 <dd>the clip_mask wand. </dd> 5700 5701 <dd> </dd> 5702 </dl> 5703 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageColor">MagickSetImageColor</a></h2> 5704 5705 <p>MagickSetImageColor() set the entire wand canvas to the specified color.</p> 5706 5707 <p>The format of the MagickSetImageColor method is:</p> 5708 5709 <pre class="text"> 5710 MagickBooleanType MagickSetImageColor(MagickWand *wand, 5711 const PixelWand *color) 5712 </pre> 5713 5714 <p>A description of each parameter follows:</p> 5715 5716 <dd> 5717 </dd> 5718 5719 <dd> </dd> 5720 <dl class="dl-horizontal"> 5721 <dt>wand</dt> 5722 <dd>the magick wand. </dd> 5723 5724 <dd> </dd> 5725 <dt>background</dt> 5726 <dd>the image color. </dd> 5727 5728 <dd> </dd> 5729 </dl> 5730 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageColormapColor">MagickSetImageColormapColor</a></h2> 5731 5732 <p>MagickSetImageColormapColor() sets the color of the specified colormap index.</p> 5733 5734 <p>The format of the MagickSetImageColormapColor method is:</p> 5735 5736 <pre class="text"> 5737 MagickBooleanType MagickSetImageColormapColor(MagickWand *wand, 5738 const size_t index,const PixelWand *color) 5739 </pre> 5740 5741 <p>A description of each parameter follows:</p> 5742 5743 <dd> 5744 </dd> 5745 5746 <dd> </dd> 5747 <dl class="dl-horizontal"> 5748 <dt>wand</dt> 5749 <dd>the magick wand. </dd> 5750 5751 <dd> </dd> 5752 <dt>index</dt> 5753 <dd>the offset into the image colormap. </dd> 5754 5755 <dd> </dd> 5756 <dt>color</dt> 5757 <dd>Return the colormap color in this wand. </dd> 5758 5759 <dd> </dd> 5760 </dl> 5761 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageColorspace">MagickSetImageColorspace</a></h2> 5762 5763 <p>MagickSetImageColorspace() sets the image colorspace. But does not modify the image data.</p> 5764 5765 <p>The format of the MagickSetImageColorspace method is:</p> 5766 5767 <pre class="text"> 5768 MagickBooleanType MagickSetImageColorspace(MagickWand *wand, 5769 const ColorspaceType colorspace) 5770 </pre> 5771 5772 <p>A description of each parameter follows:</p> 5773 5774 <dd> 5775 </dd> 5776 5777 <dd> </dd> 5778 <dl class="dl-horizontal"> 5779 <dt>wand</dt> 5780 <dd>the magick wand. </dd> 5781 5782 <dd> </dd> 5783 <dt>colorspace</dt> 5784 <dd>the image colorspace: UndefinedColorspace, RGBColorspace, GRAYColorspace, TransparentColorspace, OHTAColorspace, XYZColorspace, YCbCrColorspace, YCCColorspace, YIQColorspace, YPbPrColorspace, YPbPrColorspace, YUVColorspace, CMYKColorspace, sRGBColorspace, HSLColorspace, or HWBColorspace. </dd> 5785 5786 <dd> </dd> 5787 </dl> 5788 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageCompose">MagickSetImageCompose</a></h2> 5789 5790 <p>MagickSetImageCompose() sets the image composite operator, useful for specifying how to composite the image thumbnail when using the MagickMontageImage() method.</p> 5791 5792 <p>The format of the MagickSetImageCompose method is:</p> 5793 5794 <pre class="text"> 5795 MagickBooleanType MagickSetImageCompose(MagickWand *wand, 5796 const CompositeOperator compose) 5797 </pre> 5798 5799 <p>A description of each parameter follows:</p> 5800 5801 <dd> 5802 </dd> 5803 5804 <dd> </dd> 5805 <dl class="dl-horizontal"> 5806 <dt>wand</dt> 5807 <dd>the magick wand. </dd> 5808 5809 <dd> </dd> 5810 <dt>compose</dt> 5811 <dd>the image composite operator. </dd> 5812 5813 <dd> </dd> 5814 </dl> 5815 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageCompression">MagickSetImageCompression</a></h2> 5816 5817 <p>MagickSetImageCompression() sets the image compression.</p> 5818 5819 <p>The format of the MagickSetImageCompression method is:</p> 5820 5821 <pre class="text"> 5822 MagickBooleanType MagickSetImageCompression(MagickWand *wand, 5823 const CompressionType compression) 5824 </pre> 5825 5826 <p>A description of each parameter follows:</p> 5827 5828 <dd> 5829 </dd> 5830 5831 <dd> </dd> 5832 <dl class="dl-horizontal"> 5833 <dt>wand</dt> 5834 <dd>the magick wand. </dd> 5835 5836 <dd> </dd> 5837 <dt>compression</dt> 5838 <dd>the image compression type. </dd> 5839 5840 <dd> </dd> 5841 </dl> 5842 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageCompressionQuality">MagickSetImageCompressionQuality</a></h2> 5843 5844 <p>MagickSetImageCompressionQuality() sets the image compression quality.</p> 5845 5846 <p>The format of the MagickSetImageCompressionQuality method is:</p> 5847 5848 <pre class="text"> 5849 MagickBooleanType MagickSetImageCompressionQuality(MagickWand *wand, 5850 const size_t quality) 5851 </pre> 5852 5853 <p>A description of each parameter follows:</p> 5854 5855 <dd> 5856 </dd> 5857 5858 <dd> </dd> 5859 <dl class="dl-horizontal"> 5860 <dt>wand</dt> 5861 <dd>the magick wand. </dd> 5862 5863 <dd> </dd> 5864 <dt>quality</dt> 5865 <dd>the image compression tlityype. </dd> 5866 5867 <dd> </dd> 5868 </dl> 5869 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageDelay">MagickSetImageDelay</a></h2> 5870 5871 <p>MagickSetImageDelay() sets the image delay.</p> 5872 5873 <p>The format of the MagickSetImageDelay method is:</p> 5874 5875 <pre class="text"> 5876 MagickBooleanType MagickSetImageDelay(MagickWand *wand, 5877 const size_t delay) 5878 </pre> 5879 5880 <p>A description of each parameter follows:</p> 5881 5882 <dd> 5883 </dd> 5884 5885 <dd> </dd> 5886 <dl class="dl-horizontal"> 5887 <dt>wand</dt> 5888 <dd>the magick wand. </dd> 5889 5890 <dd> </dd> 5891 <dt>delay</dt> 5892 <dd>the image delay in ticks-per-second units. </dd> 5893 5894 <dd> </dd> 5895 </dl> 5896 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageDepth">MagickSetImageDepth</a></h2> 5897 5898 <p>MagickSetImageDepth() sets the image depth.</p> 5899 5900 <p>The format of the MagickSetImageDepth method is:</p> 5901 5902 <pre class="text"> 5903 MagickBooleanType MagickSetImageDepth(MagickWand *wand, 5904 const size_t depth) 5905 </pre> 5906 5907 <p>A description of each parameter follows:</p> 5908 5909 <dd> 5910 </dd> 5911 5912 <dd> </dd> 5913 <dl class="dl-horizontal"> 5914 <dt>wand</dt> 5915 <dd>the magick wand. </dd> 5916 5917 <dd> </dd> 5918 <dt>depth</dt> 5919 <dd>the image depth in bits: 8, 16, or 32. </dd> 5920 5921 <dd> </dd> 5922 </dl> 5923 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageDispose">MagickSetImageDispose</a></h2> 5924 5925 <p>MagickSetImageDispose() sets the image disposal method.</p> 5926 5927 <p>The format of the MagickSetImageDispose method is:</p> 5928 5929 <pre class="text"> 5930 MagickBooleanType MagickSetImageDispose(MagickWand *wand, 5931 const DisposeType dispose) 5932 </pre> 5933 5934 <p>A description of each parameter follows:</p> 5935 5936 <dd> 5937 </dd> 5938 5939 <dd> </dd> 5940 <dl class="dl-horizontal"> 5941 <dt>wand</dt> 5942 <dd>the magick wand. </dd> 5943 5944 <dd> </dd> 5945 <dt>dispose</dt> 5946 <dd>the image disposeal type. </dd> 5947 5948 <dd> </dd> 5949 </dl> 5950 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageEndian">MagickSetImageEndian</a></h2> 5951 5952 <p>MagickSetImageEndian() sets the image endian method.</p> 5953 5954 <p>The format of the MagickSetImageEndian method is:</p> 5955 5956 <pre class="text"> 5957 MagickBooleanType MagickSetImageEndian(MagickWand *wand, 5958 const EndianType endian) 5959 </pre> 5960 5961 <p>A description of each parameter follows:</p> 5962 5963 <dd> 5964 </dd> 5965 5966 <dd> </dd> 5967 <dl class="dl-horizontal"> 5968 <dt>wand</dt> 5969 <dd>the magick wand. </dd> 5970 5971 <dd> </dd> 5972 <dt>endian</dt> 5973 <dd>the image endian type. </dd> 5974 5975 <dd> </dd> 5976 </dl> 5977 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageExtent">MagickSetImageExtent</a></h2> 5978 5979 <p>MagickSetImageExtent() sets the image size (i.e. columns & rows).</p> 5980 5981 <p>The format of the MagickSetImageExtent method is:</p> 5982 5983 <pre class="text"> 5984 MagickBooleanType MagickSetImageExtent(MagickWand *wand, 5985 const size_t columns,const unsigned rows) 5986 </pre> 5987 5988 <p>A description of each parameter follows:</p> 5989 5990 <dd> 5991 </dd> 5992 5993 <dd> </dd> 5994 <dl class="dl-horizontal"> 5995 <dt>wand</dt> 5996 <dd>the magick wand. </dd> 5997 5998 <dd> </dd> 5999 <dt>columns</dt> 6000 <dd> The image width in pixels. </dd> 6001 6002 <dd> </dd> 6003 <dt>rows</dt> 6004 <dd> The image height in pixels. </dd> 6005 6006 <dd> </dd> 6007 </dl> 6008 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageFilename">MagickSetImageFilename</a></h2> 6009 6010 <p>MagickSetImageFilename() sets the filename of a particular image in a sequence.</p> 6011 6012 <p>The format of the MagickSetImageFilename method is:</p> 6013 6014 <pre class="text"> 6015 MagickBooleanType MagickSetImageFilename(MagickWand *wand, 6016 const char *filename) 6017 </pre> 6018 6019 <p>A description of each parameter follows:</p> 6020 6021 <dd> 6022 </dd> 6023 6024 <dd> </dd> 6025 <dl class="dl-horizontal"> 6026 <dt>wand</dt> 6027 <dd>the magick wand. </dd> 6028 6029 <dd> </dd> 6030 <dt>filename</dt> 6031 <dd>the image filename. </dd> 6032 6033 <dd> </dd> 6034 </dl> 6035 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageFormat">MagickSetImageFormat</a></h2> 6036 6037 <p>MagickSetImageFormat() sets the format of a particular image in a sequence.</p> 6038 6039 <p>The format of the MagickSetImageFormat method is:</p> 6040 6041 <pre class="text"> 6042 MagickBooleanType MagickSetImageFormat(MagickWand *wand, 6043 const char *format) 6044 </pre> 6045 6046 <p>A description of each parameter follows:</p> 6047 6048 <dd> 6049 </dd> 6050 6051 <dd> </dd> 6052 <dl class="dl-horizontal"> 6053 <dt>wand</dt> 6054 <dd>the magick wand. </dd> 6055 6056 <dd> </dd> 6057 <dt>format</dt> 6058 <dd>the image format. </dd> 6059 6060 <dd> </dd> 6061 </dl> 6062 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageFuzz">MagickSetImageFuzz</a></h2> 6063 6064 <p>MagickSetImageFuzz() sets the image fuzz.</p> 6065 6066 <p>The format of the MagickSetImageFuzz method is:</p> 6067 6068 <pre class="text"> 6069 MagickBooleanType MagickSetImageFuzz(MagickWand *wand, 6070 const double fuzz) 6071 </pre> 6072 6073 <p>A description of each parameter follows:</p> 6074 6075 <dd> 6076 </dd> 6077 6078 <dd> </dd> 6079 <dl class="dl-horizontal"> 6080 <dt>wand</dt> 6081 <dd>the magick wand. </dd> 6082 6083 <dd> </dd> 6084 <dt>fuzz</dt> 6085 <dd>the image fuzz. </dd> 6086 6087 <dd> </dd> 6088 </dl> 6089 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageGamma">MagickSetImageGamma</a></h2> 6090 6091 <p>MagickSetImageGamma() sets the image gamma.</p> 6092 6093 <p>The format of the MagickSetImageGamma method is:</p> 6094 6095 <pre class="text"> 6096 MagickBooleanType MagickSetImageGamma(MagickWand *wand, 6097 const double gamma) 6098 </pre> 6099 6100 <p>A description of each parameter follows:</p> 6101 6102 <dd> 6103 </dd> 6104 6105 <dd> </dd> 6106 <dl class="dl-horizontal"> 6107 <dt>wand</dt> 6108 <dd>the magick wand. </dd> 6109 6110 <dd> </dd> 6111 <dt>gamma</dt> 6112 <dd>the image gamma. </dd> 6113 6114 <dd> </dd> 6115 </dl> 6116 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageGravity">MagickSetImageGravity</a></h2> 6117 6118 <p>MagickSetImageGravity() sets the image gravity type.</p> 6119 6120 <p>The format of the MagickSetImageGravity method is:</p> 6121 6122 <pre class="text"> 6123 MagickBooleanType MagickSetImageGravity(MagickWand *wand, 6124 const GravityType gravity) 6125 </pre> 6126 6127 <p>A description of each parameter follows:</p> 6128 6129 <dd> 6130 </dd> 6131 6132 <dd> </dd> 6133 <dl class="dl-horizontal"> 6134 <dt>wand</dt> 6135 <dd>the magick wand. </dd> 6136 6137 <dd> </dd> 6138 <dt>gravity</dt> 6139 <dd>positioning gravity (NorthWestGravity, NorthGravity, NorthEastGravity, WestGravity, CenterGravity, EastGravity, SouthWestGravity, SouthGravity, SouthEastGravity) </dd> 6140 6141 <dd> </dd> 6142 </dl> 6143 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageGreenPrimary">MagickSetImageGreenPrimary</a></h2> 6144 6145 <p>MagickSetImageGreenPrimary() sets the image chromaticity green primary point.</p> 6146 6147 <p>The format of the MagickSetImageGreenPrimary method is:</p> 6148 6149 <pre class="text"> 6150 MagickBooleanType MagickSetImageGreenPrimary(MagickWand *wand, 6151 const double x,const double y,const double z) 6152 </pre> 6153 6154 <p>A description of each parameter follows:</p> 6155 6156 <dd> 6157 </dd> 6158 6159 <dd> </dd> 6160 <dl class="dl-horizontal"> 6161 <dt>wand</dt> 6162 <dd>the magick wand. </dd> 6163 6164 <dd> </dd> 6165 <dt>x</dt> 6166 <dd>the green primary x-point. </dd> 6167 6168 <dd> </dd> 6169 <dt>y</dt> 6170 <dd>the green primary y-point. </dd> 6171 6172 <dd> </dd> 6173 <dt>z</dt> 6174 <dd>the green primary z-point. </dd> 6175 6176 <dd> </dd> 6177 </dl> 6178 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageInterlaceScheme">MagickSetImageInterlaceScheme</a></h2> 6179 6180 <p>MagickSetImageInterlaceScheme() sets the image interlace scheme.</p> 6181 6182 <p>The format of the MagickSetImageInterlaceScheme method is:</p> 6183 6184 <pre class="text"> 6185 MagickBooleanType MagickSetImageInterlaceScheme(MagickWand *wand, 6186 const InterlaceType interlace) 6187 </pre> 6188 6189 <p>A description of each parameter follows:</p> 6190 6191 <dd> 6192 </dd> 6193 6194 <dd> </dd> 6195 <dl class="dl-horizontal"> 6196 <dt>wand</dt> 6197 <dd>the magick wand. </dd> 6198 6199 <dd> </dd> 6200 <dt>interlace</dt> 6201 <dd>the image interlace scheme: NoInterlace, LineInterlace, PlaneInterlace, PartitionInterlace. </dd> 6202 6203 <dd> </dd> 6204 </dl> 6205 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageInterpolateMethod">MagickSetImageInterpolateMethod</a></h2> 6206 6207 <p>MagickSetImageInterpolateMethod() sets the image interpolate pixel method.</p> 6208 6209 <p>The format of the MagickSetImageInterpolateMethod method is:</p> 6210 6211 <pre class="text"> 6212 MagickBooleanType MagickSetImageInterpolateMethod(MagickWand *wand, 6213 const PixelInterpolateMethod method) 6214 </pre> 6215 6216 <p>A description of each parameter follows:</p> 6217 6218 <dd> 6219 </dd> 6220 6221 <dd> </dd> 6222 <dl class="dl-horizontal"> 6223 <dt>wand</dt> 6224 <dd>the magick wand. </dd> 6225 6226 <dd> </dd> 6227 <dt>method</dt> 6228 <dd>the image interpole pixel methods: choose from Undefined, Average, Bicubic, Bilinear, Filter, Integer, Mesh, NearestNeighbor. </dd> 6229 6230 <dd> </dd> 6231 </dl> 6232 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageIterations">MagickSetImageIterations</a></h2> 6233 6234 <p>MagickSetImageIterations() sets the image iterations.</p> 6235 6236 <p>The format of the MagickSetImageIterations method is:</p> 6237 6238 <pre class="text"> 6239 MagickBooleanType MagickSetImageIterations(MagickWand *wand, 6240 const size_t iterations) 6241 </pre> 6242 6243 <p>A description of each parameter follows:</p> 6244 6245 <dd> 6246 </dd> 6247 6248 <dd> </dd> 6249 <dl class="dl-horizontal"> 6250 <dt>wand</dt> 6251 <dd>the magick wand. </dd> 6252 6253 <dd> </dd> 6254 <dt>delay</dt> 6255 <dd>the image delay in 1/100th of a second. </dd> 6256 6257 <dd> </dd> 6258 </dl> 6259 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageMatte">MagickSetImageMatte</a></h2> 6260 6261 <p>MagickSetImageMatte() sets the image matte channel.</p> 6262 6263 <p>The format of the MagickSetImageMatte method is:</p> 6264 6265 <pre class="text"> 6266 MagickBooleanType MagickSetImageMatte(MagickWand *wand, 6267 const MagickBooleanType *matte) 6268 </pre> 6269 6270 <p>A description of each parameter follows:</p> 6271 6272 <dd> 6273 </dd> 6274 6275 <dd> </dd> 6276 <dl class="dl-horizontal"> 6277 <dt>wand</dt> 6278 <dd>the magick wand. </dd> 6279 6280 <dd> </dd> 6281 <dt>matte</dt> 6282 <dd>Set to MagickTrue to enable the image matte channel otherwise MagickFalse. </dd> 6283 6284 <dd> </dd> 6285 </dl> 6286 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageAlpha">MagickSetImageAlpha</a></h2> 6287 6288 <p>MagickSetImageAlpha() sets the image to the specified alpha level.</p> 6289 6290 <p>The format of the MagickSetImageAlpha method is:</p> 6291 6292 <pre class="text"> 6293 MagickBooleanType MagickSetImageAlpha(MagickWand *wand, 6294 const double alpha) 6295 </pre> 6296 6297 <p>A description of each parameter follows:</p> 6298 6299 <dd> 6300 </dd> 6301 6302 <dd> </dd> 6303 <dl class="dl-horizontal"> 6304 <dt>wand</dt> 6305 <dd>the magick wand. </dd> 6306 6307 <dd> </dd> 6308 <dt>alpha</dt> 6309 <dd>the level of transparency: 1.0 is fully opaque and 0.0 is fully transparent. </dd> 6310 6311 <dd> </dd> 6312 </dl> 6313 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageOrientation">MagickSetImageOrientation</a></h2> 6314 6315 <p>MagickSetImageOrientation() sets the image orientation.</p> 6316 6317 <p>The format of the MagickSetImageOrientation method is:</p> 6318 6319 <pre class="text"> 6320 MagickBooleanType MagickSetImageOrientation(MagickWand *wand, 6321 const OrientationType orientation) 6322 </pre> 6323 6324 <p>A description of each parameter follows:</p> 6325 6326 <dd> 6327 </dd> 6328 6329 <dd> </dd> 6330 <dl class="dl-horizontal"> 6331 <dt>wand</dt> 6332 <dd>the magick wand. </dd> 6333 6334 <dd> </dd> 6335 <dt>orientation</dt> 6336 <dd>the image orientation type. </dd> 6337 6338 <dd> </dd> 6339 </dl> 6340 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImagePage">MagickSetImagePage</a></h2> 6341 6342 <p>MagickSetImagePage() sets the page geometry of the image.</p> 6343 6344 <p>The format of the MagickSetImagePage method is:</p> 6345 6346 <pre class="text"> 6347 MagickBooleanType MagickSetImagePage(MagickWand *wand,const size_t width, const size_t height,const ssize_t x,const ssize_t y) 6348 </pre> 6349 6350 <p>A description of each parameter follows:</p> 6351 6352 <dd> 6353 </dd> 6354 6355 <dd> </dd> 6356 <dl class="dl-horizontal"> 6357 <dt>wand</dt> 6358 <dd>the magick wand. </dd> 6359 6360 <dd> </dd> 6361 <dt>width</dt> 6362 <dd>the page width. </dd> 6363 6364 <dd> </dd> 6365 <dt>height</dt> 6366 <dd>the page height. </dd> 6367 6368 <dd> </dd> 6369 <dt>x</dt> 6370 <dd>the page x-offset. </dd> 6371 6372 <dd> </dd> 6373 <dt>y</dt> 6374 <dd>the page y-offset. </dd> 6375 6376 <dd> </dd> 6377 </dl> 6378 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageProgressMonitor">MagickSetImageProgressMonitor</a></h2> 6379 6380 <p>MagickSetImageProgressMonitor() sets the wand image progress monitor to the specified method and returns the previous progress monitor if any. The progress monitor method looks like this:</p> 6381 6382 <pre class="text"> 6383 MagickBooleanType MagickProgressMonitor(const char *text, 6384 const MagickOffsetType offset,const MagickSizeType span, 6385 void *client_data) 6386 </pre> 6387 6388 <p>If the progress monitor returns MagickFalse, the current operation is interrupted.</p> 6389 6390 <p>The format of the MagickSetImageProgressMonitor method is:</p> 6391 6392 <pre class="text"> 6393 MagickProgressMonitor MagickSetImageProgressMonitor(MagickWand *wand 6394 const MagickProgressMonitor progress_monitor,void *client_data) 6395 </pre> 6396 6397 <p>A description of each parameter follows:</p> 6398 6399 <dd> 6400 </dd> 6401 6402 <dd> </dd> 6403 <dl class="dl-horizontal"> 6404 <dt>wand</dt> 6405 <dd>the magick wand. </dd> 6406 6407 <dd> </dd> 6408 <dt>progress_monitor</dt> 6409 <dd>Specifies a pointer to a method to monitor progress of an image operation. </dd> 6410 6411 <dd> </dd> 6412 <dt>client_data</dt> 6413 <dd>Specifies a pointer to any client data. </dd> 6414 6415 <dd> </dd> 6416 </dl> 6417 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageRedPrimary">MagickSetImageRedPrimary</a></h2> 6418 6419 <p>MagickSetImageRedPrimary() sets the image chromaticity red primary point.</p> 6420 6421 <p>The format of the MagickSetImageRedPrimary method is:</p> 6422 6423 <pre class="text"> 6424 MagickBooleanType MagickSetImageRedPrimary(MagickWand *wand, 6425 const double x,const double y,const double z) 6426 </pre> 6427 6428 <p>A description of each parameter follows:</p> 6429 6430 <dd> 6431 </dd> 6432 6433 <dd> </dd> 6434 <dl class="dl-horizontal"> 6435 <dt>wand</dt> 6436 <dd>the magick wand. </dd> 6437 6438 <dd> </dd> 6439 <dt>x</dt> 6440 <dd>the red primary x-point. </dd> 6441 6442 <dd> </dd> 6443 <dt>y</dt> 6444 <dd>the red primary y-point. </dd> 6445 6446 <dd> </dd> 6447 <dt>z</dt> 6448 <dd>the red primary z-point. </dd> 6449 6450 <dd> </dd> 6451 </dl> 6452 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageRenderingIntent">MagickSetImageRenderingIntent</a></h2> 6453 6454 <p>MagickSetImageRenderingIntent() sets the image rendering intent.</p> 6455 6456 <p>The format of the MagickSetImageRenderingIntent method is:</p> 6457 6458 <pre class="text"> 6459 MagickBooleanType MagickSetImageRenderingIntent(MagickWand *wand, 6460 const RenderingIntent rendering_intent) 6461 </pre> 6462 6463 <p>A description of each parameter follows:</p> 6464 6465 <dd> 6466 </dd> 6467 6468 <dd> </dd> 6469 <dl class="dl-horizontal"> 6470 <dt>wand</dt> 6471 <dd>the magick wand. </dd> 6472 6473 <dd> </dd> 6474 <dt>rendering_intent</dt> 6475 <dd>the image rendering intent: UndefinedIntent, SaturationIntent, PerceptualIntent, AbsoluteIntent, or RelativeIntent. </dd> 6476 6477 <dd> </dd> 6478 </dl> 6479 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageResolution">MagickSetImageResolution</a></h2> 6480 6481 <p>MagickSetImageResolution() sets the image resolution.</p> 6482 6483 <p>The format of the MagickSetImageResolution method is:</p> 6484 6485 <pre class="text"> 6486 MagickBooleanType MagickSetImageResolution(MagickWand *wand, 6487 const double x_resolution,const double y_resolution) 6488 </pre> 6489 6490 <p>A description of each parameter follows:</p> 6491 6492 <dd> 6493 </dd> 6494 6495 <dd> </dd> 6496 <dl class="dl-horizontal"> 6497 <dt>wand</dt> 6498 <dd>the magick wand. </dd> 6499 6500 <dd> </dd> 6501 <dt>x_resolution</dt> 6502 <dd>the image x resolution. </dd> 6503 6504 <dd> </dd> 6505 <dt>y_resolution</dt> 6506 <dd>the image y resolution. </dd> 6507 6508 <dd> </dd> 6509 </dl> 6510 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageScene">MagickSetImageScene</a></h2> 6511 6512 <p>MagickSetImageScene() sets the image scene.</p> 6513 6514 <p>The format of the MagickSetImageScene method is:</p> 6515 6516 <pre class="text"> 6517 MagickBooleanType MagickSetImageScene(MagickWand *wand, 6518 const size_t scene) 6519 </pre> 6520 6521 <p>A description of each parameter follows:</p> 6522 6523 <dd> 6524 </dd> 6525 6526 <dd> </dd> 6527 <dl class="dl-horizontal"> 6528 <dt>wand</dt> 6529 <dd>the magick wand. </dd> 6530 6531 <dd> </dd> 6532 <dt>delay</dt> 6533 <dd>the image scene number. </dd> 6534 6535 <dd> </dd> 6536 </dl> 6537 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageTicksPerSecond">MagickSetImageTicksPerSecond</a></h2> 6538 6539 <p>MagickSetImageTicksPerSecond() sets the image ticks-per-second.</p> 6540 6541 <p>The format of the MagickSetImageTicksPerSecond method is:</p> 6542 6543 <pre class="text"> 6544 MagickBooleanType MagickSetImageTicksPerSecond(MagickWand *wand, 6545 const ssize_t ticks_per-second) 6546 </pre> 6547 6548 <p>A description of each parameter follows:</p> 6549 6550 <dd> 6551 </dd> 6552 6553 <dd> </dd> 6554 <dl class="dl-horizontal"> 6555 <dt>wand</dt> 6556 <dd>the magick wand. </dd> 6557 6558 <dd> </dd> 6559 <dt>ticks_per_second</dt> 6560 <dd>the units to use for the image delay. </dd> 6561 6562 <dd> </dd> 6563 </dl> 6564 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageType">MagickSetImageType</a></h2> 6565 6566 <p>MagickSetImageType() sets the image type.</p> 6567 6568 <p>The format of the MagickSetImageType method is:</p> 6569 6570 <pre class="text"> 6571 MagickBooleanType MagickSetImageType(MagickWand *wand, 6572 const ImageType image_type) 6573 </pre> 6574 6575 <p>A description of each parameter follows:</p> 6576 6577 <dd> 6578 </dd> 6579 6580 <dd> </dd> 6581 <dl class="dl-horizontal"> 6582 <dt>wand</dt> 6583 <dd>the magick wand. </dd> 6584 6585 <dd> </dd> 6586 <dt>image_type</dt> 6587 <dd>the image type: UndefinedType, BilevelType, GrayscaleType, GrayscaleAlphaType, PaletteType, PaletteAlphaType, TrueColorType, TrueColorAlphaType, ColorSeparationType, ColorSeparationAlphaType, or OptimizeType. </dd> 6588 6589 <dd> </dd> 6590 </dl> 6591 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageUnits">MagickSetImageUnits</a></h2> 6592 6593 <p>MagickSetImageUnits() sets the image units of resolution.</p> 6594 6595 <p>The format of the MagickSetImageUnits method is:</p> 6596 6597 <pre class="text"> 6598 MagickBooleanType MagickSetImageUnits(MagickWand *wand, 6599 const ResolutionType units) 6600 </pre> 6601 6602 <p>A description of each parameter follows:</p> 6603 6604 <dd> 6605 </dd> 6606 6607 <dd> </dd> 6608 <dl class="dl-horizontal"> 6609 <dt>wand</dt> 6610 <dd>the magick wand. </dd> 6611 6612 <dd> </dd> 6613 <dt>units</dt> 6614 <dd>the image units of resolution : UndefinedResolution, PixelsPerInchResolution, or PixelsPerCentimeterResolution. </dd> 6615 6616 <dd> </dd> 6617 </dl> 6618 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageVirtualPixelMethod">MagickSetImageVirtualPixelMethod</a></h2> 6619 6620 <p>MagickSetImageVirtualPixelMethod() sets the image virtual pixel method.</p> 6621 6622 <p>The format of the MagickSetImageVirtualPixelMethod method is:</p> 6623 6624 <pre class="text"> 6625 VirtualPixelMethod MagickSetImageVirtualPixelMethod(MagickWand *wand, 6626 const VirtualPixelMethod method) 6627 </pre> 6628 6629 <p>A description of each parameter follows:</p> 6630 6631 <dd> 6632 </dd> 6633 6634 <dd> </dd> 6635 <dl class="dl-horizontal"> 6636 <dt>wand</dt> 6637 <dd>the magick wand. </dd> 6638 6639 <dd> </dd> 6640 <dt>method</dt> 6641 <dd>the image virtual pixel method : UndefinedVirtualPixelMethod, ConstantVirtualPixelMethod, EdgeVirtualPixelMethod, MirrorVirtualPixelMethod, or TileVirtualPixelMethod. </dd> 6642 6643 <dd> </dd> 6644 </dl> 6645 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSetImageWhitePoint">MagickSetImageWhitePoint</a></h2> 6646 6647 <p>MagickSetImageWhitePoint() sets the image chromaticity white point.</p> 6648 6649 <p>The format of the MagickSetImageWhitePoint method is:</p> 6650 6651 <pre class="text"> 6652 MagickBooleanType MagickSetImageWhitePoint(MagickWand *wand, 6653 const double x,const double y,const double z) 6654 </pre> 6655 6656 <p>A description of each parameter follows:</p> 6657 6658 <dd> 6659 </dd> 6660 6661 <dd> </dd> 6662 <dl class="dl-horizontal"> 6663 <dt>wand</dt> 6664 <dd>the magick wand. </dd> 6665 6666 <dd> </dd> 6667 <dt>x</dt> 6668 <dd>the white x-point. </dd> 6669 6670 <dd> </dd> 6671 <dt>y</dt> 6672 <dd>the white y-point. </dd> 6673 6674 <dd> </dd> 6675 <dt>z</dt> 6676 <dd>the white z-point. </dd> 6677 6678 <dd> </dd> 6679 </dl> 6680 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickShadeImage">MagickShadeImage</a></h2> 6681 6682 <p>MagickShadeImage() shines a distant light on an image to create a three-dimensional effect. You control the positioning of the light with azimuth and elevation; azimuth is measured in degrees off the x axis and elevation is measured in pixels above the Z axis.</p> 6683 6684 <p>The format of the MagickShadeImage method is:</p> 6685 6686 <pre class="text"> 6687 MagickBooleanType MagickShadeImage(MagickWand *wand, 6688 const MagickBooleanType gray,const double azimuth, 6689 const double elevation) 6690 </pre> 6691 6692 <p>A description of each parameter follows:</p> 6693 6694 <dd> 6695 </dd> 6696 6697 <dd> </dd> 6698 <dl class="dl-horizontal"> 6699 <dt>wand</dt> 6700 <dd>the magick wand. </dd> 6701 6702 <dd> </dd> 6703 <dt>gray</dt> 6704 <dd>A value other than zero shades the intensity of each pixel. </dd> 6705 6706 <dd> </dd> 6707 <dt>azimuth, elevation</dt> 6708 <dd> Define the light source direction. </dd> 6709 6710 <dd> </dd> 6711 </dl> 6712 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickShadowImage">MagickShadowImage</a></h2> 6713 6714 <p>MagickShadowImage() simulates an image shadow.</p> 6715 6716 <p>The format of the MagickShadowImage method is:</p> 6717 6718 <pre class="text"> 6719 MagickBooleanType MagickShadowImage(MagickWand *wand,const double alpha, 6720 const double sigma,const ssize_t x,const ssize_t y) 6721 </pre> 6722 6723 <p>A description of each parameter follows:</p> 6724 6725 <dd> 6726 </dd> 6727 6728 <dd> </dd> 6729 <dl class="dl-horizontal"> 6730 <dt>wand</dt> 6731 <dd>the magick wand. </dd> 6732 6733 <dd> </dd> 6734 <dt>alpha</dt> 6735 <dd>percentage transparency. </dd> 6736 6737 <dd> </dd> 6738 <dt>sigma</dt> 6739 <dd>the standard deviation of the Gaussian, in pixels. </dd> 6740 6741 <dd> </dd> 6742 <dt>x</dt> 6743 <dd>the shadow x-offset. </dd> 6744 6745 <dd> </dd> 6746 <dt>y</dt> 6747 <dd>the shadow y-offset. </dd> 6748 6749 <dd> </dd> 6750 </dl> 6751 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSharpenImage">MagickSharpenImage</a></h2> 6752 6753 <p>MagickSharpenImage() sharpens an image. We convolve the image with a Gaussian operator of the given radius and standard deviation (sigma). For reasonable results, the radius should be larger than sigma. Use a radius of 0 and MagickSharpenImage() selects a suitable radius for you.</p> 6754 6755 <p>The format of the MagickSharpenImage method is:</p> 6756 6757 <pre class="text"> 6758 MagickBooleanType MagickSharpenImage(MagickWand *wand, 6759 const double radius,const double sigma) 6760 </pre> 6761 6762 <p>A description of each parameter follows:</p> 6763 6764 <dd> 6765 </dd> 6766 6767 <dd> </dd> 6768 <dl class="dl-horizontal"> 6769 <dt>wand</dt> 6770 <dd>the magick wand. </dd> 6771 6772 <dd> </dd> 6773 <dt>radius</dt> 6774 <dd>the radius of the Gaussian, in pixels, not counting the center pixel. </dd> 6775 6776 <dd> </dd> 6777 <dt>sigma</dt> 6778 <dd>the standard deviation of the Gaussian, in pixels. </dd> 6779 6780 <dd> </dd> 6781 </dl> 6782 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickShaveImage">MagickShaveImage</a></h2> 6783 6784 <p>MagickShaveImage() shaves pixels from the image edges. It allocates the memory necessary for the new Image structure and returns a pointer to the new image.</p> 6785 6786 <p>The format of the MagickShaveImage method is:</p> 6787 6788 <pre class="text"> 6789 MagickBooleanType MagickShaveImage(MagickWand *wand, 6790 const size_t columns,const size_t rows) 6791 </pre> 6792 6793 <p>A description of each parameter follows:</p> 6794 6795 <dd> 6796 </dd> 6797 6798 <dd> </dd> 6799 <dl class="dl-horizontal"> 6800 <dt>wand</dt> 6801 <dd>the magick wand. </dd> 6802 6803 <dd> </dd> 6804 <dt>columns</dt> 6805 <dd>the number of columns in the scaled image. </dd> 6806 6807 <dd> </dd> 6808 <dt>rows</dt> 6809 <dd>the number of rows in the scaled image. </dd> 6810 6811 <dd> </dd> 6812 6813 <dd> </dd> 6814 </dl> 6815 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickShearImage">MagickShearImage</a></h2> 6816 6817 <p>MagickShearImage() slides one edge of an image along the X or Y axis, creating a parallelogram. An X direction shear slides an edge along the X axis, while a Y direction shear slides an edge along the Y axis. The amount of the shear is controlled by a shear angle. For X direction shears, x_shear is measured relative to the Y axis, and similarly, for Y direction shears y_shear is measured relative to the X axis. Empty triangles left over from shearing the image are filled with the background color.</p> 6818 6819 <p>The format of the MagickShearImage method is:</p> 6820 6821 <pre class="text"> 6822 MagickBooleanType MagickShearImage(MagickWand *wand, 6823 const PixelWand *background,const double x_shear,const double y_shear) 6824 </pre> 6825 6826 <p>A description of each parameter follows:</p> 6827 6828 <dd> 6829 </dd> 6830 6831 <dd> </dd> 6832 <dl class="dl-horizontal"> 6833 <dt>wand</dt> 6834 <dd>the magick wand. </dd> 6835 6836 <dd> </dd> 6837 <dt>background</dt> 6838 <dd>the background pixel wand. </dd> 6839 6840 <dd> </dd> 6841 <dt>x_shear</dt> 6842 <dd>the number of degrees to shear the image. </dd> 6843 6844 <dd> </dd> 6845 <dt>y_shear</dt> 6846 <dd>the number of degrees to shear the image. </dd> 6847 6848 <dd> </dd> 6849 </dl> 6850 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSigmoidalContrastImage">MagickSigmoidalContrastImage</a></h2> 6851 6852 <p>MagickSigmoidalContrastImage() adjusts the contrast of an image with a non-linear sigmoidal contrast algorithm. Increase the contrast of the image using a sigmoidal transfer function without saturating highlights or shadows. Contrast indicates how much to increase the contrast (0 is none; 3 is typical; 20 is pushing it); mid-point indicates where midtones fall in the resultant image (0 is white; 50 is middle-gray; 100 is black). Set sharpen to MagickTrue to increase the image contrast otherwise the contrast is reduced.</p> 6853 6854 <p>The format of the MagickSigmoidalContrastImage method is:</p> 6855 6856 <pre class="text"> 6857 MagickBooleanType MagickSigmoidalContrastImage(MagickWand *wand, 6858 const MagickBooleanType sharpen,const double alpha,const double beta) 6859 </pre> 6860 6861 <p>A description of each parameter follows:</p> 6862 6863 <dd> 6864 </dd> 6865 6866 <dd> </dd> 6867 <dl class="dl-horizontal"> 6868 <dt>wand</dt> 6869 <dd>the magick wand. </dd> 6870 6871 <dd> </dd> 6872 <dt>sharpen</dt> 6873 <dd>Increase or decrease image contrast. </dd> 6874 6875 <dd> </dd> 6876 <dt>alpha</dt> 6877 <dd>strength of the contrast, the larger the number the more 'threshold-like' it becomes. </dd> 6878 6879 <dd> </dd> 6880 <dt>beta</dt> 6881 <dd>midpoint of the function as a color value 0 to QuantumRange. </dd> 6882 6883 <dd> </dd> 6884 </dl> 6885 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSimilarityImage">MagickSimilarityImage</a></h2> 6886 6887 <p>MagickSimilarityImage() compares the reference image of the image and returns the best match offset. In addition, it returns a similarity image such that an exact match location is completely white and if none of the pixels match, black, otherwise some gray level in-between.</p> 6888 6889 <p>The format of the MagickSimilarityImage method is:</p> 6890 6891 <pre class="text"> 6892 MagickWand *MagickSimilarityImage(MagickWand *wand, 6893 const MagickWand *reference,const MetricType metric, 6894 const double similarity_threshold,RectangeInfo *offset, 6895 double *similarity) 6896 </pre> 6897 6898 <p>A description of each parameter follows:</p> 6899 6900 <dd> 6901 </dd> 6902 6903 <dd> </dd> 6904 <dl class="dl-horizontal"> 6905 <dt>wand</dt> 6906 <dd>the magick wand. </dd> 6907 6908 <dd> </dd> 6909 <dt>reference</dt> 6910 <dd>the reference wand. </dd> 6911 6912 <dd> </dd> 6913 <dt>metric</dt> 6914 <dd>the metric. </dd> 6915 6916 <dd> </dd> 6917 <dt>similarity_threshold</dt> 6918 <dd>minimum distortion for (sub)image match. </dd> 6919 6920 <dd> </dd> 6921 <dt>offset</dt> 6922 <dd>the best match offset of the reference image within the image. </dd> 6923 6924 <dd> </dd> 6925 <dt>similarity</dt> 6926 <dd>the computed similarity between the images. </dd> 6927 6928 <dd> </dd> 6929 </dl> 6930 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSketchImage">MagickSketchImage</a></h2> 6931 6932 <p>MagickSketchImage() simulates a pencil sketch. We convolve the image with a Gaussian operator of the given radius and standard deviation (sigma). For reasonable results, radius should be larger than sigma. Use a radius of 0 and SketchImage() selects a suitable radius for you. Angle gives the angle of the blurring motion.</p> 6933 6934 <p>The format of the MagickSketchImage method is:</p> 6935 6936 <pre class="text"> 6937 MagickBooleanType MagickSketchImage(MagickWand *wand, 6938 const double radius,const double sigma,const double angle) 6939 </pre> 6940 6941 <p>A description of each parameter follows:</p> 6942 6943 <dd> 6944 </dd> 6945 6946 <dd> </dd> 6947 <dl class="dl-horizontal"> 6948 <dt>wand</dt> 6949 <dd>the magick wand. </dd> 6950 6951 <dd> </dd> 6952 <dt>radius</dt> 6953 <dd>the radius of the Gaussian, in pixels, not counting the center pixel. </dd> 6954 6955 <dd> </dd> 6956 <dt>sigma</dt> 6957 <dd>the standard deviation of the Gaussian, in pixels. </dd> 6958 6959 <dd> </dd> 6960 <dt>angle</dt> 6961 <dd>apply the effect along this angle. </dd> 6962 6963 <dd> </dd> 6964 </dl> 6965 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSmushImages">MagickSmushImages</a></h2> 6966 6967 <p>MagickSmushImages() takes all images from the current image pointer to the end of the image list and smushs them to each other top-to-bottom if the stack parameter is true, otherwise left-to-right.</p> 6968 6969 <p>The format of the MagickSmushImages method is:</p> 6970 6971 <pre class="text"> 6972 MagickWand *MagickSmushImages(MagickWand *wand, 6973 const MagickBooleanType stack,const ssize_t offset) 6974 </pre> 6975 6976 <p>A description of each parameter follows:</p> 6977 6978 <dd> 6979 </dd> 6980 6981 <dd> </dd> 6982 <dl class="dl-horizontal"> 6983 <dt>wand</dt> 6984 <dd>the magick wand. </dd> 6985 6986 <dd> </dd> 6987 <dt>stack</dt> 6988 <dd>By default, images are stacked left-to-right. Set stack to MagickTrue to stack them top-to-bottom. </dd> 6989 6990 <dd> </dd> 6991 <dt>offset</dt> 6992 <dd>minimum distance in pixels between images. </dd> 6993 6994 <dd> </dd> 6995 </dl> 6996 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSolarizeImage">MagickSolarizeImage</a></h2> 6997 6998 <p>MagickSolarizeImage() applies a special effect to the image, similar to the effect achieved in a photo darkroom by selectively exposing areas of photo sensitive paper to light. Threshold ranges from 0 to QuantumRange and is a measure of the extent of the solarization.</p> 6999 7000 <p>The format of the MagickSolarizeImage method is:</p> 7001 7002 <pre class="text"> 7003 MagickBooleanType MagickSolarizeImage(MagickWand *wand, 7004 const double threshold) 7005 </pre> 7006 7007 <p>A description of each parameter follows:</p> 7008 7009 <dd> 7010 </dd> 7011 7012 <dd> </dd> 7013 <dl class="dl-horizontal"> 7014 <dt>wand</dt> 7015 <dd>the magick wand. </dd> 7016 7017 <dd> </dd> 7018 <dt>threshold</dt> 7019 <dd> Define the extent of the solarization. </dd> 7020 7021 <dd> </dd> 7022 </dl> 7023 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSparseColorImage">MagickSparseColorImage</a></h2> 7024 7025 <p>MagickSparseColorImage(), given a set of coordinates, interpolates the colors found at those coordinates, across the whole image, using various methods.</p> 7026 7027 <p>The format of the MagickSparseColorImage method is:</p> 7028 7029 <pre class="text"> 7030 MagickBooleanType MagickSparseColorImage(MagickWand *wand, 7031 const SparseColorMethod method,const size_t number_arguments, 7032 const double *arguments) 7033 </pre> 7034 7035 <p>A description of each parameter follows:</p> 7036 7037 <dd> 7038 </dd> 7039 7040 <dd> </dd> 7041 <dl class="dl-horizontal"> 7042 <dt>image</dt> 7043 <dd>the image to be sparseed. </dd> 7044 7045 <dd> </dd> 7046 <dt>method</dt> 7047 <dd>the method of image sparseion. </dd> 7048 7049 <dd> ArcSparseColorion will always ignore source image offset, and always 'bestfit' the destination image with the top left corner offset relative to the polar mapping center. </dd> 7050 7051 <dd> Bilinear has no simple inverse mapping so will not allow 'bestfit' style of image sparseion. </dd> 7052 7053 <dd> Affine, Perspective, and Bilinear, will do least squares fitting of the distrotion when more than the minimum number of control point pairs are provided. </dd> 7054 7055 <dd> Perspective, and Bilinear, will fall back to a Affine sparseion when less than 4 control point pairs are provided. While Affine sparseions will let you use any number of control point pairs, that is Zero pairs is a No-Op (viewport only) distrotion, one pair is a translation and two pairs of control points will do a scale-rotate-translate, without any shearing. </dd> 7056 7057 <dd> </dd> 7058 <dt>number_arguments</dt> 7059 <dd>the number of arguments given for this sparseion method. </dd> 7060 7061 <dd> </dd> 7062 <dt>arguments</dt> 7063 <dd>the arguments for this sparseion method. </dd> 7064 7065 <dd> </dd> 7066 </dl> 7067 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSpliceImage">MagickSpliceImage</a></h2> 7068 7069 <p>MagickSpliceImage() splices a solid color into the image.</p> 7070 7071 <p>The format of the MagickSpliceImage method is:</p> 7072 7073 <pre class="text"> 7074 MagickBooleanType MagickSpliceImage(MagickWand *wand, 7075 const size_t width,const size_t height,const ssize_t x, 7076 const ssize_t y) 7077 </pre> 7078 7079 <p>A description of each parameter follows:</p> 7080 7081 <dd> 7082 </dd> 7083 7084 <dd> </dd> 7085 <dl class="dl-horizontal"> 7086 <dt>wand</dt> 7087 <dd>the magick wand. </dd> 7088 7089 <dd> </dd> 7090 <dt>width</dt> 7091 <dd>the region width. </dd> 7092 7093 <dd> </dd> 7094 <dt>height</dt> 7095 <dd>the region height. </dd> 7096 7097 <dd> </dd> 7098 <dt>x</dt> 7099 <dd>the region x offset. </dd> 7100 7101 <dd> </dd> 7102 <dt>y</dt> 7103 <dd>the region y offset. </dd> 7104 7105 <dd> </dd> 7106 </dl> 7107 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSpreadImage">MagickSpreadImage</a></h2> 7108 7109 <p>MagickSpreadImage() is a special effects method that randomly displaces each pixel in a block defined by the radius parameter.</p> 7110 7111 <p>The format of the MagickSpreadImage method is:</p> 7112 7113 <pre class="text"> 7114 MagickBooleanType MagickSpreadImage(MagickWand *wand, 7115 const PixelInterpolateMethod method,const double radius) 7116 7117 A description of each parameter follows: 7118 </pre> 7119 7120 <dt>wand</dt> 7121 <p>the magick wand.</p> 7122 7123 <dt>method</dt> 7124 <p>intepolation method.</p> 7125 7126 <dt>radius</dt> 7127 <p>Choose a random pixel in a neighborhood of this extent.</p> 7128 7129 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickStatisticImage">MagickStatisticImage</a></h2> 7130 7131 <p>MagickStatisticImage() replace each pixel with corresponding statistic from the neighborhood of the specified width and height.</p> 7132 7133 <p>The format of the MagickStatisticImage method is:</p> 7134 7135 <pre class="text"> 7136 MagickBooleanType MagickStatisticImage(MagickWand *wand, 7137 const StatisticType type,const double width,const size_t height) 7138 </pre> 7139 7140 <p>A description of each parameter follows:</p> 7141 7142 <dd> 7143 </dd> 7144 7145 <dd> </dd> 7146 <dl class="dl-horizontal"> 7147 <dt>wand</dt> 7148 <dd>the magick wand. </dd> 7149 7150 <dd> </dd> 7151 <dt>type</dt> 7152 <dd>the statistic type (e.g. median, mode, etc.). </dd> 7153 7154 <dd> </dd> 7155 <dt>width</dt> 7156 <dd>the width of the pixel neighborhood. </dd> 7157 7158 <dd> </dd> 7159 <dt>height</dt> 7160 <dd>the height of the pixel neighborhood. </dd> 7161 7162 <dd> </dd> 7163 </dl> 7164 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSteganoImage">MagickSteganoImage</a></h2> 7165 7166 <p>MagickSteganoImage() hides a digital watermark within the image. Recover the hidden watermark later to prove that the authenticity of an image. Offset defines the start position within the image to hide the watermark.</p> 7167 7168 <p>The format of the MagickSteganoImage method is:</p> 7169 7170 <pre class="text"> 7171 MagickWand *MagickSteganoImage(MagickWand *wand, 7172 const MagickWand *watermark_wand,const ssize_t offset) 7173 </pre> 7174 7175 <p>A description of each parameter follows:</p> 7176 7177 <dd> 7178 </dd> 7179 7180 <dd> </dd> 7181 <dl class="dl-horizontal"> 7182 <dt>wand</dt> 7183 <dd>the magick wand. </dd> 7184 7185 <dd> </dd> 7186 <dt>watermark_wand</dt> 7187 <dd>the watermark wand. </dd> 7188 7189 <dd> </dd> 7190 <dt>offset</dt> 7191 <dd>Start hiding at this offset into the image. </dd> 7192 7193 <dd> </dd> 7194 </dl> 7195 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickStereoImage">MagickStereoImage</a></h2> 7196 7197 <p>MagickStereoImage() composites two images and produces a single image that is the composite of a left and right image of a stereo pair</p> 7198 7199 <p>The format of the MagickStereoImage method is:</p> 7200 7201 <pre class="text"> 7202 MagickWand *MagickStereoImage(MagickWand *wand, 7203 const MagickWand *offset_wand) 7204 </pre> 7205 7206 <p>A description of each parameter follows:</p> 7207 7208 <dd> 7209 </dd> 7210 7211 <dd> </dd> 7212 <dl class="dl-horizontal"> 7213 <dt>wand</dt> 7214 <dd>the magick wand. </dd> 7215 7216 <dd> </dd> 7217 <dt>offset_wand</dt> 7218 <dd>Another image wand. </dd> 7219 7220 <dd> </dd> 7221 </dl> 7222 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickStripImage">MagickStripImage</a></h2> 7223 7224 <p>MagickStripImage() strips an image of all profiles and comments.</p> 7225 7226 <p>The format of the MagickStripImage method is:</p> 7227 7228 <pre class="text"> 7229 MagickBooleanType MagickStripImage(MagickWand *wand) 7230 </pre> 7231 7232 <p>A description of each parameter follows:</p> 7233 7234 <dd> 7235 </dd> 7236 7237 <dd> </dd> 7238 <dl class="dl-horizontal"> 7239 <dt>wand</dt> 7240 <dd>the magick wand. </dd> 7241 7242 <dd> </dd> 7243 </dl> 7244 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickSwirlImage">MagickSwirlImage</a></h2> 7245 7246 <p>MagickSwirlImage() swirls the pixels about the center of the image, where degrees indicates the sweep of the arc through which each pixel is moved. You get a more dramatic effect as the degrees move from 1 to 360.</p> 7247 7248 <p>The format of the MagickSwirlImage method is:</p> 7249 7250 <pre class="text"> 7251 MagickBooleanType MagickSwirlImage(MagickWand *wand,const double degrees, 7252 const PixelInterpolateMethod method) 7253 </pre> 7254 7255 <p>A description of each parameter follows:</p> 7256 7257 <dd> 7258 </dd> 7259 7260 <dd> </dd> 7261 <dl class="dl-horizontal"> 7262 <dt>wand</dt> 7263 <dd>the magick wand. </dd> 7264 7265 <dd> </dd> 7266 <dt>degrees</dt> 7267 <dd>Define the tightness of the swirling effect. </dd> 7268 7269 <dd> </dd> 7270 <dt>method</dt> 7271 <dd>the pixel interpolation method. </dd> 7272 7273 <dd> </dd> 7274 </dl> 7275 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickTextureImage">MagickTextureImage</a></h2> 7276 7277 <p>MagickTextureImage() repeatedly tiles the texture image across and down the image canvas.</p> 7278 7279 <p>The format of the MagickTextureImage method is:</p> 7280 7281 <pre class="text"> 7282 MagickWand *MagickTextureImage(MagickWand *wand, 7283 const MagickWand *texture_wand) 7284 </pre> 7285 7286 <p>A description of each parameter follows:</p> 7287 7288 <dd> 7289 </dd> 7290 7291 <dd> </dd> 7292 <dl class="dl-horizontal"> 7293 <dt>wand</dt> 7294 <dd>the magick wand. </dd> 7295 7296 <dd> </dd> 7297 <dt>texture_wand</dt> 7298 <dd>the texture wand </dd> 7299 7300 <dd> </dd> 7301 </dl> 7302 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickThresholdImage">MagickThresholdImage</a></h2> 7303 7304 <p>MagickThresholdImage() changes the value of individual pixels based on the intensity of each pixel compared to threshold. The result is a high-contrast, two color image.</p> 7305 7306 <p>The format of the MagickThresholdImage method is:</p> 7307 7308 <pre class="text"> 7309 MagickBooleanType MagickThresholdImage(MagickWand *wand, 7310 const double threshold) 7311 MagickBooleanType MagickThresholdImageChannel(MagickWand *wand, 7312 const ChannelType channel,const double threshold) 7313 </pre> 7314 7315 <p>A description of each parameter follows:</p> 7316 7317 <dd> 7318 </dd> 7319 7320 <dd> </dd> 7321 <dl class="dl-horizontal"> 7322 <dt>wand</dt> 7323 <dd>the magick wand. </dd> 7324 7325 <dd> </dd> 7326 <dt>channel</dt> 7327 <dd>the image channel(s). </dd> 7328 7329 <dd> </dd> 7330 <dt>threshold</dt> 7331 <dd>Define the threshold value. </dd> 7332 7333 <dd> </dd> 7334 </dl> 7335 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickThumbnailImage">MagickThumbnailImage</a></h2> 7336 7337 <p>MagickThumbnailImage() changes the size of an image to the given dimensions and removes any associated profiles. The goal is to produce small low cost thumbnail images suited for display on the Web.</p> 7338 7339 <p>The format of the MagickThumbnailImage method is:</p> 7340 7341 <pre class="text"> 7342 MagickBooleanType MagickThumbnailImage(MagickWand *wand, 7343 const size_t columns,const size_t rows) 7344 </pre> 7345 7346 <p>A description of each parameter follows:</p> 7347 7348 <dd> 7349 </dd> 7350 7351 <dd> </dd> 7352 <dl class="dl-horizontal"> 7353 <dt>wand</dt> 7354 <dd>the magick wand. </dd> 7355 7356 <dd> </dd> 7357 <dt>columns</dt> 7358 <dd>the number of columns in the scaled image. </dd> 7359 7360 <dd> </dd> 7361 <dt>rows</dt> 7362 <dd>the number of rows in the scaled image. </dd> 7363 7364 <dd> </dd> 7365 </dl> 7366 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickTintImage">MagickTintImage</a></h2> 7367 7368 <p>MagickTintImage() applies a color vector to each pixel in the image. The length of the vector is 0 for black and white and at its maximum for the midtones. The vector weighting function is f(x)=(1-(4.0*((x-0.5)*(x-0.5)))).</p> 7369 7370 <p>The format of the MagickTintImage method is:</p> 7371 7372 <pre class="text"> 7373 MagickBooleanType MagickTintImage(MagickWand *wand, 7374 const PixelWand *tint,const PixelWand *blend) 7375 </pre> 7376 7377 <p>A description of each parameter follows:</p> 7378 7379 <dd> 7380 </dd> 7381 7382 <dd> </dd> 7383 <dl class="dl-horizontal"> 7384 <dt>wand</dt> 7385 <dd>the magick wand. </dd> 7386 7387 <dd> </dd> 7388 <dt>tint</dt> 7389 <dd>the tint pixel wand. </dd> 7390 7391 <dd> </dd> 7392 <dt>alpha</dt> 7393 <dd>the alpha pixel wand. </dd> 7394 7395 <dd> </dd> 7396 </dl> 7397 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickTransformImageColorspace">MagickTransformImageColorspace</a></h2> 7398 7399 <p>MagickTransformImageColorspace() transform the image colorspace, setting the images colorspace while transforming the images data to that colorspace.</p> 7400 7401 <p>The format of the MagickTransformImageColorspace method is:</p> 7402 7403 <pre class="text"> 7404 MagickBooleanType MagickTransformImageColorspace(MagickWand *wand, 7405 const ColorspaceType colorspace) 7406 </pre> 7407 7408 <p>A description of each parameter follows:</p> 7409 7410 <dd> 7411 </dd> 7412 7413 <dd> </dd> 7414 <dl class="dl-horizontal"> 7415 <dt>wand</dt> 7416 <dd>the magick wand. </dd> 7417 7418 <dd> </dd> 7419 <dt>colorspace</dt> 7420 <dd>the image colorspace: UndefinedColorspace, sRGBColorspace, RGBColorspace, GRAYColorspace, OHTAColorspace, XYZColorspace, YCbCrColorspace, YCCColorspace, YIQColorspace, YPbPrColorspace, YPbPrColorspace, YUVColorspace, CMYKColorspace, HSLColorspace, HWBColorspace. </dd> 7421 7422 <dd> </dd> 7423 </dl> 7424 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickTransparentPaintImage">MagickTransparentPaintImage</a></h2> 7425 7426 <p>MagickTransparentPaintImage() changes any pixel that matches color with the color defined by fill.</p> 7427 7428 <p>The format of the MagickTransparentPaintImage method is:</p> 7429 7430 <pre class="text"> 7431 MagickBooleanType MagickTransparentPaintImage(MagickWand *wand, 7432 const PixelWand *target,const double alpha,const double fuzz, 7433 const MagickBooleanType invert) 7434 </pre> 7435 7436 <p>A description of each parameter follows:</p> 7437 7438 <dd> 7439 </dd> 7440 7441 <dd> </dd> 7442 <dl class="dl-horizontal"> 7443 <dt>wand</dt> 7444 <dd>the magick wand. </dd> 7445 7446 <dd> </dd> 7447 <dt>target</dt> 7448 <dd>Change this target color to specified alpha value within the image. </dd> 7449 7450 <dd> </dd> 7451 <dt>alpha</dt> 7452 <dd>the level of transparency: 1.0 is fully opaque and 0.0 is fully transparent. </dd> 7453 7454 <dd> </dd> 7455 <dt>fuzz</dt> 7456 <dd>By default target must match a particular pixel color exactly. However, in many cases two colors may differ by a small amount. The fuzz member of image defines how much tolerance is acceptable to consider two colors as the same. For example, set fuzz to 10 and the color red at intensities of 100 and 102 respectively are now interpreted as the same color for the purposes of the floodfill. </dd> 7457 7458 <dd> </dd> 7459 <dt>invert</dt> 7460 <dd>paint any pixel that does not match the target color. </dd> 7461 7462 <dd> </dd> 7463 </dl> 7464 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickTransposeImage">MagickTransposeImage</a></h2> 7465 7466 <p>MagickTransposeImage() creates a vertical mirror image by reflecting the pixels around the central x-axis while rotating them 90-degrees.</p> 7467 7468 <p>The format of the MagickTransposeImage method is:</p> 7469 7470 <pre class="text"> 7471 MagickBooleanType MagickTransposeImage(MagickWand *wand) 7472 </pre> 7473 7474 <p>A description of each parameter follows:</p> 7475 7476 <dd> 7477 </dd> 7478 7479 <dd> </dd> 7480 <dl class="dl-horizontal"> 7481 <dt>wand</dt> 7482 <dd>the magick wand. </dd> 7483 7484 <dd> </dd> 7485 </dl> 7486 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickTransverseImage">MagickTransverseImage</a></h2> 7487 7488 <p>MagickTransverseImage() creates a horizontal mirror image by reflecting the pixels around the central y-axis while rotating them 270-degrees.</p> 7489 7490 <p>The format of the MagickTransverseImage method is:</p> 7491 7492 <pre class="text"> 7493 MagickBooleanType MagickTransverseImage(MagickWand *wand) 7494 </pre> 7495 7496 <p>A description of each parameter follows:</p> 7497 7498 <dd> 7499 </dd> 7500 7501 <dd> </dd> 7502 <dl class="dl-horizontal"> 7503 <dt>wand</dt> 7504 <dd>the magick wand. </dd> 7505 7506 <dd> </dd> 7507 </dl> 7508 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickTrimImage">MagickTrimImage</a></h2> 7509 7510 <p>MagickTrimImage() remove edges that are the background color from the image.</p> 7511 7512 <p>The format of the MagickTrimImage method is:</p> 7513 7514 <pre class="text"> 7515 MagickBooleanType MagickTrimImage(MagickWand *wand,const double fuzz) 7516 </pre> 7517 7518 <p>A description of each parameter follows:</p> 7519 7520 <dd> 7521 </dd> 7522 7523 <dd> </dd> 7524 <dl class="dl-horizontal"> 7525 <dt>wand</dt> 7526 <dd>the magick wand. </dd> 7527 7528 <dd> </dd> 7529 <dt>fuzz</dt> 7530 <dd>By default target must match a particular pixel color exactly. However, in many cases two colors may differ by a small amount. The fuzz member of image defines how much tolerance is acceptable to consider two colors as the same. For example, set fuzz to 10 and the color red at intensities of 100 and 102 respectively are now interpreted as the same color for the purposes of the floodfill. </dd> 7531 7532 <dd> </dd> 7533 </dl> 7534 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickUniqueImageColors">MagickUniqueImageColors</a></h2> 7535 7536 <p>MagickUniqueImageColors() discards all but one of any pixel color.</p> 7537 7538 <p>The format of the MagickUniqueImageColors method is:</p> 7539 7540 <pre class="text"> 7541 MagickBooleanType MagickUniqueImageColors(MagickWand *wand) 7542 </pre> 7543 7544 <p>A description of each parameter follows:</p> 7545 7546 <dd> 7547 </dd> 7548 7549 <dd> </dd> 7550 <dl class="dl-horizontal"> 7551 <dt>wand</dt> 7552 <dd>the magick wand. </dd> 7553 7554 <dd> </dd> 7555 </dl> 7556 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickUnsharpMaskImage">MagickUnsharpMaskImage</a></h2> 7557 7558 <p>MagickUnsharpMaskImage() sharpens an image. We convolve the image with a Gaussian operator of the given radius and standard deviation (sigma). For reasonable results, radius should be larger than sigma. Use a radius of 0 and UnsharpMaskImage() selects a suitable radius for you.</p> 7559 7560 <p>The format of the MagickUnsharpMaskImage method is:</p> 7561 7562 <pre class="text"> 7563 MagickBooleanType MagickUnsharpMaskImage(MagickWand *wand, 7564 const double radius,const double sigma,const double gain, 7565 const double threshold) 7566 </pre> 7567 7568 <p>A description of each parameter follows:</p> 7569 7570 <dd> 7571 </dd> 7572 7573 <dd> </dd> 7574 <dl class="dl-horizontal"> 7575 <dt>wand</dt> 7576 <dd>the magick wand. </dd> 7577 7578 <dd> </dd> 7579 <dt>radius</dt> 7580 <dd>the radius of the Gaussian, in pixels, not counting the center pixel. </dd> 7581 7582 <dd> </dd> 7583 <dt>sigma</dt> 7584 <dd>the standard deviation of the Gaussian, in pixels. </dd> 7585 7586 <dd> </dd> 7587 <dt>gain</dt> 7588 <dd>the percentage of the difference between the original and the blur image that is added back into the original. </dd> 7589 7590 <dd> </dd> 7591 <dt>threshold</dt> 7592 <dd>the threshold in pixels needed to apply the diffence gain. </dd> 7593 7594 <dd> </dd> 7595 </dl> 7596 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickVignetteImage">MagickVignetteImage</a></h2> 7597 7598 <p>MagickVignetteImage() softens the edges of the image in vignette style.</p> 7599 7600 <p>The format of the MagickVignetteImage method is:</p> 7601 7602 <pre class="text"> 7603 MagickBooleanType MagickVignetteImage(MagickWand *wand, 7604 const double radius,const double sigma,const ssize_t x, 7605 const ssize_t y) 7606 </pre> 7607 7608 <p>A description of each parameter follows:</p> 7609 7610 <dd> 7611 </dd> 7612 7613 <dd> </dd> 7614 <dl class="dl-horizontal"> 7615 <dt>wand</dt> 7616 <dd>the magick wand. </dd> 7617 7618 <dd> </dd> 7619 <dt>radius</dt> 7620 <dd>the radius. </dd> 7621 7622 <dd> </dd> 7623 <dt>sigma</dt> 7624 <dd>the sigma. </dd> 7625 7626 <dd> </dd> 7627 <dt>x, y</dt> 7628 <dd> Define the x and y ellipse offset. </dd> 7629 7630 <dd> </dd> 7631 </dl> 7632 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickWaveImage">MagickWaveImage</a></h2> 7633 7634 <p>MagickWaveImage() creates a "ripple" effect in the image by shifting the pixels vertically along a sine wave whose amplitude and wavelength is specified by the given parameters.</p> 7635 7636 <p>The format of the MagickWaveImage method is:</p> 7637 7638 <pre class="text"> 7639 MagickBooleanType MagickWaveImage(MagickWand *wand, 7640 const double amplitude,const double wave_length, 7641 const PixelInterpolateMethod method) 7642 </pre> 7643 7644 <p>A description of each parameter follows:</p> 7645 7646 <dd> 7647 </dd> 7648 7649 <dd> </dd> 7650 <dl class="dl-horizontal"> 7651 <dt>wand</dt> 7652 <dd>the magick wand. </dd> 7653 7654 <dd> </dd> 7655 <dt>amplitude, wave_length</dt> 7656 <dd> Define the amplitude and wave length of the sine wave. </dd> 7657 7658 <dd> </dd> 7659 <dt>method</dt> 7660 <dd>the pixel interpolation method. </dd> 7661 7662 <dd> </dd> 7663 </dl> 7664 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickWhiteThresholdImage">MagickWhiteThresholdImage</a></h2> 7665 7666 <p>MagickWhiteThresholdImage() is like ThresholdImage() but force all pixels above the threshold into white while leaving all pixels below the threshold unchanged.</p> 7667 7668 <p>The format of the MagickWhiteThresholdImage method is:</p> 7669 7670 <pre class="text"> 7671 MagickBooleanType MagickWhiteThresholdImage(MagickWand *wand, 7672 const PixelWand *threshold) 7673 </pre> 7674 7675 <p>A description of each parameter follows:</p> 7676 7677 <dd> 7678 </dd> 7679 7680 <dd> </dd> 7681 <dl class="dl-horizontal"> 7682 <dt>wand</dt> 7683 <dd>the magick wand. </dd> 7684 7685 <dd> </dd> 7686 <dt>threshold</dt> 7687 <dd>the pixel wand. </dd> 7688 7689 <dd> </dd> 7690 </dl> 7691 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickWriteImage">MagickWriteImage</a></h2> 7692 7693 <p>MagickWriteImage() writes an image to the specified filename. If the filename parameter is NULL, the image is written to the filename set by MagickReadImage() or MagickSetImageFilename().</p> 7694 7695 <p>The format of the MagickWriteImage method is:</p> 7696 7697 <pre class="text"> 7698 MagickBooleanType MagickWriteImage(MagickWand *wand, 7699 const char *filename) 7700 </pre> 7701 7702 <p>A description of each parameter follows:</p> 7703 7704 <dd> 7705 </dd> 7706 7707 <dd> </dd> 7708 <dl class="dl-horizontal"> 7709 <dt>wand</dt> 7710 <dd>the magick wand. </dd> 7711 7712 <dd> </dd> 7713 <dt>filename</dt> 7714 <dd>the image filename. </dd> 7715 7716 <dd> </dd> 7717 7718 <dd> </dd> 7719 </dl> 7720 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickWriteImageFile">MagickWriteImageFile</a></h2> 7721 7722 <p>MagickWriteImageFile() writes an image to an open file descriptor.</p> 7723 7724 <p>The format of the MagickWriteImageFile method is:</p> 7725 7726 <pre class="text"> 7727 MagickBooleanType MagickWriteImageFile(MagickWand *wand,FILE *file) 7728 </pre> 7729 7730 <p>A description of each parameter follows:</p> 7731 7732 <dd> 7733 </dd> 7734 7735 <dd> </dd> 7736 <dl class="dl-horizontal"> 7737 <dt>wand</dt> 7738 <dd>the magick wand. </dd> 7739 7740 <dd> </dd> 7741 <dt>file</dt> 7742 <dd>the file descriptor. </dd> 7743 7744 <dd> </dd> 7745 </dl> 7746 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickWriteImages">MagickWriteImages</a></h2> 7747 7748 <p>MagickWriteImages() writes an image or image sequence.</p> 7749 7750 <p>The format of the MagickWriteImages method is:</p> 7751 7752 <pre class="text"> 7753 MagickBooleanType MagickWriteImages(MagickWand *wand, 7754 const char *filename,const MagickBooleanType adjoin) 7755 </pre> 7756 7757 <p>A description of each parameter follows:</p> 7758 7759 <dd> 7760 </dd> 7761 7762 <dd> </dd> 7763 <dl class="dl-horizontal"> 7764 <dt>wand</dt> 7765 <dd>the magick wand. </dd> 7766 7767 <dd> </dd> 7768 <dt>filename</dt> 7769 <dd>the image filename. </dd> 7770 7771 <dd> </dd> 7772 <dt>adjoin</dt> 7773 <dd>join images into a single multi-image file. </dd> 7774 7775 <dd> </dd> 7776 </dl> 7777 <h2><a href="http://www.imagemagick.org/api/MagickWand/magick-image_8c.html" id="MagickWriteImagesFile">MagickWriteImagesFile</a></h2> 7778 7779 <p>MagickWriteImagesFile() writes an image sequence to an open file descriptor.</p> 7780 7781 <p>The format of the MagickWriteImagesFile method is:</p> 7782 7783 <pre class="text"> 7784 MagickBooleanType MagickWriteImagesFile(MagickWand *wand,FILE *file) 7785 </pre> 7786 7787 <p>A description of each parameter follows:</p> 7788 7789 <dd> 7790 </dd> 7791 7792 <dd> </dd> 7793 <dl class="dl-horizontal"> 7794 <dt>wand</dt> 7795 <dd>the magick wand. </dd> 7796 7797 <dd> </dd> 7798 <dt>file</dt> 7799 <dd>the file descriptor. </dd> 7800 7801 <dd> </dd> 7802 </dl> 7803 </div> 7804 <footer class="magick-footer"> 7805 <p><a href="../support.html">Donate</a> 7806 <a href="../sitemap.html">Sitemap</a> 7807 <a href="../links.html">Related</a> 7808 <a href="../architecture.html">Architecture</a> 7809 </p> 7810 <p><a href="magick-image.html#">Back to top</a> 7811 <a href="http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x89AB63D48277377A">Public Key</a> 7812 <a href="http://www.imagemagick.org/script/contact.php">Contact Us</a></p> 7813 <p><small> 1999-2016 ImageMagick Studio LLC</small></p> 7814 </footer> 7815 </div><!-- /.container --> 7816 7817 <script src="https://localhost/ajax/libs/jquery/1.11.3/jquery.min.js"></script> 7818 <script src="../js/magick.html"></script> 7819 </div> 7820 </body> 7821 </html> 7822