FILESAVEFORMAT

typedef struct _FILESAVEFORMAT
{

   L_INT32 nSize;

/* size of this structure*/

   L_INT nFormat;

/* file formats */

   L_UINT uSubFormats;

/* sub-format flags */

} FILESAVEFORMAT, L_FAR * LPFILESAVEFORMAT;

The FILESAVEFORMAT structure provides information to the L_DlgSave function.

Member

Description

nSize

Size of this structure.

nFormat

Top level formats. Possible values are:

FS_LEAD24

FS_LEAD8

FS_LEAD1BIT

FS_JFIF24

FS_JFIF16

FS_JFIF12

FS_JFIF8

FS_J2K8

FS_J2K12

FS_J2K16

FS_J2K24

FS_CMW8

FS_CMW12

FS_CMW16

FS_CMW24

FS_CALS

FS_PNG1

FS_PNG4

FS_PNG8

FS_PNG24

FS_PNG32

FS_DICOM8

FS_DICOM16

FS_DICOM24

FS_FAX

FS_EPS

FS_EXIF

FS_FPX24

FS_FPX8

FS_IMG

FS_GIF1

FS_GIF2

FS_GIF3

FS_GIF4

FS_GIF5

FS_GIF6

FS_GIF7

FS_GIF8

FS_IOCA

FS_MODCA

FS_PCT1

FS_PCT4

FS_PCT8

FS_PCT24

FS_MAC

FS_AWD

FS_MSP

FS_OS2BMP1

FS_OS2BMP4

FS_OS2BMP8

FS_OS2BMP24

FS_PCX1

FS_PCX4

FS_PCX8

FS_PCX24

FS_PSD1

FS_PSD8

FS_PSD24

FS_RAS1

FS_RAS4

FS_RAS8

FS_RAS24

FS_RAS32

FS_TGA8

FS_TGA16

FS_TGA24

FS_TGA32

FS_TIFF1

FS_TIFF2

FS_TIFF3

FS_TIFF4

FS_TIFF5

FS_TIFF6

FS_TIFF7

FS_TIFF8

FS_TIFF12

FS_TIFF16

FS_TIFF24

FS_TIFF32

FS_TIFF48

FS_TIFF64

FS_BMP1

FS_BMP4

FS_BMP8

FS_BMP16

FS_BMP24

FS_BMP32

FS_WFX

FS_EMF8

FS_EMF24

FS_EMF8 (32-bit only)

FS_EMF24 (32-bit only)

FS_WPG1

FS_WPG4

FS_WPG8

FS_ICO1

FS_ICO4

FS_ICO8

FS_ICO24

FS_CUR1

FS_CUR4

FS_CUR8

FS_CUR24

FS_JBIG1

FS_JBIG2

FS_JBIG3

FS_JBIG4

FS_JBIG5

FS_JBIG6

FS_JBIG7

FS_JBIG8

FS_CUT

FS_PPM

FS_PGM

FS_PBM

FS_IFF1

FS_IFF2

FS_IFF3

FS_IFF4

FS_IFF5

FS_IFF6

FS_IFF7

FS_IFF8

FS_IFF24

FS_XBM

FS_XPM8

FS_XPM16

FS_XPM24

FS_XPM32

FS_ITG

FS_FLC8

FS_ANI1

FS_ANI4

FS_ANI8

FS_ANI24

FS_XWD10_1

FS_XWD10_4

FS_XWD10_8

FS_XWD11_1

FS_XWD11_4

FS_XWD11_8

FS_XWD11_16

FS_XWD11_24

FS_XWD11_32

FS_CLP1

FS_CLP4

FS_CLP8

FS_CLP24

FS_RAW

FS_PDF1

FS_PDF2

FS_PDF4

FS_PDF8

FS_PDF24

FS_SGI8

FS_SGI24

FS_SGI32

FS_WBMP

FS_SCT24

FS_SMP

