Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

GMImage.SetGifDisposeMethod

Sets the GIF disposal method.

Component Version macOS Windows Linux Server iOS SDK
GraphicsMagick 2.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "GMImage.SetGifDisposeMethod"; ImageRef; disposeMethod )   More

Parameters

Parameter Description Example
ImageRef The image reference number. 1
disposeMethod The dispose Method number.

Result

Returns "OK" on success.

Description

Sets the GIF disposal method.

DisposalDescription
0No disposal specified.
1Do not dispose between frames.
2Overwrite frame with background color from header.
3Overwrite with previous frame.

See also

Example Databases

This function checks for a license.

Created 18th August 2014, last changed 23th November 2016


GMImage.SetFontWeight - GMImage.SetICCColorProfile