[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,
Color[]? palette
)
<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,
palette As Color()
)
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,
array<Color>^ palette
)
[<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 *
palette : Color[] -> unit
This method is kept for compatibility reasons only and calls the SaveAsGif(Image, Stream, IQuantizer, IDitherer) overload with a quantizer obtained by the PredefinedColorsQuantizer.FromCustomPalette method.