DJ Mike's Tutorials: PHP

Imagick Functions


^

Imagick::queryFormats

Description:
array Imagick::queryFormats ([ string $pattern ] )

Returns formats supported by Imagick.
Parameters:
pattern
Return Values
Returns an array containing the formats supported by Imagick,
Errors/Exceptions
Throws ImagickException on error.

Example

<?php
$info 
= new Imagick(); 
$formats $info->queryFormats();
echo 
"<br /><b>Formats Supported:</b>";
echo 
"<ul>";
foreach( 
$formats as $key=>$value )
 { echo 
"<li>$value"; }
echo 
"</ul>";
?>



Formats Supported:


Created by DJ Mike from Santa Barbara

DJ Mike


Dance Away Santa Barbara's Home Page
<a href="http://www.statcounter.com/" target="_blank"> <img src="http://c5.statcounter.com/counter.php?sc_project=1321035&java=0&security=da2193dc" alt="counter free hit invisible" border="0" /></a>