Supported file formats
Image formats
This section describes the image file formats supported for loading and/or saving images when the ImageFormats module (Module.ImageFormats) is enabled.
BMP file format
The BMP file format, also known as bitmap image file or device independent bitmap (DIB) file format, is a raster graphics image file format used to store bitmap digital images, independently of the display device.[1]
The BMP file format is supported for both input (loading) and output (saving), with some limitations related to compression modes.
| Capability | Load | Save |
|---|---|---|
Color mode |
||
Black & white |
✔ |
✔ |
Grayscale |
✔ |
✔ |
Color |
✔ |
✔ |
Compression |
||
BI_RGB (no compression) |
✔ |
✔ |
BI_RLE8 |
✘ |
✘ |
BI_RLE4 |
✘ |
✘ |
BI_BITFIELDS |
✘ |
✘ |
BI_JPEG |
✘ |
✘ |
BI_PNG |
✘ |
✘ |
| The BITMAPINFOHEADER structure is the currently supported format. |
PNG file format
PNG (Portable Network Graphics) is a raster graphics file format that supports lossless data compression.[2]
The PNG file format is supported for both input (loading) and output (saving).
| Color mode | Load | Save |
|---|---|---|
Black & white |
✔ |
✔ |
Grayscale |
✔ |
✔ |
Color |
✔ |
✔ |
JPEG file format
JPEG is a commonly used method of lossy compression for digital photography (image). The degree of compression can be adjusted, allowing a selectable tradeoff between storage size and image quality.[3]
The JPEG file format is supported for both input (loading) and output (saving), with some limitations related to color modes.
| Color mode | Load | Save |
|---|---|---|
Grayscale |
✔ |
✔ |
Color |
✔ |
✔ |
TIFF file format
TIFF (Tagged Image File Format) is a file format for storing images, popular among graphic artists, the publishing industry and both amateur and professional photographers in general. The TIFF format is widely supported by image-manipulation applications, by publishing and page layout applications, by scanning, faxing, word processing, optical character recognition and other applications.[4]
| Capability | Load | Save |
|---|---|---|
Color mode |
||
Black & white |
✔ |
✔ |
Grayscale |
✔ |
✔ |
Color |
✔ |
✔ |
Color with alpha channel |
✔ |
✘ |
Compression |
||
No compression |
✔ |
✘ |
Packbits |
✔ |
✔ |
CCITT T.4 |
✔ |
✔ |
CCITT Group 3 |
✔ |
✘ |
JPEG |
✔ |
✔ |
LZW |
✔ |
✘ |
CCITT T.6x |
✘ |
✘ |
Page number |
||
Single page |
✔ |
✔ |
Multi-page |
✔ |
✔ |
JPEG2000 file format
JPEG 2000 is an image compression standard and coding system. It was created by the Joint Photographic Experts Group committee in 2000 with the intention of superseding their original discrete cosine transform-based JPEG standard with a newly designed, wavelet-based method.[5]
The JPEG2000 file format is supported for output (saving) only.
JBIG2 file format
JBIG2 is an image compression standard for bi-level images. It is suitable for both lossless and lossy compression.[6]
The JBIG2 file format is supported for output (saving) only.
PDF file format
Portable Document Format (PDF) is a file format used to represent documents in a manner independent of application software, hardware, and operating systems.[7]
The PDF file format is supported for both input (loading) and output (saving). However, the output PDF file contains only images. If you want to save images and editable text, you should use the Document Output module.
Using PDF files as input is currently available via extension PdfInput of ImageFormats module.
| Format | Load | Save |
|---|---|---|
✔ |
Document formats in output
| Output/Save format | Specifications |
|---|---|
For more details on the available options, go to PDF options. |
|
DOCX |
For more details on the available options, go to DOCX options. |
XLSX |
For more details on the available options, go to XLSX options. |
PPTX |
Image and text, similar to the |
HTML |
Same options as DOCX options minus the PageLayout::Editable. |
RTF |
Same options as DOCX options. |
TXT |
Encoding option: the supported Unicode encodings are UTF-8 and UTF-16. |
ODT |
Same options as DOCX options. |
EPUB |