imagick_write --
Writes the image to a file.
Description
Warnung |
Diese Funktion ist EXPERIMENTELL. Das bedeutet, dass sich das Verhalten der Funktion, ihr Name, und ALLES andere, das hier dokumentiert ist, in zukünftigen Versions des Pakets OHNE WARNUNG ändern kann. Seien Sie gewarnt und nutzen Sie das Paket auf eigenes Risiko. |
Returns: TRUE on success, FALSE
on error.
The filename parameter is a filename on your
local filesystem. ImageMagick tries to find out the imageformat with the
file-extension you provide. If that failes or if you want another
imageformat, you can prefix the filename with the imageformat-code plus :.
See image_read() for a detailed list of all supported
imageformats.
Beispiel 1. imagick_write() example <?php
$handle = imagick_create();
or die ("Could not connect");
imagick_read($handle,"mypic.gif");
imagick_write($handle,"mypic.png","PNG");
imagick_free($handle);
?> |
|
See also: imagick_read(), imagick_convert(), imagick_dump().