摘要:
请注意使用writeImages()而不是writeImage() 1 <?php 2 try 3 { 4 // Read in the animated gif 5 $animation = new Imagick("animation.gif"); 6 7 // Loop through the frames 8 foreach ($animation as $frame) 9 {10 // Thumbnail each frame11 $frame->thumbnailImage(100, 100);12 ... 阅读全文