Image file formats

Where there is no strong reason to choose another image file format, you should use SVG or PNG file formats in DITA topics.

DITA supports a variety of image formats. A more accurate assertion is that you can place a reference to any sort of image file inside a DITA image element, and it will be up to the publishing processor as to whether this image can be handled and generated into a reading format.

Typical image file types supported by current DITA processors include:
Compuserve Graphics Interchange Format
Joint Photographic Experts Group format
Microsoft Bitmap Picture format
Tagged Image File Format
Portable Network Graphics format
Encapsulated PostScript format
Scaleable Vector Graphics XML format

Unless you have specific reasons for choosing other formats, you should use SVG for line drawings and diagrams. Likewise, for photographs, use JPG with zero or low compression, particularly if you will be publishing to print formats. For other purposes, you should prefer PNG. If your publishing process does not support SVG, you may have to use PNG instead. However, a better approach is to use a publishing process which supports SVG.

Note: These recommendations on image file types may not apply for specific publishing scenarios. For example, if you are using DITA to publish to high quality print, the TIFF format may be the best choice.