---
title: "FormatManager..::.GetMediaFormat Method "
canonical: https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_Codecs_FormatManager_GetMediaFormat.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# FormatManager.GetMediaFormat Method 
 
Recognizes the media format of the given file or stream.
 
## Overload List

|   |  Name |  Description |
| --- | --- | --- |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) ![Static member](https://www.graphicsmill.com/docs/gm5/icons/static.gif) |  [GetMediaFormat(Stream)](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Codecs_FormatManager_GetMediaFormat_1_bca7c9fe.htm.md) |  Recognizes the media format by the specified stream. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) ![Static member](https://www.graphicsmill.com/docs/gm5/icons/static.gif) |  [GetMediaFormat(String)](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Codecs_FormatManager_GetMediaFormat_1_bb3a7a4f.htm.md) |  Recognizes the media format by the specified file name. |
   
## See Also

### Reference

- [FormatManager Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_FormatManager.htm.md)
- [FormatManager Members](https://www.graphicsmill.com/docs/gm5/AllMembers_T_Aurigma_GraphicsMill_Codecs_FormatManager.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Codecs.htm.md)
