LEADTOOLS lets you customize the file format lists included in the Save dialog, displayed using L_DlgSave, and the File Conversion dialog, displayed using L_DlgFileConversion. 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.
LEAD (*.cmp)
Format Constant (nType): |
Supported BPP: |
Supported Sub-formats for each BPP: |
DLG_FF_SAVE_LEAD |
1 |
No sub-formats |
|
8, 24 |
DLG_FF_SAVE_SUB_CMP_NONPROGRESSIVE |
JPEG (*.jpg)
Format Constant (nType): |
Supported BPP: |
Supported Sub-formats for each BPP: |
DLG_FF_SAVE_JPEG |
8 |
DLG_FF_SAVE_SUB_JPEG8_YUV_400 |
|
12 |
DLG_FF_SAVE_SUB_JPEG12_YUV_400 |
|
16 |
No sub-formats |
|
24 |
DLG_FF_SAVE_SUB_JPEG24_YUV_444 |
LEAD Wavelet(*.cmw)
Format Constant (nType): |
Supported BPP: |
Supported Sub-formats for each BPP: |
DLG_FF_SAVE_CMW |
8, 12, 16, 24 |
No sub-formats |
JPEG 2000(*.j2k; *.jp2; *.jpx)
Format Constant (nType): |
Supported BPP: |
Supported Sub-formats for each BPP: |
DLG_FF_SAVE_J2K |
8, 12, 16, 24, 32, 48 |
DLG_FF_SAVE_SUB_J2K_STREAM |
TIF (*.tif)
Format Constant (nType): |
Supported BPP: |
Supported Sub-formats for each BPP: |
DLG_FF_SAVE_TIFF |
1 |
DLG_FF_SAVE_SUB_TIFF1_CCITT |
|
4 |
DLG_FF_SAVE_SUB_TIFF4_UNCOMPRESSED |
|
2, 3, 5, 6, 7 |
DLG_FF_SAVE_SUB_TIFFOTHER_UNCOMPRESSED |
|
8 |
DLG_FF_SAVE_SUB_TIFF8_UNCOMPRESSEDRGB |
|
12 |
DLG_FF_SAVE_SUB_TIFF12_UNCOMPRESSED |
|
16 |
DLG_FF_SAVE_SUB_TIFF16_UNCOMPRESSED |
|
24 |
DLG_FF_SAVE_SUB_TIFF24_UNCOMPRESSEDRGB |
|
32 |
DLG_FF_SAVE_SUB_TIFF32_UNCOMPRESSEDRGB DLG_FF_SAVE_SUB_TIFF32_UNCOMPRESSEDCMYK DLG_FF_SAVE_SUB_TIFF32_RLERGB DLG_FF_SAVE_SUB_TIFF32_RLECMYK DLG_FF_SAVE_SUB_TIFF32_LZWRGB DLG_FF_SAVE_SUB_TIFF32_LZWCMYK
|
|
48 |
DLG_FF_SAVE_SUB_TIFF48_UNCOMPRESSEDRGB |
|
64 |
DLG_FF_SAVE_SUB_TIFF64_UNCOMPRESSEDRGB |
GIF (*.gif)
Format Constant (nType): |
Supported BPP: |
Supported Sub-formats for each BPP: |
DLG_FF_SAVE_GIF |
1, 2, 3, 4, 5, 6, 7, 8 |
DLG_FF_SAVE_SUB_GIF_INTERLACED89A |
PNG (*.png)
Format Constant (nType): |
Supported BPP: |
Supported Sub-formats for each BPP: |
DLG_FF_SAVE_PNG |
1, 4, 8, 24, 32, 48, 64 |
No sub-formats |
Animated Cursor (*.ani)
Format Constant (nType): |
Supported BPP: |
Supported Sub-formats for each BPP: |
DLG_FF_SAVE_ANI |
1, 4, 8, 24 |
No sub-formats |
CALS (*.cal)
Format Constant (nType): |
Supported BPP: |
Supported Sub-formats for each BPP: |
DLG_FF_SAVE_CALS |
1 |
DLG_FF_SAVE_SUB_CALS |
Cineon (*.cin)
Format Constant (nType): |
Supported BPP: |
Supported Sub-formats for each BPP: |
DLG_FF_SAVE_CIN |
24 |
No sub-formats |
CLP (*.clp)
Format Constant (nType): |
Supported BPP: |
Supported Sub-formats for each BPP: |
DLG_FF_SAVE_CLP |
1, 4, 24 |
No sub-formats |
|
8 |
DLG_FF_SAVE_SUB_CLP_UNCOMPRESSED |
Compressed Windows Metafile (*.wmz)
Format Constant (nType): |
Supported BPP: |
Supported Sub-formats for each BPP: |
DLG_FF_SAVE_WMZ |
24 |
No sub-formats |
DICOM DIC Gray (*.dic)
Format Constant (nType): |
Supported BPP: |
Supported Sub-formats for each BPP: |
DLG_FF_SAVE_DICOMGRAY |
8 |
DLG_FF_SAVE_SUB_DICOM8_GRAY |
|
16 |
DLG_FF_SAVE_SUB_DICOM16_GRAY |
DICOM DIC Color (*.dic)
Format Constant (nType): |
Supported BPP: |
Supported Sub-formats for each BPP: |
DLG_FF_SAVE_DICOMCOLOR |
24 |
DLG_FF_SAVE_SUB_DICOM24_COLOR |
Dr Halo (*.cut)
Format Constant (nType): |
Supported BPP: |
Supported Sub-formats for each BPP: |
DLG_FF_SAVE_CUT |
8 |
No sub-formats |
ECW (*.ecw)
Format Constant (nType): |
Supported BPP: |
Supported Sub-formats for each BPP: |
DLG_FF_SAVE_ECW |
24 |
No sub-formats |
EMF (*.emf)
Format Constant (nType): |
Supported BPP: |
Supported Sub-formats for each BPP: |
DLG_FF_SAVE_EMF |
8, 24 |
No sub-formats |
EPS (*.eps)
Format Constant (nType): |
Supported BPP: |
Supported Sub-formats for each BPP: |
DLG_FF_SAVE_EPS |
8 |
No sub-formats |
EXIF (*.tif)
Format Constant (nType): |
Supported BPP: |
Supported Sub-formats for each BPP: |
DLG_FF_SAVE_EXIF |
24 |
DLG_FF_SAVE_SUB_EXIF_UNCOMPRESSEDRGB |
FAX (Raw) (*.fax)
Format Constant (nType): |
Supported BPP: |
Supported Sub-formats for each BPP: |
DLG_FF_SAVE_FAX |
1 |
DLG_FF_SAVE_SUB_FAX_G3_1D |
FIT (*.fit)
Format Constant (nType): |
Supported BPP: |
Supported Sub-formats for each BPP: |
DLG_FF_SAVE_FIT |
8, 16, 32 |
No sub-formats |
FLC (*.flc)
Format Constant (nType): |
Supported BPP: |
Supported Sub-formats for each BPP: |
DLG_FF_SAVE_FLC |
8 |
No sub-formats |
FPX (*.fpx)
Format Constant (nType): |
Supported BPP: |
Supported Sub-formats for each BPP: |
DLG_FF_SAVE_FPX |
8, 24 |
DLG_FF_SAVE_SUB_FPX_UNCOMPRESSED |
GEM (*.img)
Format Constant (nType): |
Supported BPP: |
Supported Sub-formats for each BPP: |
DLG_FF_SAVE_IMG |
1 |
No sub-formats |
GeoTIFF (*.tif)
Format Constant (nType): |
Supported BPP: |
Supported Sub-formats for each BPP: |
DLG_FF_SAVE_GEOTIFF |
16 |
No sub-formats |
IFF (*.iff)
Format Constant (nType): |
Supported BPP: |
Supported Sub-formats for each BPP: |
DLG_FF_SAVE_IFF |
1 - 8, 24 |
DLG_FF_SAVE_SUB_IFF_ILBM_UNCOMPRESSED |
ITG (*.itg)
Format Constant (nType): |
Supported BPP: |
Supported Sub-formats for each BPP: |
DLG_FF_SAVE_ITG |
1 |
DLG_FF_SAVE_SUB_ITG_RLE |
JBIG (*.jbg)
Format Constant (nType): |
Supported BPP: |
Supported Sub-formats for each BPP: |
DLG_FF_SAVE_JBIG |
1 - 8 |
No sub-formats |
JBIG2 (*.jb2)
Format Constant (nType): |
Supported BPP: |
Supported Sub-formats for each BPP: |
DLG_FF_SAVE_JBIG2 |
1 |
No sub-formats |
ABC (*.abc)
Format Constant (nType): |
Supported BPP: |
Supported Sub-formats for each BPP: |
DLG_FF_SAVE_ABC |
1 |
No sub-formats |
MacPaint (*.mac)
Format Constant (nType): |
Supported BPP: |
Supported Sub-formats for each BPP: |
DLG_FF_SAVE_MAC |
1 |
No sub-formats |
MacPaint (*.mac)
Format Constant (nType): |
Supported BPP: |
Supported Sub-formats for each BPP: |
DLG_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: |
DLG_FF_SAVE_MODCA |
1 |
DLG_FF_SAVE_SUB_ICA_G3_1D |
|
4 |
DLG_FF_SAVE_SUB_ICA4_ABIC |
MRC (*.mrc)
Format Constant (nType): |
Supported BPP: |
Supported Sub-formats for each BPP: |
DLG_FF_SAVE_MRC |
24 |
DLG_FF_SAVE_SUB_LEAD_MRC |
MS HDPhoto (*.hdp)
Format Constant (nType): |
Supported BPP: |
Supported Sub-formats for each BPP: |
DLG_FF_SAVE_HDP |
1, 4, 8, 24, 64 |
No sub-formats |
|
16 |
DLG_FF_SAVE_SUB_HDP_GRAY |
|
32 |
DLG_FF_SAVE_SUB_HDP_CMYK |
MS Paint (*.msp)
Format Constant (nType): |
Supported BPP: |
Supported Sub-formats for each BPP: |
DLG_FF_SAVE_MSP |
1 |
No sub-formats |
Multiple-image Network Graphics (*.mng)
Format Constant (nType): |
Supported BPP: |
Supported Sub-formats for each BPP: |
DLG_FF_SAVE_MNG |
1, 2,4 |
DLG_FF_SAVE_SUB_IDSTR_MNG |
|
8 |
DLG_FF_SAVE_SUB_IDSTR_MNG |
|
16 |
DLG_FF_SAVE_SUB_IDSTR_MNG_GRAY |
|
24 |
DLG_FF_SAVE_SUB_IDSTR_MNG |
|
32,48,64 |
DLG_FF_SAVE_SUB_IDSTR_MNG |
OS/2 BMP (*.bmp)
Format Constant (nType): |
Supported BPP: |
Supported Sub-formats for each BPP: |
DLG_FF_SAVE_OS2BMP |
1, 4, 8, 24 |
DLG_FF_SAVE_SUB_OS2_VER1 |
PBM (*.pbm)
Format Constant (nType): |
Supported BPP: |
Supported Sub-formats for each BPP: |
DLG_FF_SAVE_PBM |
1 |
DLG_FF_SAVE_SUB_PBM_ASCII |
PCX (*.pcx)
Format Constant (nType): |
Supported BPP: |
Supported Sub-formats for each BPP: |
DLG_FF_SAVE_PCX |
1, 4, 8, 24 |
No sub-formats |
PDF (*.pdf)
Format Constant (nType): |
Supported BPP: |
Supported Sub-formats for each BPP: |
DLG_FF_SAVE_PDF |
1 |
DLG_FF_SAVE_SUB_PDF1_UNCOMPRESSED |
|
2 |
DLG_FF_SAVE_SUB_PDF2_UNCOMPRESSED |
|
4 |
DLG_FF_SAVE_SUB_PDF2_UNCOMPRESSED |
|
8 |
DLG_FF_SAVE_SUB_PDF8_UNCOMPRESSED |
|
24 |
DLG_FF_SAVE_SUB_PDF24_UNCOMPRESSED |
PGM (*.pgm)
Format Constant (nType): |
Supported BPP: |
Supported Sub-formats for each BPP: |
DLG_FF_SAVE_PGM |
8 |
DLG_FF_SAVE_SUB_PGM_ASCII |
PPM (*.ppm)
Format Constant (nType): |
Supported BPP: |
Supported Sub-formats for each BPP: |
DLG_FF_SAVE_PPM |
24 |
DLG_FF_SAVE_SUB_PGM_ASCII |
PSD (*.psd)
Format Constant (nType): |
Supported BPP: |
Supported Sub-formats for each BPP: |
DLG_FF_SAVE_PSD |
1, 8, 24 |
No sub-formats |
PSP (*.ppm)
Format Constant (nType): |
Supported BPP: |
Supported Sub-formats for each BPP: |
DLG_FF_SAVE_PSP |
1, 4, 8, 24 |
DLG_FF_SAVE_SUB_PSP_RLE |
RAW data (*.raw)
Format Constant (nType): |
Supported BPP: |
Supported Sub-formats for each BPP: |
DLG_FF_SAVE_RAW |
|
|
Raw IOCA (*.ica)
Format Constant (nType): |
Supported BPP: |
Supported Sub-formats for each BPP: |
DLG_FF_SAVE_RAWICA |
1 |
DLG_FF_SAVE_SUB_RAWICA_G3_1D |
Scitex Continuous Tone SCT (*.sct)
Format Constant (nType): |
Supported BPP: |
Supported Sub-formats for each BPP: |
DLG_FF_SAVE_SCT |
24, 32 |
No sub-formats |
SGI (*.sgi)
Format Constant (nType): |
Supported BPP: |
Supported Sub-formats for each BPP: |
DLG_FF_SAVE_SGI |
8, 24, 32 |
DLG_FF_SAVE_SUB_SGI_UNCOMPRESSED |
Structured Fax File (*.sff)
Format Constant (nType): |
Supported BPP: |
Supported Sub-formats for each BPP: |
DLG_FF_SAVE_SFF |
1 |
No sub-formats |
SUN Ras (*.ras)
Format Constant (nType): |
Supported BPP: |
Supported Sub-formats for each BPP: |
DLG_FF_SAVE_RAS |
1, 4, 8, 24, 32 |
DLG_FF_SAVE_SUB_RAS_RLE |
TGA (*.tga)
Format Constant (nType): |
Supported BPP: |
Supported Sub-formats for each BPP: |
DLG_FF_SAVE_TGA |
8, 16, 24, 32 |
DLG_FF_SAVE_SUB_TGA_RLE |
TIFX (*.tifx)
Format Constant (nType): |
Supported BPP: |
Supported Sub-formats for each BPP: |
DLG_FF_SAVE_TIFX |
1 |
DLG_FF_SAVE_SUB_TIFX_CCITT_G4 |
|
3, 8, 24 |
No sub-formats |
Vista Icon (*.ico)
Format Constant (nType): |
Supported BPP: |
Supported Sub-formats for each BPP: |
DLG_FF_SAVE_PNG_ICO |
1,4,8,24,32 |
No sub-formats |
Winfax (*.wfx)
Format Constant (nType): |
Supported BPP: |
Supported Sub-formats for each BPP: |
DLG_FF_SAVE_WFX |
1 |
DLG_FF_SAVE_SUB_WFX_CCITT_G3_1D |
Winfax (*.wfx)
Format Constant (nType): |
Supported BPP: |
Supported Sub-formats for each BPP: |
DLG_FF_SAVE_BMP |
1 |
No sub-formats |
|
4, 8 |
DLG_FF_SAVE_SUB_BMP_UNCOMPRESSED |
|
16, 24, 32 |
No sub-formats |
Win Cursor (*.cur)
Format Constant (nType): |
Supported BPP: |
Supported Sub-formats for each BPP: |
DLG_FF_SAVE_CUR |
1, 4, 8, 24 |
No sub-formats |
Win Icon (*.ico)
Format Constant (nType): |
Supported BPP: |
Supported Sub-formats for each BPP: |
DLG_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: |
DLG_FF_SAVE_WBMP |
1 |
No sub-formats |
BMP (*.bmp)
Format Constant (nType): |
Supported BPP: |
Supported Sub-formats for each BPP: |
DLG_FF_SAVE_BMP |
8, 24 |
No sub-formats |
WPG (*.wpg)
Format Constant (nType): |
Supported BPP: |
Supported Sub-formats for each BPP: |
DLG_FF_SAVE_WPG |
1, 4, 8 |
No sub-formats |
XBM (*.xbm)
Format Constant (nType): |
Supported BPP: |
Supported Sub-formats for each BPP: |
DLG_FF_SAVE_XBM |
1 |
No sub-formats |
Xionics SMP (*.smp)
Format Constant (nType): |
Supported BPP: |
Supported Sub-formats for each BPP: |
DLG_FF_SAVE_SMP |
1 |
DLG_FF_SAVE_SUB_SMP_CCITT_GROUP3_1D |
XPM (*.xpm)
Format Constant (nType): |
Supported BPP: |
Supported Sub-formats for each BPP: |
DLG_FF_SAVE_XPM |
8, 16, 24, 32 |
No sub-formats |
XPS Document (*.xps)
Format Constant (nType): |
Supported BPP: |
Supported Sub-formats for each BPP: |
DLG_FF_SAVE_XPS |
1, 4, 32 |
No sub-formats |
|
8 |
DLG_FF_SAVE_SUB_IDSTR_XPS |
|
24 |
DLG_FF_SAVE_SUB_IDSTR_XPS |
XWD (*.xwd)
Format Constant (nType): |
Supported BPP: |
Supported Sub-formats for each BPP: |
DLG_FF_SAVE_XWD |
1, 4, 8 |
DLG_FF_SAVE_SUB_XWD_VERSION10 |
|
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 |