PeachImage

PeachImage.Image

Image.TryLoad(Stream, Image, DecoderOptions) Method

Attempts to load an image from stream, returning false instead of throwing on failure.

public static bool TryLoad(System.IO.Stream stream, out PeachImage.Image? image, PeachImage.DecoderOptions? options=null);

Parameters

stream System.IO.Stream

image Image

options DecoderOptions

Returns

System.Boolean