imagemagick-0.0.4.1: bindings to imagemagick library

Safe HaskellNone
LanguageHaskell98

Graphics.ImageMagick.MagickWand.FFI.WandProperties

Synopsis

Documentation

magickDeleteOption Source

Arguments

:: Ptr MagickWand 
-> CString

the key

-> IO MagickBooleanType 

magickGetOption Source

Arguments

:: Ptr MagickWand 
-> CString

the key

-> IO CString 

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

magickSetOption Source

Arguments

:: Ptr MagickWand 
-> CString

the key

-> CString

the value

-> IO MagickBooleanType 

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

magickGetOptions Source

Arguments

:: Ptr MagickWand 
-> CString

the pattern

-> Ptr CSize 
-> IO (Ptr CString) 

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.

magickDeleteImageProperty Source

Arguments

:: Ptr MagickWand 
-> CString

the property

-> IO MagickBooleanType 

MagickDeleteImageProperty() deletes a wand property.

magickGetImageProperty Source

Arguments

:: Ptr MagickWand 
-> CString

the property

-> IO CString 

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

magickGetImageProperties Source

Arguments

:: Ptr MagickWand 
-> CString

the pattern

-> Ptr CSize 
-> IO (Ptr CString) 

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.

magickSetImageProperty Source

Arguments

:: Ptr MagickWand 
-> CString

the property

-> CString

the value

-> IO MagickBooleanType 

MagickSetImageProperty() associates a property with an image.

magickGetImageProfile Source

Arguments

:: Ptr MagickWand 
-> CString

the profile name

-> Ptr CSize

the profile length

-> IO (Ptr Word8) 

MagickGetImageProfile() returns the named image profile.

magickRemoveImageProfile Source

Arguments

:: Ptr MagickWand 
-> CString

the profile name

-> Ptr CSize

the profile length

-> IO (Ptr Word8) 

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

magickSetImageProfile Source

Arguments

:: Ptr MagickWand 
-> CString

the profile name

-> Ptr Word8

the profile

-> CSize

the profile length

-> IO MagickBooleanType 

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.

magickGetImageProfiles Source

Arguments

:: Ptr MagickWand 
-> CString

the pattern

-> Ptr CSize 
-> IO (Ptr CString) 

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.

magickSetImageResolution Source

Arguments

:: Ptr MagickWand 
-> CDouble

x resolution

-> CDouble

y resolution

-> IO MagickBooleanType 

MagickSetResolution() sets the image resolution.

magickGetImageResolution Source

Arguments

:: Ptr MagickWand 
-> Ptr CDouble

x resolution

-> Ptr CDouble

y resolution

-> IO MagickBooleanType 

MagickGetResolution() gets the image resolution.

magickGetImageArtifacts Source

Arguments

:: Ptr MagickWand 
-> CString

the pattern

-> Ptr CSize 
-> IO (Ptr CString) 

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