Page 1 of 1

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

Posted: 2008-03-08T08:51:35-07:00
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