ImageLoad Method (String)
Loads a new image from the specified file.

Namespace: Aspose.Imaging
Assembly: Aspose.Imaging (in Aspose.Imaging.dll) Version: 20.06
Syntax
public static Image Load(
	string filePath
)

Parameters

filePath
Type: SystemString
The file path to load image from.

Return Value

Type: Image
The loaded image.
Examples
This example demonstrates the loading of an existing Image file into an instance of Aspose.Imaging.Image using file path specified
[C#]

//Create Image instance and initialize it with an existing image file from disk location
using (Aspose.Imaging.Image image = Aspose.Imaging.Image.Load(@"C:\temp\sample.bmp"))
{
    //do some image processing
}
See Also