PeachImage
PeachImage.AnimatedImage
AnimatedImage.Load Method
| Overloads | |
|---|---|
| Load(string, DecoderOptions) | Loads an animated image from path, auto-detecting its format. |
| Load(Stream, DecoderOptions) | Loads an animated image from stream, auto-detecting its format by sniffing its header bytes. |
AnimatedImage.Load(string, DecoderOptions) Method
Loads an animated image from path, auto-detecting its format.
public static PeachImage.AnimatedImage Load(string path, PeachImage.DecoderOptions? options=null);
Parameters
path System.String
options DecoderOptions
Returns
AnimatedImage.Load(Stream, DecoderOptions) Method
Loads an animated image from stream, auto-detecting its format by sniffing its header bytes.
public static PeachImage.AnimatedImage Load(System.IO.Stream stream, PeachImage.DecoderOptions? options=null);
Parameters
stream System.IO.Stream
options DecoderOptions