Page 1 of 1

How can I change the dispose method of gif frame?

Posted: 2008-10-08T19:10:24-07:00
by sunng1
hi

I'm using MagickCore to create gif picture, the dispose method of every frame is 1 by default,

How can I change the dispose method ?

thanks

Re: How can I change the dispose method of gif frame?

Posted: 2008-10-08T19:19:44-07:00
by magick
With MagickCore you can set the image structure members directly, for example:

Code: Select all

  image->dispose=BackgroundDispose;
  status = WriteImage( image_info, image );