## MagickDeleteImageProperty

MagickDeleteImageProperty() deletes a wand property.

The format of the MagickDeleteImageProperty method is:

      MagickBooleanType MagickDeleteImageProperty(MagickWand *wand,
        const char *property)

A description of each parameter follows:

##### image

The image.

##### property

The image property.

## MagickDeleteOption

MagickDeleteOption() deletes a wand option.

The format of the MagickDeleteOption method is:

      MagickBooleanType MagickDeleteOption(MagickWand *wand,
        const char *option)

A description of each parameter follows:

##### image

The image.

##### option

The image option.

## MagickGetAntialias

MagickGetAntialias() returns the antialias property associated with the wand.

The format of the MagickGetAntialias method is:

      MagickBooleanType MagickGetAntialias(const MagickWand *wand)

A description of each parameter follows:

##### wand

The magick wand.

## MagickGetBackgroundColor

MagickGetBackgroundColor() returns the wand background color.

The format of the MagickGetBackgroundColor method is:

      PixelWand *MagickGetBackgroundColor(MagickWand *wand)

A description of each parameter follows:

##### wand

The magick wand.

## MagickGetCompression

MagickGetCompression() gets the wand compression type.

The format of the MagickGetCompression method is:

      CompressionType MagickGetCompression(MagickWand *wand)

A description of each parameter follows:

##### wand

The magick wand.

## MagickGetCompressionQuality

MagickGetCompressionQuality() gets the wand compression quality.

The format of the MagickGetCompressionQuality method is:

      unsigned long MagickGetCompressionQuality(MagickWand *wand)

A description of each parameter follows:

##### wand

The magick wand.

## MagickGetCopyright

MagickGetCopyright() returns the ImageMagick API copyright as a string constant.

The format of the MagickGetCopyright method is:

      const char *MagickGetCopyright(void)

## MagickGetFilename

MagickGetFilename() returns the filename associated with an image sequence.

The format of the MagickGetFilename method is:

      const char *MagickGetFilename(const MagickWand *wand)

A description of each parameter follows:

##### wand

The magick wand.

## MagickGetFont

MagickGetFont() returns the font associated with the MagickWand.

The format of the MagickGetFont method is:

      char *MagickGetFont(MagickWand *wand)

A description of each parameter follows:

##### wand

The magick wand.

## MagickGetFormat

MagickGetFormat() returns the format of the magick wand.

The format of the MagickGetFormat method is:

      const char MagickGetFormat(MagickWand *wand)

A description of each parameter follows:

##### wand

The magick wand.

## MagickGetHomeURL

MagickGetHomeURL() returns the ImageMagick home URL.

The format of the MagickGetHomeURL method is:

      char *MagickGetHomeURL(void)

## MagickGetImageProfile

MagickGetImageProfile() returns the named image profile.

The format of the MagickGetImageProfile method is:

      unsigned char *MagickGetImageProfile(MagickWand *wand,const char *name,
        size_t *length)

A description of each parameter follows:

##### wand

The magick wand.

##### name

Name of profile to return: ICC, IPTC, or generic profile.

##### length

The length of the profile.

## MagickGetImageProfiles

MagickGetImageProfiles() returns all the profile names that match the specified pattern associated with a wand. Use MagickGetImageProfile() to return the value of a particular property. Use MagickRelinquishMemory() to free the value when you are finished with it.

The format of the MagickGetImageProfiles method is:

      char *MagickGetImageProfiles(MagickWand *wand,
        unsigned long *number_profiles)

A description of each parameter follows:

##### wand

The magick wand.

##### pattern

Specifies a pointer to a text string containing a pattern.

##### number_profiles

The number profiles associated with this wand.

## MagickGetImageProperty

MagickGetImageProperty() returns a value associated with the specified property. Use MagickRelinquishMemory() to free the value when you are finished with it.

The format of the MagickGetImageProperty method is:

      char *MagickGetImageProperty(MagickWand *wand,const char *property)

A description of each parameter follows:

##### wand

The magick wand.

##### property

The property.

## MagickGetImageProperties

