## DefineImageRegistry

DefineImageRegistry() associates a key/value pair with the image registry.

The format of the DefineImageRegistry method is:

      MagickBooleanType DefineImageRegistry(const RegistryType type,
        const char *option,ExceptionInfo *exception)

A description of each parameter follows:

##### type

The type.

##### option

The option.

##### exception

The exception.

## DeleteImageRegistry

DeleteImageRegistry() deletes a key from the image registry.

The format of the DeleteImageRegistry method is:

      MagickBooleanType DeleteImageRegistry(const char *key)

A description of each parameter follows:

##### key

The registry.

## DestroyImageRegistry

DestroyImageRegistry() releases memory associated with the image registry.

The format of the DestroyDefines method is:

      void DestroyImageRegistry(void)

## GetImageRegistry

GetImageRegistry() returns a value associated with an image registry key.

The format of the GetImageRegistry method is:

      const void *GetImageRegistry(const RegistryType type,const char *key,
        ExceptionInfo *exception)

A description of each parameter follows:

##### type

The type.

##### key

The key.

##### exception

The exception.

## GetNextImageRegistry

GetNextImageRegistry() gets the next image registry value.

The format of the GetNextImageRegistry method is:

      char *GetNextImageRegistry(void)

## RemoveImageRegistry

RemoveImageRegistry() removes a key from the image registry and returns its value.

The format of the RemoveImageRegistry method is:

      void *RemoveImageRegistry(const char *key)

A description of each parameter follows:

##### key

The registry.

## ResetImageRegistryIterator

ResetImageRegistryIterator() resets the registry iterator. Use it in conjunction with GetNextImageRegistry() to iterate over all the values in the image registry.

The format of the ResetImageRegistryIterator method is:

      ResetImageRegistryIterator()

## SetImageRegistry

SetImageRegistry() associates a value with an image registry key.

The format of the SetImageRegistry method is:

      MagickBooleanType SetImageRegistry(const RegistryType type,
        const char *key,const void *value,ExceptionInfo *exception)

A description of each parameter follows:

##### type

The type.

##### key

The key.

##### value

The value.

##### exception

The exception.

Discourse Server • Mailing Lists • ImageMagick Studio