imagemagick-0.0.2: bindings to imagemagick library

Safe HaskellNone

Graphics.ImageMagick.MagickWand.FFI.WandProperties

Synopsis

Documentation

magickGetOptionSource

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.

magickSetOptionSource

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

magickGetOptionsSource

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.

magickDeleteImagePropertySource

Arguments

:: Ptr MagickWand 
-> CString

the property

-> IO MagickBooleanType 

MagickDeleteImageProperty() deletes a wand property.

magickGetImagePropertySource

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.

magickGetImagePropertiesSource

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.

magickSetImagePropertySource

Arguments

:: Ptr MagickWand 
-> CString

the property

-> CString

the value

-> IO MagickBooleanType 

MagickSetImageProperty() associates a property with an image.

magickGetImageProfileSource

Arguments

:: Ptr MagickWand 
-> CString

the profile name

-> Ptr CSize

the profile length

-> IO (Ptr Word8) 

MagickGetImageProfile() returns the named image profile.

magickRemoveImageProfileSource

Arguments

:: Ptr MagickWand 
-> CString

the profile name

-> Ptr CSize

the profile length

-> IO (Ptr Word8) 

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

magickSetImageProfileSource

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.

magickGetImageProfilesSource

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.

magickSetImageResolutionSource

Arguments

:: Ptr MagickWand 
-> CDouble

x resolution

-> CDouble

y resolution

-> IO MagickBooleanType 

MagickSetResolution() sets the image resolution.

magickGetImageResolutionSource

Arguments

:: Ptr MagickWand 
-> Ptr CDouble

x resolution

-> Ptr CDouble

y resolution

-> IO MagickBooleanType 

MagickGetResolution() gets the image resolution.

magickGetImageArtifactsSource

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.