FromStream()

Image::FromStream(const SharedPtr<System::IO::Stream>&, bool, bool) method

Creates an Image object from the specified stream.

static SharedPtr<Image> System::Drawing::Image::FromStream(const SharedPtr<System::IO::Stream> &stream, bool use_embedded_color_management=false, bool validate_image_data=1)

Arguments

ParameterTypeDescription
streamconst SharedPtr<System::IO::Stream>&A stream that contains image data
use_embedded_color_managementboolIGNORED
validate_image_databoolIGNORED

Return Value

A shared pointer to the created Image object.

See Also