Customizing File Format Lists

LEADTOOLS lets you customize the file format lists included in the Save dialog, displayed using ShowSaveDlg method, and the File Conversion dialog, displayed using ShowFileConversionDlg method. Customizing lets you include only those file formats, BPP options and sub-format options that you want, instead of all files formats, BPP options and sub-format options supported by LEADTOOLS.

Below all LEADTOOLs supported save formats, BPP, and sub-formats to use it for customize Save and File Conversion dialogs throw FILESAVEFORMAT structure.

LEAD (*.cmp)

Format Constant (nType):

Supported BPP:

Supported Sub-formats for each BPP:

FF_SAVE_LEAD

1

No sub-formats

 

8, 24

FF_SAVE_SUB_CMP_NONPROGRESSIVE
FF_SAVE_SUB_CMP_PROGRESSIVE

JPEG (*.jpg)

Format Constant (nType):

Supported BPP:

Supported Sub-formats for each BPP:

FF_SAVE_JPEG

8

FF_SAVE_SUB_JPEG8_YUV_400
FF_SAVE_SUB_JPEG8_PROG_400
FF_SAVE_SUB_JPEG8_LOSSLESS

 

12

FF_SAVE_SUB_JPEG12_YUV_400
FF_SAVE_SUB_JPEG12_LOSSLESS

 

16

No sub-formats

 

24

FF_SAVE_SUB_JPEG24_YUV_444
FF_SAVE_SUB_JPEG24_YUV_422
FF_SAVE_SUB_JPEG24_YUV_411
FF_SAVE_SUB_JPEG24_PROG_444
FF_SAVE_SUB_JPEG24_PROG_422
FF_SAVE_SUB_JPEG24_PROG_411
FF_SAVE_SUB_JPEG24_LOSSLESS
FF_SAVE_SUB_JPEG24_LAB_444
FF_SAVE_SUB_JPEG24_LAB_422
FF_SAVE_SUB_JPEG24_LAB_411

 

LEAD Wavelet(*.cmw)

Format Constant (nType):

Supported BPP:

Supported Sub-formats for each BPP:

FF_SAVE_CMW

8, 12, 16, 24

No sub-formats

JPEG 2000(*.j2k; *.jp2)

Format Constant (nType):

Supported BPP:

Supported Sub-formats for each BPP:

FF_SAVE_J2K

8, 12, 16, 24

FF_SAVE_SUB_J2K_STREAM
FF_SAVE_SUB_J2K_JP2

TIF (*.tif)

Format Constant (nType):

Supported BPP:

Supported Sub-formats for each BPP:

F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_SUB_TIFF16_LOSSLESSJPEG
FF_SAVE_SUB_TIFF16_LZW
FF_SAVE_SUB_TIFF16_J2K
FF_SAVE_SUB_TIFF16_CMW

 

24

FF_SAVE_SUB_TIFF24_UNCOMPRESSEDRGB
FF_SAVE_SUB_TIFF24_UNCOMPRESSEDCMYK
FF_SAVE_SUB_TIFF24_UNCOMPRESSEDYCC
FF_SAVE_SUB_TIFF24_RLERGB
FF_SAVE_SUB_TIFF24_RLECMYK
FF_SAVE_SUB_TIFF24_RLEYCC
FF_SAVE_SUB_TIFF24_JPEG_YCC_444
FF_SAVE_SUB_TIFF24_JPEG_YCC_422
FF_SAVE_SUB_TIFF24_JPEG_YCC_411
FF_SAVE_SUB_TIFF24_LOSSLESSJPEG
FF_SAVE_SUB_TIFF24_LZWRGB
FF_SAVE_SUB_TIFF24_LZWCMYK
FF_SAVE_SUB_TIFF24_LZWYCC
FF_SAVE_SUB_TIFF24_CMP_NONPROGRESSIVE
FF_SAVE_SUB_TIFF24_CMP_PROGRESSIVE
FF_SAVE_SUB_TIFF24_J2K
FF_SAVE_SUB_TIFF24_CMW
FF_SAVE_SUB_TIFF24_LEAD_MRC
FF_SAVE_SUB_TIFF24_MRC

 

32

FF_SAVE_SUB_TIFF32_UNCOMPRESSEDRGB

FF_SAVE_SUB_TIFF32_UNCOMPRESSEDCMYK

FF_SAVE_SUB_TIFF32_RLERGB

