[ObsoleteAttribute("This overload is kept for compatibility reasons. Use the SaveAsGif(Image, Stream, IQuantizer, IDitherer) overload instead.")]
public static void SaveAsGif(
this Image image,
Stream stream,
bool allowDithering
)
<ExtensionAttribute>
<ObsoleteAttribute("This overload is kept for compatibility reasons. Use the SaveAsGif(Image, Stream, IQuantizer, IDitherer) overload instead.")>
Public Shared Sub SaveAsGif (
image As Image,
stream As Stream,
allowDithering As Boolean
)
public:
[ExtensionAttribute]
[ObsoleteAttribute(L"This overload is kept for compatibility reasons. Use the SaveAsGif(Image, Stream, IQuantizer, IDitherer) overload instead.")]
static void SaveAsGif(
Image^ image,
Stream^ stream,
bool allowDithering
)
[<ExtensionAttribute>]
[<ObsoleteAttribute("This overload is kept for compatibility reasons. Use the SaveAsGif(Image, Stream, IQuantizer, IDitherer) overload instead.")>]
static member SaveAsGif :
image : Image *
stream : Stream *
allowDithering : bool -> unit
This method is kept for compatibility reasons only and calls the SaveAsGif(Image, Stream, IQuantizer, IDitherer) overload with the SystemDefault8BppPalette quantizer.
This method no longer relies on the dithering logic of the built-in GIF encoder. Instead, the ditherer is obtained by the ErrorDiffusionDitherer.FloydSteinberg property if allowDithering is .