System::Drawing::Image::FromStream method

Image::FromStream 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=true)
ParameterTypeDescription
streamconst SharedPtr<System::IO::Stream>&A stream that contains image data
use_embedded_color_managementboolIGNORED
validate_image_databoolIGNORED

ReturnValue

A shared pointer to the created Image object.

See Also