DIPlib Documentation - ©1995-2017 Quantitative Imaging Group, Delft University of Technology.

File formats recognized by dipIO

The Registry

A number of file reading and writing functions are included in dipIO. These are registered in the ImageReadRegistry and the ImageWriteRegistry. Through this registry, ImageRead and ImageWrite are able to read from and write to any registered file format. You can add your own functions to these (the interface functions for this are not documented yet), thereby increasing the possibilities of ImageRead and ImageWrite.

Below you can find a list of currently supported file formats for both reading and writing. To obtain the format ID from the registry, you need to include the specified file and call the specified function.

Reading

These are the file formats currently supported for reading:

formatinclude fileregistry ID retrieval functiondimensionalitycolourdata types
ICS (Image Cytometry Standard)dipio_ics.hdipio_ReadICSIDanyyesany
TIFF (Tagged Image File Format)dipio_tiff.hdipio_ReadTIFFID2Dyesany
PNG (Portable Network Graphics) [not yet implemented!]dipio_png.hdipio_ReadPNGID2Dyesuint8 and uint16
JPEG (JPEG File Interchange Format)dipio_jpeg.hdipio_ReadJPEGID2Dyesuint8
GIF (Graphics Interchange Format)dipio_gif.hdipio_ReadGIFID2Dyesuint8
LSM (Zeiss LSM file format)dipio_lsm.hdipio_ReadLSMID1D - 4Dnouint8, uint16 and sfloat
PIC (BioRad PIC file format)dipio_pic.hdipio_ReadPICID2D and 3Dnouint8
CVS (Comma Separated Values)dipio_csv.hdipio_ReadCSVID2Dnosfloat

Writing

These are the file formats currently supported for writing:

formatinclude fileregistry ID retrieval functiondimensionalitycolourdata types
ICS v1 (Image Cytometry Standard)dipio_ics.hdipio_WriteICSv1IDanyyesany
ICS v2 (Image Cytometry Standard)dipio_ics.hdipio_WriteICSv2IDanyyesany
TIFF (Tagged Image File Format)dipio_tiff.hdipio_WriteTIFFID2Dyesany in grey-value, uint8 in colour
PNG (Portable Network Graphics) [not yet implemented!]dipio_png.hdipio_WritePNGID2Dyesuint8 and uint16
JPEG (JPEG File Interchange Format)dipio_jpeg.hdipio_WriteJPEGID2Dyesuint8
GIF (Graphics Interchange Format)dipio_gif.hdipio_WriteGIFID2Dnouint8
CVS (Comma Separated Values)dipio_csv.hdipio_WriteCSVID2Dnoany except complex
FLD (AVS field file)dipio_fld.hdipio_WriteFLDIDanynoany
PS (PostScript)dipio_ps.hdipio_WritePSID2Dyesuint8, others automatically converted
EPS (Encapulated PostScript)dipio_ps.hdipio_WriteEPSID2Dyesuint8, others automatically converted