Free Support Forum -

Supported document types cannot be open in Parser in .NET

The following command is supposed to list “all file types supported by GroupDocs.Parser”
image.png (5.0 KB)

IEnumerable<FileType> supportedFileTypes = FileType.GetSupportedFileTypes();

How exactly are the document types supported by GroupDocs.Parser, when they cannot even be opened?
I tried with a few of the listed files (eps, jpg, bmp, png ) and they all gave me GroupDocs.Parser.Exceptions.UnsupportedDocumentFormatException.

(to make it clear, I’m not expecting those file types to work with a parser… I just expect the function to return the types that actually work with the parser)

This is the list the function return:

Microsoft Word Document(.doc)
Word Document Template(.dot)
Microsoft Word Open XML Document(.docx)
Word Open XML Macro-Enabled Document(.docm)
Word Open XML Document Template(.dotx)
Word Open XML Macro-Enabled Document Template(.dotm)
Plain Text File(.txt)
OpenDocument Text Document(.odt)
OpenDocument Document Template(.ott)
Rich Text Format File(.rtf)
Portable Document Format File(.pdf)
Hypertext Markup Language File(.html)
Hypertext Markup Language File(.xhtml)
MIME HTML File(.mhtml)
Markdown Files(.md)
XML File(.xml)
Compiled HTML Help File(.chm)
Open eBook File(.epub)
Excel Spreadsheet(.xls)
Microsoft Excel Template(.xlt)
Microsoft Excel Open XML Spreadsheet(.xlsx)
Excel Open XML Macro-Enabled Spreadsheet(.xlsm)
Excel Binary Spreadsheet(.xlsb)
Excel Open XML Spreadsheet Template(.xltx)
Excel Open XML Macro-Enabled Spreadsheet Template(.xltm)
OpenDocument Spreadsheet(.ods)
OpenDocument Spreadsheet Template(.ots)
Comma Separated Values File(.csv)
Excel Add-In File(.xla)
Excel Open XML Macro-Enabled Add-In(.xlam)
PowerPoint Presentation(.ppt)
PowerPoint Slide Show(.pps)
PowerPoint Template(.pot)
PowerPoint Open XML Presentation(.pptx)
PowerPoint Open XML Macro-Enabled Presentation(.pptm)
PowerPoint Open XML Presentation Template(.potx)
PowerPoint Open XML Macro-Enabled Presentation Template(.potm)
PowerPoint Open XML Slide Show(.ppsx)
PowerPoint Open XML Macro-Enabled Slide(.ppsm)
OpenDocument Presentation(.odp)
OpenDocument Presentation Template(.otp)
Outlook Personal Information Store File(.pst)
Outlook Offline Data File(.ost)
E-Mail Message(.eml)
Apple Mail Message(.emlx)
Outlook Mail Message(.msg)
OneNote Document(.one)
Zipped File(.zip)
Tagged Image File(.tif)
Tagged Image File Format(.tiff)
JPEG Image(.jpg)
JPEG Image(.jpeg)
Portable Network Graphic(.png)
Graphical Interchange Format File(.gif)
Bitmap Image File(.bmp)
Icon File(.ico)
JPEG 2000 Core Image File(.jp2)
JPEG 2000 Image File(.jpf)
JPEG 2000 Image File(.jpx)
JPEG 2000 Image File(.jpm)
JPEG 2000 Code Stream(.j2c)
JPEG 2000 Code Stream(.j2k)
JPEG 2000 Code Stream(.jpc)
Device Independent Bitmap File(.dib)
Windows Metafile(.wmf)
Enhanced Windows Metafile(.emf)
WebP Image(.webp)
DjVu Image(.djvu)
Computer Graphics Metafile(.cgm)
Printer Command Language Document(.pcl)
Adobe Photoshop Document(.psd)
DICOM Image(.dcm)
PostScript File(.ps)
Encapsulated PostScript File(.eps)
OpenDocument Graphic File(.odg)
Scalable Vector Graphics File(.svg)
Macintosh PICT(.pict)
1 Like


We are investigating this scenario with ticket ID PARSERNET-1729. You’ll be notified in case of any update.

1 Like