Image.FromFile Method (String) (System.Drawing)[^]:Remarks Managed GDI+ has built-in encoders and decoders that support the following file types: BMP GIF JPEG PNG TIFF The file remains locked until the Image is disposed. If the file does not have a valid image format or if GDI+ does not support the pixel format of the file, this method throws an OutOfMemoryException exception.
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)