Returns formats supported by Gmagick.
$pattern
pattern
Specifies a pointer to a text string containing a pattern.
The Gmagick object on success
Throws an GmagickException on error.