MagickGetImageProperties() returns all the property names that match the specified pattern associated with a wand. Use MagickGetImageProperty() to return the value of a particular property. Use MagickRelinquishMemory() to free the value when you are finished with it.

The format of the MagickGetImageProperties method is:

      char *MagickGetImageProperties(MagickWand *wand,
        const char *pattern,unsigned long *number_properties)

A description of each parameter follows:

##### wand

The magick wand.

##### pattern

Specifies a pointer to a text string containing a pattern.

##### number_properties

The number properties associated with this wand.

## MagickGetInterlaceScheme

MagickGetInterlaceScheme() gets the wand interlace scheme.

The format of the MagickGetInterlaceScheme method is:

      InterlaceType MagickGetInterlaceScheme(MagickWand *wand)

A description of each parameter follows:

##### wand

The magick wand.

## MagickGetInterpolateMethod

MagickGetInterpolateMethod() gets the wand compression.

The format of the MagickGetInterpolateMethod method is:

      InterpolatePixelMethod MagickGetInterpolateMethod(MagickWand *wand)

A description of each parameter follows:

##### wand

The magick wand.

## MagickGetOption

MagickGetOption() returns a value associated with a wand and the specified key. Use MagickRelinquishMemory() to free the value when you are finished with it.

The format of the MagickGetOption method is:

      char *MagickGetOption(MagickWand *wand,const char *key)

A description of each parameter follows:

##### wand

The magick wand.

##### key

The key.

## MagickGetOptions

MagickGetOptions() returns all the option names that match the specified pattern associated with a wand. Use MagickGetOption() to return the value of a particular option. Use MagickRelinquishMemory() to free the value when you are finished with it.

The format of the MagickGetOptions method is:

      char *MagickGetOptions(MagickWand *wand,unsigned long *number_options)

A description of each parameter follows:

##### wand

The magick wand.

##### pattern

Specifies a pointer to a text string containing a pattern.

##### number_options

The number options associated with this wand.

## MagickGetOrientation

MagickGetOrientation() gets the wand orientation type.

The format of the MagickGetOrientation method is:

      OrientationType MagickGetOrientation(MagickWand *wand)

A description of each parameter follows:

##### wand

The magick wand.

## MagickGetPackageName

MagickGetPackageName() returns the ImageMagick package name as a string constant.

The format of the MagickGetPackageName method is:

      const char *MagickGetPackageName(void)

## MagickGetPage

MagickGetPage() returns the page geometry associated with the magick wand.

The format of the MagickGetPage method is:

      MagickBooleanType MagickGetPage(const MagickWand *wand,
        unsigned long *width,unsigned long *height,long *x,long *y)

A description of each parameter follows:

##### wand

The magick wand.

##### width

The page width.

##### height

page height.

##### x

The page x-offset.

##### y

The page y-offset.

## MagickGetPointsize

MagickGetPointsize() returns the font pointsize associated with the MagickWand.

The format of the MagickGetPointsize method is:

      double MagickGetPointsize(MagickWand *wand)

A description of each parameter follows:

##### wand

The magick wand.

## MagickGetQuantumDepth

MagickGetQuantumDepth() returns the ImageMagick quantum depth as a string constant.

The format of the MagickGetQuantumDepth method is:

      const char *MagickGetQuantumDepth(unsigned long *depth)

A description of each parameter follows:

##### depth

The quantum depth is returned as a number.

## MagickGetQuantumRange

MagickGetQuantumRange() returns the ImageMagick quantum range as a string constant.

The format of the MagickGetQuantumRange method is:

      const char *MagickGetQuantumRange(unsigned long *range)

A description of each parameter follows:

##### range

The quantum range is returned as a number.

## MagickGetReleaseDate

MagickGetReleaseDate() returns the ImageMagick release date as a string constant.

The format of the MagickGetReleaseDate method is:

      const char *MagickGetReleaseDate(void)

## MagickGetResource

MagickGetResource() returns the specified resource in megabytes.

The format of the MagickGetResource method is:

      unsigned long MagickGetResource(const ResourceType type)

A description of each parameter follows:

##### wand

The magick wand.

## MagickGetResourceLimit