FS_MAX

uSubFormats

Sub-formats. Possible values are:

 

/* LEAD CMP file subtypes (8,24-bit) */

 

 

DLG_FS_SUB_CMP_NONPROGRESSIVE

0x0001

 

DLG_FS_SUB_CMP_PROGRESSIVE

0x0002

 

/* JPEG file subtypes (24-bit) */

 

 

DLG_FS_SUB_JPEG24_YUV_444

0x0001

 

DLG_FS_SUB_JPEG24_YUV_422

0x0002

 

DLG_FS_SUB_JPEG24_YUV_411

0x0004

 

DLG_FS_SUB_JPEG24_PROG_444

0x0008

 

DLG_FS_SUB_JPEG24_PROG_422

0x0010

 

DLG_FS_SUB_JPEG24_PROG_411

0x0020

 

DLG_FS_SUB_JPEG24_LOSSLESS

0x0040

 

/* JPEG file subtypes (12-bit) */

 

 

DLG_FS_SUB_JPEG12_YUV_400

0x0001

 

DLG_FS_SUB_JPEG12_LOSSLESS

0x0002

 

/* JPEG file subtypes (8-bit) */

 

 

DLG_FS_SUB_JPEG8_YUV_400

0x0001

 

DLG_FS_SUB_JPEG8_PROG_400

0x0002

 

DLG_FS_SUB_JPEG8_LOSSLESS

0x0004

 

/* JPEG 2000 file subtypes (8,24-bit)*/

 

 

DLG_FS_SUB_J2K_STREAM

0x0001

 

DLG_FS_SUB_J2K_JP2

0x0002

 

/* DICOM file subtypes (8-bit) */

 

 

DLG_FS_SUB_DICOM8_GRAY

0x0001

 

DLG_FS_SUB_DICOM8_COLOR

0x0002

 

/* DICOM file subtypes (Other-bit) */

 

 

DLG_FS_SUB_DICOM_RLE_GRAY

0x0001

 

DLG_FS_SUB_DICOM_RLE_COLOR

0x0002

 

DLG_FS_SUB_DICOM_JPEG_GRAY

0x0004

 

DLG_FS_SUB_DICOM_LOSSLESSJPEG_GRAY

0x0008

 

DLG_FS_SUB_DICOM_JPEG_COLOR

0x0010

 

DLG_FS_SUB_DICOM_LOSSLESSJPEG_COLOR

0x0020

 

/* RAW FAX, IOCA, & MODCA subtypes */

 

 

DLG_FS_SUB_FAX_G3_1D

0x0001

 

DLG_FS_SUB_FAX_G3_2D

0x0002

 

DLG_FS_SUB_FAX_G4

0x0004

 

/* EXIF file subtypes */

 

 

DLG_FS_SUB_EXIF_UNCOMPRESSEDRGB

0x0001

 

DLG_FS_SUB_EXIF_UNCOMPRESSEDYCC

0x0002

 

DLG_FS_SUB_EXIF_JPEG_411

0x0004

 

DLG_FS_SUB_EXIF_JPEG_422

0x0008

 

/* FPX file subtypes */

 

 

DLG_FS_SUB_FPX_UNCOMPRESSED

0x0001

 

DLG_FS_SUB_FPX_SINGLECOLOR

0x0002

 

DLG_FS_SUB_FPX_DEFQFACTOR

0x0004

 

DLG_FS_SUB_FPX_SPECQFACTOR

0x0008

 

/* GIF file subtypes */

 

 

DLG_FS_SUB_GIF_INTERLACED89A

0x0001

 

DLG_FS_SUB_GIF_NONINTERLACED89A

0x0002

 

/* OS/2 BMP file subtypes */

 

 

DLG_FS_SUB_OS2_VER1

0x0001

 

DLG_FS_SUB_OS2_VER2

0x0002

 

/* TIFF file subtypes (1-bit) */

 

 

