Customizing File Format Lists

LEADTOOLS lets you customize the file format lists included in the Save dialog, displayed using LDialogFile::DoModalSave, and the File Conversion dialog, displayed using LDialogFile::DoModalFileConversion. 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 are all LEADTOOLs supported save formats, BPP, and sub-formats to be used for customize Save and File Conversion dialogs through FILESAVEFORMAT structure.

Format Constant (nType) Supported BPP Supported Sub-formats for each BPP
LEAD (*.cmp)
DLG_FF_SAVE_LEAD 1 No sub-formats
8, 24 DLG_FF_SAVE_SUB_CMP_NONPROGRESSIVE
DLG_FF_SAVE_SUB_CMP_PROGRESSIVE
JPEG (*.jpg)
DLG_FF_SAVE_JPEG 8 DLG_FF_SAVE_SUB_JPEG8_YUV_400
DLG_FF_SAVE_SUB_JPEG8_PROG_400
DLG_FF_SAVE_SUB_JPEG8_LOSSLESS
12 DLG_FF_SAVE_SUB_JPEG12_YUV_400
DLG_FF_SAVE_SUB_JPEG12_LOSSLESS
16 No sub-formats
24 DLG_FF_SAVE_SUB_JPEG24_YUV_444
DLG_FF_SAVE_SUB_JPEG24_YUV_422
DLG_FF_SAVE_SUB_JPEG24_YUV_411
DLG_FF_SAVE_SUB_JPEG24_PROG_444
DLG_FF_SAVE_SUB_JPEG24_PROG_422
DLG_FF_SAVE_SUB_JPEG24_PROG_411
DLG_FF_SAVE_SUB_JPEG24_LOSSLESS
DLG_FF_SAVE_SUB_JPEG24_LAB_444
DLG_FF_SAVE_SUB_JPEG24_LAB_422
DLG_FF_SAVE_SUB_JPEG24_LAB_411
LEAD Wavelet (*.cmw)
DLG_FF_SAVE_CMW 8, 12, 16, 24 No sub-formats
JPEG 2000 (*.j2k; *.jp2; *.jpx)
DLG_FF_SAVE_J2K 8, 12, 16, 24, 32, 48 DLG_FF_SAVE_SUB_J2K_STREAM
DLG_FF_SAVE_SUB_J2K_JP2
DLG_FF_SAVE_SUB_J2K_JPX
TIF (*.tif)
DLG_FF_SAVE_TI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F32_LZWCMYK
48 DLG_FF_SAVE_SUB_TIFF48_UNCOMPRESSEDRGB
DLG_FF_SAVE_SUB_TIFF48_LZWRGB
64 DLG_FF_SAVE_SUB_TIFF64_UNCOMPRESSEDRGB
DLG_FF_SAVE_SUB_TIFF64_LZWRGB
GIF (*.gif)
DLG_FF_SAVE_GIF 1, 2, 3, 4, 5, 6, 7, 8 DLG_FF_SAVE_SUB_GIF_INTERLACED89A
DLG_FF_SAVE_SUB_GIF_NONINTERLACED89A
PNG (*.png)
DLG_FF_SAVE_PNG 1, 4, 8, 24, 32, 48, 64 No sub-formats
Animated Cursor (*.ani)
DLG_FF_SAVE_ANI 1, 4, 8, 24 No sub-formats
CALS (*.cal)
DLG_FF_SAVE_CALS 1 DLG_FF_SAVE_SUB_CALS
DLG_FF_SAVE_SUB_CALS2
DLG_FF_SAVE_SUB_CALS3
DLG_FF_SAVE_SUB_CALS4
Cineon (*.cin)
DLG_FF_SAVE_CIN 24 No sub-formats
CLP (*.clp)
DLG_FF_SAVE_CLP 1, 4, 24 No sub-formats
8 DLG_FF_SAVE_SUB_CLP_UNCOMPRESSED
DLG_FF_SAVE_SUB_CLP_RLE
Compressed Windows Metafile (*.wmz)
DLG_FF_SAVE_WMZ 24 No sub-formats
DICOM DIC Gray (*.dic)
DLG_FF_SAVE_DICOMGRAY 8 DLG_FF_SAVE_SUB_DICOM8_GRAY
DLG_FF_SAVE_SUB_DICOM8_COLOR
DLG_FF_SAVE_SUB_DICOM8_RLE_GRAY
DLG_FF_SAVE_SUB_DICOM8_RLE_COLOR
DLG_FF_SAVE_SUB_DICOM8_JPEG_GRAY
DLG_FF_SAVE_SUB_DICOM8_J2K_GRAY_LOSSLESS
DLG_FF_SAVE_SUB_DICOM8_J2K_GRAY
DICOM DIC Color (*.dic)
DLG_FF_SAVE_DICOMCOLOR 24 DLG_FF_SAVE_SUB_DICOM24_COLOR
DLG_FF_SAVE_SUB_DICOM24_RLE_COLOR
DLG_FF_SAVE_SUB_DICOM24_LOSSLESSJPEG_COLOR
DLG_FF_SAVE_SUB_DICOM24_JPEG_COLOR
DLG_FF_SAVE_SUB_DICOM24_J2K_GRAY_LOSSLESS
DLG_FF_SAVE_SUB_DICOM24_J2K_GRAY
Dr Halo (*.cut)
DLG_FF_SAVE_CUT 8 No sub-formats
EMF (*.emf)
DLG_FF_SAVE_EMF 8, 24 No sub-formats
EPS (*.eps)
DLG_FF_SAVE_EPS 8 No sub-formats
EXIF (*.tif)
DLG_FF_SAVE_EXIF 24 DLG_FF_SAVE_SUB_EXIF_UNCOMPRESSEDRGB
DLG_FF_SAVE_SUB_EXIF_UNCOMPRESSEDYCC
DLG_FF_SAVE_SUB_EXIF_JPEG_411
DLG_FF_SAVE_SUB_EXIF_JPEG_422
FAX (Raw) (*.fax)
DLG_FF_SAVE_FAX 1 DLG_FF_SAVE_SUB_FAX_G3_1D
DLG_FF_SAVE_SUB_FAX_G3_2D
DLG_FF_SAVE_SUB_FAX_G4
FIT (*.fit)
DLG_FF_SAVE_FIT 8, 16, 32 No sub-formats
FLC (*.flc)
DLG_FF_SAVE_FLC 8 No sub-formats
FPX (*.fpx)
DLG_FF_SAVE_FPX 8, 24 DLG_FF_SAVE_SUB_FPX_UNCOMPRESSED
DLG_FF_SAVE_SUB_FPX_SINGLECOLOR
DLG_FF_SAVE_SUB_FPX_DEFQFACTOR
DLG_FF_SAVE_SUB_FPX_SPECQFACTOR
GEM (*.img)
DLG_FF_SAVE_IMG 1 No sub-formats
GeoTIFF (*.tif)
DLG_FF_SAVE_GEOTIFF 16 No sub-formats
IFF (*.iff)
DLG_FF_SAVE_IFF 1 - 8, 24 DLG_FF_SAVE_SUB_IFF_ILBM_UNCOMPRESSED
DLG_FF_SAVE_SUB_IFF_ILBM_RLE
DLG_FF_SAVE_SUB_IFF_CAT_UNCOMPRESSED
DLG_FF_SAVE_SUB_IFF_CAT_RLE
ITG (*.itg)
DLG_FF_SAVE_ITG 1 DLG_FF_SAVE_SUB_ITG_RLE
DLG_FF_SAVE_SUB_ITG_CCITT_G4
JBIG (*.jbg)
DLG_FF_SAVE_JBIG 1 - 8 No sub-formats
JBIG2 (*.jb2)
DLG_FF_SAVE_JBIG2 1 No sub-formats
ABC (*.abc)
DLG_FF_SAVE_ABC 1 No sub-formats
MacPaint (*.mac)
DLG_FF_SAVE_MAC 1 No sub-formats
DLG_FF_SAVE_PCT 1, 4, 8, 16, 24 No sub-formats
MODCA IOCA (*.ica)
DLG_FF_SAVE_MODCA 1 DLG_FF_SAVE_SUB_ICA_G3_1D
DLG_FF_SAVE_SUB_ICA_G3_2D
DLG_FF_SAVE_SUB_ICA_G4
DLG_FF_SAVE_SUB_ICA_IBM_MMR
DLG_FF_SAVE_SUB_ICA_UNCOMPRESSED
DLG_FF_SAVE_SUB_ICA_ABIC
4 DLG_FF_SAVE_SUB_ICA4_ABIC
MRC (*.mrc)
DLG_FF_SAVE_MRC 24 DLG_FF_SAVE_SUB_LEAD_MRC
DLG_FF_SAVE_SUB_MRC
MS HDPhoto (*.hdp)
DLG_FF_SAVE_HDP 1, 4, 8, 24, 64 No sub-formats
16 DLG_FF_SAVE_SUB_HDP_GRAY
DLG_FF_SAVE_SUB_HDP_RGB
32 DLG_FF_SAVE_SUB_HDP_CMYK
DLG_FF_SAVE_SUB_HDP_RGB
MS Paint (*.msp)
DLG_FF_SAVE_MSP 1 No sub-formats
Multiple-image Network Graphics (*.mng)
DLG_FF_SAVE_MNG 1, 2, 4 DLG_FF_SAVE_SUB_IDSTR_MNG
DLG_FF_SAVE_SUB_IDSTR_MNG_GRAY
8 DLG_FF_SAVE_SUB_IDSTR_MNG
DLG_FF_SAVE_SUB_IDSTR_MNG_GRAY
DLG_FF_SAVE_SUB_IDSTR_MNG_JNG
16 DLG_FF_SAVE_SUB_IDSTR_MNG_GRAY
24 DLG_FF_SAVE_SUB_IDSTR_MNG
DLG_FF_SAVE_SUB_IDSTR_MNG_JNG
DLG_FF_SAVE_SUB_IDSTR_MNG_JNG_411
DLG_FF_SAVE_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_SAVE_SUB_PGM_ASCII
DLG_FF_SAVE_SUB_PGM_BINARY
PSD (*.psd)
DLG_FF_SAVE_PSD 1, 8, 24 No sub-formats
PSP (*.ppm)
DLG_FF_SAVE_PSP 1, 4, 8, 24 DLG_FF_SAVE_SUB_PSP_RLE
DLG_FF_SAVE_SUB_PSP_UNCOMPRESSED
RAW data (*.raw)
DLG_FF_SAVE_RAW
Raw IOCA (*.ica)
DLG_FF_SAVE_RAWICA 1 DLG_FF_SAVE_SUB_RAWICA_G3_1D
DLG_FF_SAVE_SUB_RAWICA_G3_2D
DLG_FF_SAVE_SUB_RAWICA_G4
DLG_FF_SAVE_SUB_RAWICA_IBM_MMR
DLG_FF_SAVE_SUB_RAWICA_UNCOMPRESSED
Scitex Continuous Tone SCT (*.sct)
DLG_FF_SAVE_SCT 24, 32 No sub-formats
SGI (*.sgi)
DLG_FF_SAVE_SGI 8, 24, 32 DLG_FF_SAVE_SUB_SGI_UNCOMPRESSED
DLG_FF_SAVE_SUB_SGI_RLECOMPRESSED
Structured Fax File (*.sff)
DLG_FF_SAVE_SFF 1 No sub-formats
SUN Ras (*.ras)
DLG_FF_SAVE_RAS 1, 4, 8, 24, 32 DLG_FF_SAVE_SUB_RAS_RLE
DLG_FF_SAVE_SUB_RAS_UNCOMPRESSED
TGA (*.tga)
DLG_FF_SAVE_TGA 8, 16, 24, 32 DLG_FF_SAVE_SUB_TGA_RLE
DLG_FF_SAVE_SUB_TGA_UNCOMPRESSED
TIFX (*.tifx)
DLG_FF_SAVE_TIFX 1 DLG_FF_SAVE_SUB_TIFX_CCITT_G4
DLG_FF_SAVE_SUB_TIFX_CCITT_G3_1D
DLG_FF_SAVE_SUB_TIFX_CCITT_G3_2D
DLG_FF_SAVE_SUB_TIFX_JBIG
3, 8, 24 No sub-formats
Vista Icon (*.ico)
DLG_FF_SAVE_PNG_ICO 1, 4, 8, 24, 32 No sub-formats
Winfax (*.wfx)
DLG_FF_SAVE_WFX 1 DLG_FF_SAVE_SUB_WFX_CCITT_G3_1D
DLG_FF_SAVE_SUB_WFX_CCITT_G4
Windows Bitmap (.bmp)*
DLG_FF_SAVE_BMP 1 No sub-formats
4, 8 DLG_FF_SAVE_SUB_BMP_UNCOMPRESSED
DLG_FF_SAVE_SUB_BMP_RLECOMPRESSED
16, 24, 32 No sub-formats
Win Cursor (*.cur)
DLG_FF_SAVE_CUR 1, 4, 8, 24 No sub-formats
Win Icon (*.ico)
DLG_FF_SAVE_ICO 1, 4, 8, 24 No sub-formats
Wireless Bitmap (WBMP) (*.wbmp)
DLG_FF_SAVE_WBMP 1 No sub-formats
WPG (*.wpg)
DLG_FF_SAVE_WPG 1, 4, 8 No sub-formats
XBM (*.xbm)
DLG_FF_SAVE_XBM 1 No sub-formats
Xionics SMP (*.smp)
DLG_FF_SAVE_SMP 1 DLG_FF_SAVE_SUB_SMP_CCITT_GROUP3_1D
DLG_FF_SAVE_SUB_SMP_CCITT_GROUP3_2D
DLG_FF_SAVE_SUB_SMP_CCITT_GROUP4
DLG_FF_SAVE_SUB_SMP_UNCOMPRESSED
XPM (*.xpm)
DLG_FF_SAVE_XPM 8, 16, 24, 32 No sub-formats
XPS Document (*.xps)
DLG_FF_SAVE_XPS 1, 4, 32 No sub-formats
8 DLG_FF_SAVE_SUB_IDSTR_XPS
DLG_FF_SAVE_SUB_IDSTR_XPS_JPEG
DLG_FF_SAVE_SUB_IDSTR_XPS_JPEG_LOSSLESS
24 DLG_FF_SAVE_SUB_IDSTR_XPS
DLG_FF_SAVE_SUB_IDSTR_XPS_JPEG
DLG_FF_SAVE_SUB_IDSTR_XPS_JPEG_422
DLG_FF_SAVE_SUB_IDSTR_XPS_JPEG_411
XWD (*.xwd)
DLG_FF_SAVE_XWD 1, 4, 8 DLG_FF_SAVE_SUB_XWD_VERSION10
DLG_FF_SAVE_SUB_XWD_VERSION11
16, 24, 32 No sub-formats
Adaptive bi-level image compression (*.abic)
DLG_FF_SAVE_ABIC 1 No sub-formats
4 No sub-formats
Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Common Dialog C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.