MagickGetResourceLimit() returns the specified resource limit in megabytes.

The format of the MagickGetResourceLimit method is:

      unsigned long MagickGetResourceLimit(const ResourceType type)

A description of each parameter follows:

##### wand

The magick wand.

## MagickGetSamplingFactors

MagickGetSamplingFactors() gets the horizontal and vertical sampling factor.

The format of the MagickGetSamplingFactors method is:

      double *MagickGetSamplingFactor(MagickWand *wand,
        unsigned long *number_factors)

A description of each parameter follows:

##### wand

The magick wand.

##### number_factors

The number of factors in the returned array.

## MagickGetSize

MagickGetSize() returns the size associated with the magick wand.

The format of the MagickGetSize method is:

      MagickBooleanType MagickGetSize(const MagickWand *wand,
        unsigned long *columns,unsigned long *rows)

A description of each parameter follows:

##### wand

The magick wand.

##### columns

The width in pixels.

##### height

The height in pixels.

## MagickGetSizeOffset

MagickGetSizeOffset() returns the size offset associated with the magick wand.

The format of the MagickGetSizeOffset method is:

      MagickBooleanType MagickGetSizeOffset(const MagickWand *wand,
        long *offset)

A description of each parameter follows:

##### wand

The magick wand.

##### offset

The image offset.

## MagickGetType

MagickGetType() returns the wand type.

The format of the MagickGetType method is:

      ImageType MagickGetType(MagickWand *wand)

A description of each parameter follows:

##### wand

The magick wand.

## MagickGetVersion

MagickGetVersion() returns the ImageMagick API version as a string constant and as a number.

The format of the MagickGetVersion method is:

      const char *MagickGetVersion(unsigned long *version)

A description of each parameter follows:

##### version

The ImageMagick version is returned as a number.

## MagickProfileImage

MagickProfileImage() adds or removes a ICC, IPTC, or generic profile from an image. If the profile is NULL, it is removed from the image otherwise added. Use a name of '*' and a profile of NULL to remove all profiles from the image.

The format of the MagickProfileImage method is:

      MagickBooleanType MagickProfileImage(MagickWand *wand,const char *name,
        const void *profile,const size_t length)

A description of each parameter follows:

##### wand

The magick wand.

##### name

Name of profile to add or remove: ICC, IPTC, or generic profile.

##### profile

The profile.

##### length

The length of the profile.

## MagickRemoveImageProfile

MagickRemoveImageProfile() removes the named image profile and returns it.

The format of the MagickRemoveImageProfile method is:

      unsigned char *MagickRemoveImageProfile(MagickWand *wand,
        const char *name,size_t *length)

A description of each parameter follows:

##### wand

The magick wand.

##### name

Name of profile to return: ICC, IPTC, or generic profile.

##### length

The length of the profile.

## MagickSetAntialias

MagickSetAntialias() sets the antialias propery of the wand.

The format of the MagickSetAntialias method is:

      MagickBooleanType MagickSetAntialias(MagickWand *wand,
        const MagickBooleanType antialias)

A description of each parameter follows:

##### wand

The magick wand.

##### antialias

The antialias property.

## MagickSetBackgroundColor

MagickSetBackgroundColor() sets the wand background color.

The format of the MagickSetBackgroundColor method is:

      MagickBooleanType MagickSetBackgroundColor(MagickWand *wand,
        const PixelWand *background)

A description of each parameter follows:

##### wand

The magick wand.

##### background

The background pixel wand.

## MagickSetCompression

MagickSetCompression() sets the wand compression type.

The format of the MagickSetCompression method is:

      MagickBooleanType MagickSetCompression(MagickWand *wand,
        const CompressionType compression)

A description of each parameter follows:

##### wand

The magick wand.

##### compression

The wand compression.

## MagickSetCompressionQuality

MagickSetCompressionQuality() sets the wand compression quality.

The format of the MagickSetCompressionQuality method is:

      MagickBooleanType MagickSetCompressionQuality(MagickWand *wand,
        const unsigned long quality)

A description of each parameter follows:

##### wand

The magick wand.

##### quality

The wand compression quality.