FF_SAVE_SUB_TIFF32_RLECMYK

FF_SAVE_SUB_TIFF32_LZWRGB

FF_SAVE_SUB_TIFF32_LZWCMYK

 

 

48

FF_SAVE_SUB_TIFF48_UNCOMPRESSEDRGB
FF_SAVE_SUB_TIFF48_LZWRGB

 

64

FF_SAVE_SUB_TIFF64_UNCOMPRESSEDRGB
FF_SAVE_SUB_TIFF64_LZWRGB

GIF (*.gif)

Format Constant (nType):

Supported BPP:

Supported Sub-formats for each BPP:

FF_SAVE_GIF

1, 2, 3, 4, 5, 6, 7, 8

FF_SAVE_SUB_GIF_INTERLACED89A
FF_SAVE_SUB_GIF_NONINTERLACED89A

CServe PNG (*.png)

Format Constant (nType):

Supported BPP:

Supported Sub-formats for each BPP:

FF_SAVE_PNG

1, 4, 8, 24, 32

No sub-formats

 

Animated Cursor (*.ani)

Format Constant (nType):

Supported BPP:

Supported Sub-formats for each BPP:

FF_SAVE_ANI

1, 4, 8, 24

No sub-formats

 

CALS (*.cal)

Format Constant (nType):

Supported BPP:

Supported Sub-formats for each BPP:

FF_SAVE_CALS

1

FF_SAVE_SUB_CALS
FF_SAVE_SUB_CALS2
FF_SAVE_SUB_CALS3
FF_SAVE_SUB_CALS4

 

Cineon (*.cin)

Format Constant (nType):

Supported BPP:

Supported Sub-formats for each BPP:

FF_SAVE_CIN

24

No sub-formats

 

CLP (*.clp)

Format Constant (nType):

Supported BPP:

Supported Sub-formats for each BPP:

FF_SAVE_CLP

1, 4, 24

No sub-formats

 

8

FF_SAVE_SUB_CLP_UNCOMPRESSED
FF_SAVE_SUB_CLP_RLE

 

Compressed Windows Metafile (*.wmz)

Format Constant (nType):

Supported BPP:

Supported Sub-formats for each BPP:

FF_SAVE_WMZ

24

No sub-formats

 

DICOM DIC Gray (*.dic)

Format Constant (nType):

Supported BPP:

Supported Sub-formats for each BPP:

FF_SAVE_DICOMGRAY

8

FF_SAVE_SUB_DICOM8_GRAY
FF_SAVE_SUB_DICOM8_COLOR
FF_SAVE_SUB_DICOM8_RLE_GRAY
FF_SAVE_SUB_DICOM8_RLE_COLOR
FF_SAVE_SUB_DICOM8_JPEG_GRAY
FF_SAVE_SUB_DICOM8_J2K_GRAY_LOSSLESS
FF_SAVE_SUB_DICOM8_J2K_GRAY

 

16

FF_SAVE_SUB_DICOM16_GRAY
FF_SAVE_SUB_DICOM16_RLE_GRAY
FF_SAVE_SUB_DICOM16_LOSSLESSJPEG_GRAY
FF_SAVE_SUB_DICOM16_J2K_GRAY_LOSSLESS
FF_SAVE_SUB_DICOM16_J2K_GRAY

 

DICOM DIC Color (*.dic)

Format Constant (nType):

Supported BPP:

Supported Sub-formats for each BPP:

FF_SAVE_DICOMCOLOR

24

FF_SAVE_SUB_DICOM24_COLOR
FF_SAVE_SUB_DICOM24_RLE_COLOR
FF_SAVE_SUB_DICOM24_LOSSLESSJPEG_COLOR
FF_SAVE_SUB_DICOM24_JPEG_COLOR
FF_SAVE_SUB_DICOM24_J2K_GRAY_LOSSLESS
FF_SAVE_SUB_DICOM24_J2K_GRAY

 

Dr Halo (*.cut)

Format Constant (nType):

Supported BPP:

Supported Sub-formats for each BPP:

FF_SAVE_CUT

8

No sub-formats

 

ECW (*.ecw)

Format Constant (nType):

Supported BPP:

Supported Sub-formats for each BPP:

FF_SAVE_ECW

24

No sub-formats

 

EMF (*.emf)

Format Constant (nType):

Supported BPP:

Supported Sub-formats for each BPP:

FF_SAVE_EMF

8, 24

