Page 1 of 1

Which resize filter is used when resizing a gif image?

Posted: 2009-11-20T00:51:01-07:00
by carol_sun
MagickStudio can resize a gif image keeping it movie. It loop though the current image sequence resizing all images.
I want to know that which resize filter is used by MagickStudio when doing this?

I used point filter to resize each frame, it didn't work well all of the time. Did i lose some step?

Code: Select all

        list<Image> imageList; 
        readImages( &imageList, "dog.gif"); 
        Magick::Geometry gm(100, 100);    
        for_each ( imageList.begin(), imageList.end(), sampleImage(gm));         // resize all images.
        writeImages( imageList.begin(), imageList.end(), "output.gif");             

Re: Which resize filter is used when resizing a gif image?

Posted: 2009-11-20T07:03:59-07:00
by magick
You can always review the source to MagickStudio at ftp://ftp.imagemagick.org/pub/ImageMagick/perl. We suspect it uses the default resize filters Mitchell and Lanzos.