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