No sub-formats

 

EPS (*.eps)

Format Constant (nType):

Supported BPP:

Supported Sub-formats for each BPP:

FF_SAVE_EPS

8

No sub-formats

 

EXIF (*.tif)

Format Constant (nType):

Supported BPP:

Supported Sub-formats for each BPP:

FF_SAVE_EXIF

24

FF_SAVE_SUB_EXIF_UNCOMPRESSEDRGB
FF_SAVE_SUB_EXIF_UNCOMPRESSEDYCC
FF_SAVE_SUB_EXIF_JPEG_411
FF_SAVE_SUB_EXIF_JPEG_422

 

FAX (Raw) (*.fax)

Format Constant (nType):

Supported BPP:

Supported Sub-formats for each BPP:

FF_SAVE_FAX

1

FF_SAVE_SUB_FAX_G3_1D
FF_SAVE_SUB_FAX_G3_2D
FF_SAVE_SUB_FAX_G4

 

FIT (*.fit)

Format Constant (nType):

Supported BPP:

Supported Sub-formats for each BPP:

FF_SAVE_FIT

8, 16, 32

No sub-formats

 

FLC (*.flc)

Format Constant (nType):

Supported BPP:

Supported Sub-formats for each BPP:

FF_SAVE_FLC

8

No sub-formats

 

FPX (*.fpx)

Format Constant (nType):

Supported BPP:

Supported Sub-formats for each BPP:

FF_SAVE_FPX

8, 24

FF_SAVE_SUB_FPX_UNCOMPRESSED
FF_SAVE_SUB_FPX_SINGLECOLOR
FF_SAVE_SUB_FPX_DEFQFACTOR
FF_SAVE_SUB_FPX_SPECQFACTOR

 

GEM (*.img)

Format Constant (nType):

Supported BPP:

Supported Sub-formats for each BPP:

FF_SAVE_IMG

1

No sub-formats

 

GeoTIFF (*.tif)

Format Constant (nType):

Supported BPP:

Supported Sub-formats for each BPP:

FF_SAVE_GEOTIFF

16

No sub-formats

 

IFF (*.iff)

Format Constant (nType):

Supported BPP:

Supported Sub-formats for each BPP:

FF_SAVE_IFF

1 – 8, 24

FF_SAVE_SUB_IFF_ILBM_UNCOMPRESSED
FF_SAVE_SUB_IFF_ILBM_RLE
FF_SAVE_SUB_IFF_CAT_UNCOMPRESSED
FF_SAVE_SUB_IFF_CAT_RLE

 

ITG (*.itg)

Format Constant (nType):

Supported BPP:

Supported Sub-formats for each BPP:

FF_SAVE_ITG

1

FF_SAVE_SUB_ITG_RLE
FF_SAVE_SUB_ITG_CCITT_G4

 

JBIG (*.jbg)

Format Constant (nType):

Supported BPP:

Supported Sub-formats for each BPP:

FF_SAVE_JBIG

1 - 8

No sub-formats

 

JBIG2 (*.jb2)

Format Constant (nType):

Supported BPP:

Supported Sub-formats for each BPP:

FF_SAVE_JBIG2

1

No sub-formats

 

MacPaint (*.mac)

Format Constant (nType):

Supported BPP:

Supported Sub-formats for each BPP:

FF_SAVE_MAC

1

No sub-formats

 

MacPaint (*.mac)

Format Constant (nType):

Supported BPP:

Supported Sub-formats for each BPP:

FF_SAVE_PCT

1, 4, 8, 16, 24

No sub-formats

 

MODCA IOCA (*.ica)

Format Constant (nType):

Supported BPP:

Supported Sub-formats for each BPP:

FF_SAVE_MODCA

1

FF_SAVE_SUB_ICA_G3_1D
FF_SAVE_SUB_ICA_G3_2D
FF_SAVE_SUB_ICA_G4
FF_SAVE_SUB_ICA_IBM_MMR
FF_SAVE_SUB_ICA_UNCOMPRESSED
FF_SAVE_SUB_ICA_ABIC

 

4

FF_SAVE_SUB_ICA4_ABIC

 

MRC (*.mrc)

Format Constant (nType):

Supported BPP:

Supported Sub-formats for each BPP:

FF_SAVE_MRC

24

FF_SAVE_SUB_LEAD_MRC
FF_SAVE_SUB_MRC

 

MS FAX (AWD) (*.awd)