DLG_FS_SUB_TIFF1_CCITT

0x0001

 

DLG_FS_SUB_TIFF1_CCITT_G3_1D

0x0002

 

DLG_FS_SUB_TIFF1_CCITT_G3_2D

0x0004

 

DLG_FS_SUB_TIFF1_CCITT_G4

0x0008

 

DLG_FS_SUB_TIFF1_UNCOMPRESSEDRGB

0x0010

 

DLG_FS_SUB_TIFF1_RLERGB

0x0020

 

DLG_FS_SUB_TIFF1_LZWRGB

0x0040

 

/* TIFF file subtypes (2,3,4,5,6,7-bit) */

 

 

DLG_FS_SUB_TIFFOTHER_UNCOMPRESSED

0x0001

 

DLG_FS_SUB_TIFFOTHER_RLE

0x0002

 

DLG_FS_SUB_TIFFOTHER_LZW

0x0004

 

/* TIFF file subtypes (8-bit) */

 

 

DLG_FS_SUB_TIFF8_UNCOMPRESSEDRGB

0x0001

 

DLG_FS_SUB_TIFF8_RLERGB

0x0002

 

DLG_FS_SUB_TIFF8_JPEG_GRAY_YCC

0x0004

 

DLG_FS_SUB_TIFF8_LOSSLESSJPEG

0x0008

 

DLG_FS_SUB_TIFF8_LZWRGB

0x0010

 

DLG_FS_SUB_TIFF8_JBIG

0x0020

 

DLG_FS_SUB_TIFF8_CMP

0x0040

 

DLG_FS_SUB_TIFF8_J2K

0x0080

 

DLG_FS_SUB_TIFF8_CMW

0x0100

 

/* TIFF file subtypes (12-bit) */

 

 

DLG_FS_SUB_TIFF12_UNCOMPRESSED

0x0001

 

DLG_FS_SUB_TIFF12_RLE

0x0002

 

DLG_FS_SUB_TIFF12_LOSSLESSJPEG

0x0004

 

DLG_FS_SUB_TIFF12_JPEG_GRAY_YCC

0x0008

 

DLG_FS_SUB_TIFF12_LZW

0x0010

 

DLG_FS_SUB_TIFF12_J2K

0x0020

 

DLG_FS_SUB_TIFF12_CMW

0x0040

 

/* TIFF file subtypes (16-bit) */

 

 

DLG_FS_SUB_TIFF16_UNCOMPRESSED

0x0001

 

DLG_FS_SUB_TIFF16_RLE

0x0002

 

DLG_FS_SUB_TIFF16_LOSSLESSJPEG

0x0004

 

DLG_FS_SUB_TIFF16_LZW

0x0008

 

DLG_FS_SUB_TIFF16_J2K

0x0010

 

DLG_FS_SUB_TIFF16_CMW

0x0020

 

/* TIFF file subtypes (24-bit) */

 

 

DLG_FS_SUB_TIFF24_UNCOMPRESSEDRGB

0x0001

 

DLG_FS_SUB_TIFF24_UNCOMPRESSEDCMYK

0x0002

 

DLG_FS_SUB_TIFF24_UNCOMPRESSEDYCC

0x0004

 

DLG_FS_SUB_TIFF24_RLERGB

0x0008

 

DLG_FS_SUB_TIFF24_RLECMYK

0x0010

 

DLG_FS_SUB_TIFF24_RLEYCC

0x0020

 

DLG_FS_SUB_TIFF24_JPEG_YCC_444

0x0040

 

DLG_FS_SUB_TIFF24_JPEG_YCC_422

0x0080

 

DLG_FS_SUB_TIFF24_JPEG_YCC_411

0x0100

 

DLG_FS_SUB_TIFF24_LOSSLESSJPEG

0x0200

 

DLG_FS_SUB_TIFF24_LZWRGB

0x0400

 

DLG_FS_SUB_TIFF24_LZWCMYK

