Get supported file formats

View as MarkdownMarkdown

Set up your AI agent

Give your coding agent live access to the GroupDocs documentation and API reference through the GroupDocs Docs MCP server — no install, no API key. Learn more

claude mcp add --transport http groupdocs-docs https://docs.groupdocs.com/mcp

Also process documents locally

The GroupDocs.Redaction MCP server lets your agent work with files on your machine; they are never uploaded. It needs the .NET 10 SDK or Docker.

claude mcp add groupdocs-redaction -- dnx GroupDocs.Redaction.Mcp --yes
Folders, licensing and more →

Get supported file formats

GroupDocs.Redaction allows to get the list of all supported file formats by these steps:

  • Call *getSupportedFileTypes *of FileType class;
  • Enumerate through the collection of FileType objects.

The following example demonstrates how to get supported file formats list.

const redaction = require('@groupdocs/groupdocs.redaction');

const supportedFileTypes = redaction.FileType.getSupportedFileTypes();
const iterator = supportedFileTypes.iterator();      
while (iterator.hasNext())
{
const fileType = (FileType)iterator.next();
    console.log(fileType);
}
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)
JPEG 2000 Core Image File (.jp2)
Hypertext Markup Language File (.htm)
Hypertext Markup Language File (.html)
[TRUNCATED]

Download full output