## MagickSetDepth

MagickSetDepth() sets the wand pixel depth.

The format of the MagickSetDepth method is:

      MagickBooleanType MagickSetDepth(MagickWand *wand,
        const unsigned long depth)

A description of each parameter follows:

##### wand

The magick wand.

##### depth

The wand pixel depth.

## MagickSetFilename

MagickSetFilename() sets the filename before you read or write an image file.

The format of the MagickSetFilename method is:

      MagickBooleanType MagickSetFilename(MagickWand *wand,
        const char *filename)

A description of each parameter follows:

##### wand

The magick wand.

##### filename

The image filename.

## MagickSetFont

MagickSetFont() sets the font associated with the MagickWand.

The format of the MagickSetFont method is:

      MagickBooleanType MagickSetFont(MagickWand *wand, const char *font)

A description of each parameter follows:

##### wand

The magick wand.

##### font

the font

## MagickSetFormat

MagickSetFormat() sets the format of the magick wand.

The format of the MagickSetFormat method is:

      MagickBooleanType MagickSetFormat(MagickWand *wand,const char *format)

A description of each parameter follows:

##### wand

The magick wand.

##### format

The image format.

## MagickSetImageProfile

MagickSetImageProfile() adds a named profile to the magick wand. If a profile with the same name already exists, it is replaced. This method differs from the MagickProfileImage() method in that it does not apply any CMS color profiles.

The format of the MagickSetImageProfile method is:

      MagickBooleanType MagickSetImageProfile(MagickWand *wand,
        const char *name,const void *profile,const size_t length)

A description of each parameter follows:

##### wand

The magick wand.

##### name

Name of profile to add or remove: ICC, IPTC, or generic profile.

##### profile

The profile.

##### length

The length of the profile.

## MagickSetImageProperty

MagickSetImageProperty() associates a property with an image.

The format of the MagickSetImageProperty method is:

      MagickBooleanType MagickSetImageProperty(MagickWand *wand,
        const char *property,const char *value)

A description of each parameter follows:

##### wand

The magick wand.

##### property

The property.

##### value

The value.

## MagickSetInterlaceScheme

MagickSetInterlaceScheme() sets the image compression.

The format of the MagickSetInterlaceScheme method is:

      MagickBooleanType MagickSetInterlaceScheme(MagickWand *wand,
        const InterlaceType interlace_scheme)

A description of each parameter follows:

##### wand

The magick wand.

##### interlace_scheme

The image interlace scheme: NoInterlace, LineInterlace, PlaneInterlace, PartitionInterlace.

## MagickSetInterpolateMethod

MagickSetInterpolateMethod() sets the interpolate pixel method.

The format of the MagickSetInterpolateMethod method is:

      MagickBooleanType MagickSetInterpolateMethod(MagickWand *wand,
        const InterpolateMethodPixel method)

A description of each parameter follows:

##### wand

The magick wand.

##### method

The interpolate pixel method.

## MagickSetOption

MagickSetOption() associates one or options with the wand (.e.g MagickSetOption(wand,"jpeg:perserve","yes")).

The format of the MagickSetOption method is:

      MagickBooleanType MagickSetOption(MagickWand *wand,const char *key,
        const char *value)

A description of each parameter follows:

##### wand

The magick wand.

##### key

The key.

##### value

The value.

## MagickSetOrientation

MagickSetOrientation() sets the wand orientation type.

The format of the MagickSetOrientation method is:

      MagickBooleanType MagickSetOrientation(MagickWand *wand,
        const OrientationType orientation)

A description of each parameter follows:

##### wand

The magick wand.

##### orientation

The wand orientation.

## MagickSetPage

MagickSetPage() sets the page geometry of the magick wand.

The format of the MagickSetPage method is:

      MagickBooleanType MagickSetPage(MagickWand *wand,
        const unsigned long width,const unsigned long height,const long x,
        const long y)

A description of each parameter follows:

##### wand

The magick wand.

##### width

The page width.

##### height

The page height.

##### x

The page x-offset.

##### y

The page y-offset.

## MagickSetPassphrase

MagickSetPassphrase() sets the passphrase.

