Page 1 of 1

Why should they be MagickSetImageIndex fuzzy picture

Posted: 2007-08-05T03:50:23-07:00
by Rlby
Source map
Image
The first frame
Image
The second frame
Image
The result is how this should be
The first frame
Image
The second frame
Image


$nmw =NewMagickWand();
MagickReadImage($nmw,'20.gif');
$index=MagickGetImageIndex($nmw);
MagickSetImageIndex($nmw,0);

$cc =MagickGetImage($nmw);
for($i=0;$i<=$index;$i++)
{
$a =MagickGetImage($nmw);
//$a=MagickAppendImages($cc);
MagickSetFormat($a,'gif');
MagickWriteImages($a,$i.".gif",MagickTrue);
}

Re: Why should they be MagickSetImageIndex fuzzy picture

Posted: 2007-08-06T10:35:52-07:00
by Rlby
help me ,thinks