## Image.FromFile method

Creates an Image from the specified file.

```csharp
public static Image FromFile(string filename)
```

| Parameter | Type | Description |
| --- | --- | --- |
| filename | String | A string that contains the name of the file from which to create the Image. |

### Return Value

The Image this method creates.

### See Also

* class [Image](../)
* namespace [System.Drawing](../../image/)
* assembly [Aspose.Drawing](../../../)