The format of the MagickSetPassphrase method is:

      MagickBooleanType MagickSetPassphrase(MagickWand *wand,
        const char *passphrase)

A description of each parameter follows:

##### wand

The magick wand.

##### passphrase

The passphrase.

## MagickSetPointsize

MagickSetPointsize() sets the font pointsize associated with the MagickWand.

The format of the MagickSetPointsize method is:

      MagickBooleanType MagickSetPointsize(MagickWand *wand,
        const double pointsize)

A description of each parameter follows:

##### wand

The magick wand.

##### pointsize

the size of the font

## MagickSetProgressMonitor

MagickSetProgressMonitor() sets the wand progress monitor to the specified method and returns the previous progress monitor if any. The progress monitor method looks like this:

          MagickBooleanType MagickProgressMonitor(const char *text,
      const MagickOffsetType offset,const MagickSizeType span,
      void *client_data)

If the progress monitor returns MagickFalse, the current operation is interrupted.

The format of the MagickSetProgressMonitor method is:

      MagickProgressMonitor MagickSetProgressMonitor(MagickWand *wand
        const MagickProgressMonitor progress_monitor,void *client_data)

A description of each parameter follows:

##### wand

The magick wand.

##### progress_monitor

Specifies a pointer to a method to monitor progress of an image operation.

##### client_data

Specifies a pointer to any client data.

## MagickSetResourceLimit

MagickSetResourceLimit() sets the limit for a particular resource in megabytes.

The format of the MagickSetResourceLimit method is:

      MagickBooleanType MagickSetResourceLimit(const ResourceType type,
        const unsigned long *limit)

A description of each parameter follows:

##### type

The type of resource: AreaResource, MemoryResource, MapResource, DiskResource, FileResource.

o The maximum limit for the resource.

## MagickSetResolution

MagickSetResolution() sets the image resolution.

The format of the MagickSetResolution method is:

      MagickBooleanType MagickSetResolution(MagickWand *wand,
        const double x_resolution,const doubtl y_resolution)

A description of each parameter follows:

##### wand

The magick wand.

##### x_resolution

The image x resolution.

##### y_resolution

The image y resolution.

## MagickSetSamplingFactors

MagickSetSamplingFactors() sets the image sampling factors.

The format of the MagickSetSamplingFactors method is:

      MagickBooleanType MagickSetSamplingFactors(MagickWand *wand,
        const unsigned long number_factors,const double *sampling_factors)

A description of each parameter follows:

##### wand

The magick wand.

##### number_factoes

The number of factors.

##### sampling_factors

An array of doubles representing the sampling factor for each color component (in RGB order).

## MagickSetSize

MagickSetSize() sets the size of the magick wand. Set it before you read a raw image format such as RGB, GRAY, or CMYK.

The format of the MagickSetSize method is:

      MagickBooleanType MagickSetSize(MagickWand *wand,
        const unsigned long columns,const unsigned long rows)

A description of each parameter follows:

##### wand

The magick wand.

##### columns

The width in pixels.

##### rows

The rows in pixels.

## MagickSetSizeOffset

MagickSetSizeOffset() sets the size and offset of the magick wand. Set it before you read a raw image format such as RGB, GRAY, or CMYK.

The format of the MagickSetSizeOffset method is:

      MagickBooleanType MagickSetSizeOffset(MagickWand *wand,
        const unsigned long columns,const unsigned long rows,
        const long offset)

A description of each parameter follows:

##### wand

The magick wand.

##### columns

The width in pixels.

##### rows

The rows in pixels.

## MagickSetType

MagickSetType() sets the image type attribute.

The format of the MagickSetType method is:

      MagickBooleanType MagickSetType(MagickWand *wand,
        const ImageType image_type)

A description of each parameter follows:

##### wand

The magick wand.

##### image_type

The image type: UndefinedType, BilevelType, GrayscaleType, GrayscaleMatteType, PaletteType, PaletteMatteType, TrueColorType, TrueColorMatteType, ColorSeparationType, ColorSeparationMatteType, or OptimizeType.

Discourse Server • Mailing Lists • ImageMagick Studio