System::Drawing::Image::FromFile method

Image::FromFile method

Creates an Image object from the specified file.

static SharedPtr<Image> System::Drawing::Image::FromFile(const String &filename, bool use_embedded_color_management=false)
ParameterTypeDescription
filenameconst String&A name of the file that contains image data
use_embedded_color_managementboolIGNORED

ReturnValue

A shared pointer to the created Image object.

See Also