Format Constant (nType):

Supported BPP:

Supported Sub-formats for each BPP:

FF_SAVE_AWD

1

No sub-formats

 

MS Paint (*.msp)

Format Constant (nType):

Supported BPP:

Supported Sub-formats for each BPP:

FF_SAVE_MSP

1

No sub-formats

 

OS/2 BMP (*.bmp)

Format Constant (nType):

Supported BPP:

Supported Sub-formats for each BPP:

FF_SAVE_OS2BMP

1, 4, 8, 24

FF_SAVE_SUB_OS2_VER1
FF_SAVE_SUB_OS2_VER2

 

PBM (*.pbm)

Format Constant (nType):

Supported BPP:

Supported Sub-formats for each BPP:

FF_SAVE_PBM

1

FF_SAVE_SUB_PBM_ASCII
FF_SAVE_SUB_PBM_BINARY

 

PCX (*.pcx)

Format Constant (nType):

Supported BPP:

Supported Sub-formats for each BPP:

FF_SAVE_PCX

1, 4, 8, 24

No sub-formats

 

PDF (*.pdf)

Format Constant (nType):

Supported BPP:

Supported Sub-formats for each BPP:

FF_SAVE_PDF

1

FF_SAVE_SUB_PDF1_UNCOMPRESSED
FF_SAVE_SUB_PDF1_CCITT_G3_1D
FF_SAVE_SUB_PDF1_CCITT_G3_2D
FF_SAVE_SUB_PDF1_CCITT_G4
FF_SAVE_SUB_PDF1_RAS_PDF_LZW
FF_SAVE_SUB_PDF1_RAS_PDF_JBIG2

 

2

FF_SAVE_SUB_PDF2_RAS_PDF_LZW

 

4

FF_SAVE_SUB_PDF4_RAS_PDF_LZW

 

8

FF_SAVE_SUB_PDF8_UNCOMPRESSED
FF_SAVE_SUB_PDF8_LOSSLESSJPEG
FF_SAVE_SUB_PDF8_RAS_PDF_LZW

 

24

FF_SAVE_SUB_PDF24_UNCOMPRESSED
FF_SAVE_SUB_PDF24_YUV_444
FF_SAVE_SUB_PDF24_YUV_422
FF_SAVE_SUB_PDF24_YUV_411
FF_SAVE_SUB_PDF24_RAS_PDF_LZW
FF_SAVE_SUB_PDF24_PDF_LEAD_MRC

 

PGM (*.pgm)

Format Constant (nType):

Supported BPP:

Supported Sub-formats for each BPP:

FF_SAVE_PGM

8

FF_SAVE_SUB_PGM_ASCII
FF_SAVE_SUB_PGM_BINARY

 

PPM (*.ppm)

Format Constant (nType):

Supported BPP:

Supported Sub-formats for each BPP:

FF_SAVE_PPM

24

FF_SAVE_SUB_PGM_ASCII
FF_SAVE_SUB_PGM_BINARY

 

PSD (*.psd)

Format Constant (nType):

Supported BPP:

Supported Sub-formats for each BPP:

FF_SAVE_PSD

1, 8, 24

No sub-formats

 

PSP (*.ppm)

Format Constant (nType):

Supported BPP:

Supported Sub-formats for each BPP:

FF_SAVE_PSP

1, 4, 8, 24

FF_SAVE_SUB_PSP_RLE
FF_SAVE_SUB_PSP_UNCOMPRESSED

 

RAW data (*.raw)

Format Constant (nType):

Supported BPP:

Supported Sub-formats for each BPP:

FF_SAVE_RAW

 

 

 

Raw IOCA (*.ica)

Format Constant (nType):

Supported BPP:

Supported Sub-formats for each BPP:

FF_SAVE_RAWICA

1

FF_SAVE_SUB_RAWICA_G3_1D
FF_SAVE_SUB_RAWICA_G3_2D
FF_SAVE_SUB_RAWICA_G4
FF_SAVE_SUB_RAWICA_IBM_MMR
FF_SAVE_SUB_RAWICA_UNCOMPRESSED

 

Scitex Continuous Tone SCT (*.sct)

Format Constant (nType):

Supported BPP:

Supported Sub-formats for each BPP:

FF_SAVE_SCT

24, 32

No sub-formats

 

SGI (*.sgi)

Format Constant (nType):

Supported BPP:

Supported Sub-formats for each BPP:

