How MagickWriteImages($newMw,'filename.gif') can more fast

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
no8chat

How MagickWriteImages($newMw,'filename.gif') can more fast

Post by no8chat »

thanks for read my post,my english is bad,I hope you know what i said.

<?php
$newMw = newmagickwand();
magicksetformat($newMw,'gif');
magickreadimage($newMw,'old.gif');
MagickWriteImages($newMw,'filename.gif');
?>
The code's operation time is 700ms!!!


<?php
$newMw = newmagickwand();
magicksetformat($newMw,'jpg');
magickreadimage($newMw,'old.gif');
MagickWriteImages($newMw,'filename.gif');
?>
But this code's operation time only 30ms!!!

How can when i use magicksetformat($newMw,'gif') more fast
Post Reply