Image.GetFileFormat
Contents
[
Hide
]GetFileFormat(string)
Gets the file format.
public static FileFormat GetFileFormat(string filePath)
Parameter | Type | Description |
---|---|---|
filePath | String | The file path. |
Return Value
The determined file format.
Remarks
The file format determined does not mean that the specified image may be loaded. Use one of the CanLoad method overloads to determine whether file may be loaded.
See Also
- enum FileFormat
- class Image
- namespace Aspose.PSD
- assembly Aspose.PSD
GetFileFormat(Stream)
Gets the file format.
public static FileFormat GetFileFormat(Stream stream)
Parameter | Type | Description |
---|---|---|
stream | Stream | The stream. |
Return Value
The determined file format.
Remarks
The file format determined does not mean that the specified image may be loaded. Use one of the CanLoad method overloads to determine whether stream may be loaded.
See Also
- enum FileFormat
- class Image
- namespace Aspose.PSD
- assembly Aspose.PSD