FF_SAVE_SGI

8, 24, 32

FF_SAVE_SUB_SGI_UNCOMPRESSED
FF_SAVE_SUB_SGI_RLECOMPRESSED

 

Structured Fax File (*.sff)

Format Constant (nType):

Supported BPP:

Supported Sub-formats for each BPP:

FF_SAVE_SFF

1

No sub-formats

 

SUN Ras (*.ras)

Format Constant (nType):

Supported BPP:

Supported Sub-formats for each BPP:

FF_SAVE_RAS

1, 4, 8, 24, 32

FF_SAVE_SUB_RAS_RLE
FF_SAVE_SUB_RAS_UNCOMPRESSED

 

TGA (*.tga)

Format Constant (nType):

Supported BPP:

Supported Sub-formats for each BPP:

FF_SAVE_TGA

8, 16, 24, 32

FF_SAVE_SUB_TGA_RLE
FF_SAVE_SUB_TGA_UNCOMPRESSED

 

TIFX (*.tifx)

Format Constant (nType):

Supported BPP:

Supported Sub-formats for each BPP:

FF_SAVE_TIFX

1

FF_SAVE_SUB_TIFX_CCITT_G4
FF_SAVE_SUB_TIFX_CCITT_G3_1D
FF_SAVE_SUB_TIFX_CCITT_G3_2D
FF_SAVE_SUB_TIFX_JBIG

 

3, 8, 24

No sub-formats

 

Winfax (*.wfx)

Format Constant (nType):

Supported BPP:

Supported Sub-formats for each BPP:

FF_SAVE_WFX

1

FF_SAVE_SUB_WFX_CCITT_G3_1D
FF_SAVE_SUB_WFX_CCITT_G4

 

Winfax (*.wfx)

Format Constant (nType):

Supported BPP:

Supported Sub-formats for each BPP:

FF_SAVE_BMP

1

No sub-formats

 

4, 8

FF_SAVE_SUB_BMP_UNCOMPRESSED
FF_SAVE_SUB_BMP_RLECOMPRESSED

 

16, 24, 32

No sub-formats

 

Win Cursor (*.cur)

Format Constant (nType):

Supported BPP:

Supported Sub-formats for each BPP:

FF_SAVE_CUR

1, 4, 8, 24

No sub-formats

 

Win Icon (*.ico)

Format Constant (nType):

Supported BPP:

Supported Sub-formats for each BPP:

FF_SAVE_ICO

1, 4, 8, 24

No sub-formats

 

Wireless Bitmap (WBMP) (*.wbmp)

Format Constant (nType):

Supported BPP:

Supported Sub-formats for each BPP:

FF_SAVE_WBMP

1

No sub-formats

 

WMF (*.wmf)

Format Constant (nType):

Supported BPP:

Supported Sub-formats for each BPP:

FF_SAVE_WMF

8, 24

No sub-formats

 

WPG (*.wpg)

Format Constant (nType):

Supported BPP:

Supported Sub-formats for each BPP:

FF_SAVE_WPG

1, 4, 8

No sub-formats

XBM (*.xbm)

Format Constant (nType):

Supported BPP:

Supported Sub-formats for each BPP:

FF_SAVE_XBM

1

No sub-formats

Xionics SMP (*.smp)

Format Constant (nType):

Supported BPP:

Supported Sub-formats for each BPP:

FF_SAVE_SMP

1

FF_SAVE_SUB_SMP_CCITT_GROUP3_1D
FF_SAVE_SUB_SMP_CCITT_GROUP3_2D
FF_SAVE_SUB_SMP_CCITT_GROUP4
FF_SAVE_SUB_SMP_UNCOMPRESSED

XPM (*.xpm)

Format Constant (nType):

Supported BPP:

Supported Sub-formats for each BPP:

FF_SAVE_XPM

8, 16, 24, 32

No sub-formats

XWD (*.xwd)

Format Constant (nType):

Supported BPP:

Supported Sub-formats for each BPP:

FF_SAVE_XWD

1, 4, 8

FF_SAVE_SUB_XWD_VERSION10
FF_SAVE_SUB_XWD_VERSION11

 

16, 24, 32

No sub-formats

Adaptive bi-level image compression (*.abic)

Format Constant (nType):

Supported BPP:

Supported Sub-formats for each BPP:

DLG_FF_SAVE_ABIC

1

No sub-formats

 

4

No sub-formats