Get supported file formats
Leave feedback
On this page
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]
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.