0x0800

 

DLG_FS_SUB_TIFF24_LZWYCC

0x1000

 

DLG_FS_SUB_TIFF24_CMP_NONPROGRESSIVE

0x2000

 

DLG_FS_SUB_TIFF24_CMP_PROGRESSIVE

0x4000

 

DLG_FS_SUB_TIFF24_J2K

0x8000

 

DLG_FS_SUB_TIFF24_CMW

0x0001000

 

/* TIFF file subtypes (32-bit) */

 

 

DLG_FS_SUB_TIFF32_UNCOMPRESSEDRGB

0x0001

 

DLG_FS_SUB_TIFF32_UNCOMPRESSEDCMYK

0x0002

 

DLG_FS_SUB_TIFF32_RLERGB

0x0004

 

DLG_FS_SUB_TIFF32_RLECMYK

0x0008

 

DLG_FS_SUB_TIFF32_LZWRGB

0x0010

 

DLG_FS_SUB_TIFF32_LZWCMYK

0x0020

 

/* TIFF file subtypes (48-bit) */

 

 

DLG_FS_SUB_TIFF48_UNCOMPRESSEDRGB

0x0001

 

DLG_FS_SUB_TIFF48_LZWRGB

0x0002

 

/* TIFF file subtypes (64-bit) */

 

 

DLG_FS_SUB_TIFF64_UNCOMPRESSEDRGB

0x0001

 

DLG_FS_SUB_TIFF64_LZWRGB

0x0002

 

/* BMP file subtypes (4 and 8-bit only) */

 

 

DLG_FS_SUB_BMP_UNCOMPRESSED

0x0001

 

DLG_FS_SUB_BMP_RLECOMPRESSED

0x0002

 

/* WFX file subtypes */

 

 

DLG_FS_SUB_WFX_CCITT_G3_1D

0x0001

 

DLG_FS_SUB_WFX_CCITT_G4

0x0002

 

/* PPM file subtypes */

 

 

DLG_FS_SUB_PPM_ASCII

0x0001

 

DLG_FS_SUB_PPM_BINARY

0x0002

 

/* PGM file subtypes */

 

 

DLG_FS_SUB_PGM_ASCII

0x0001

 

DLG_FS_SUB_PGM_BINARY

0x0002

 

/* PBM file subtypes */

 

 

DLG_FS_SUB_PBM_ASCII

0x0001

 

DLG_FS_SUB_PBM_BINARY

0x0002

 

/* IFF file subtypes */

 

 

/* All BitsPerPixel have subtypes */

 

 

DLG_FS_SUB_IFF_ILBM_RLE

0x0001

 

DLG_FS_SUB_IFF_CAT_RLE

0x0002

 

/* SGI file subtypes */

 

 

DLG_FS_SUB_SGI_UNCOMPRESSED

0x0001

 

DLG_FS_SUB_SGI_RLECOMPRESSED

0x0002

 

/* PDF file subtypes (1bit) */

 

 

DLG_FS_SUB_PDF1_UNCOMPRESSED

0x0001

 

DLG_FS_SUB_PDF1_CCITT_G3_1D

0x0002

 

DLG_FS_SUB_PDF1_CCITT_G3_2D

0x0004

 

DLG_FS_SUB_PDF1_CCITT_G4

0x0008

 

/* PDF file subtypes (8-bit) */

 

 

DLG_FS_SUB_PDF8_UNCOMPRESSED

0x0001

 

DLG_FS_SUB_PDF8_LOSSLESSJPEG

0x0002

 

/* PDF file subtypes (24-bit) */

 

 

DLG_FS_SUB_PDF24_UNCOMPRESSED

0x0001

 

DLG_FS_SUB_PDF24_YUV_444

0x0002

 

DLG_FS_SUB_PDF24_YUV_422

0x0004

 

DLG_FS_SUB_PDF24_YUV_411

0x0008