How to detect supported image formats

MagickWand for PHP is an object-oriented PHP interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning MagickWand for PHP.
Post Reply
Matthew Ratzloff

How to detect supported image formats

Post by Matthew Ratzloff »

What's the equivalent of this command

Code: Select all

identify -list format
in MagickWand for PHP? It would be great if MagickGetSupportedFormats() returned an array of supported types on the user's system, something like

Code: Select all

array(
    'ART' => MW_Readable,
    'AVI' => MW_Readable,
    'AVS' => MW_Readable | MW_Writable,
    // etc.
)
Post Reply