[]
Reads the image format from the given binary stream by inspecting the header bytes.
public static ImageFormat GetImageFormat(BinaryReader reader)
| Type | Name | Description |
|---|---|---|
| BinaryReader | reader | A BinaryReader positioned at the start of the image data. |
| Type | Description |
|---|---|
| ImageFormat | The detected ImageFormat. |