LEADBITMAPSAVE
typedef struct tagLEADBITMAPSAVE
{
L_UINT uStructSize;
L_TCHAR Name[L_MAXPATH];
L_INT Format;
L_INT QFactor;
L_INT BitsPerPixel;
pSAVEFILEOPTION pOptions;
} LEADBITMAPSAVE, L_FAR * pLEADBITMAPSAVE;
The LEADBITMAPSAVE structure provides information in the L_BM_SAVE message.
Member |
Description |
uStructSize |
Size of this structure in bytes, for versioning. Use the sizeof() macro to calculate this value. |
Name |
An array of length L_MAXPATH that holds the full path and name of the file to save. |
Format |
The format of the file to save. For valid values, refer to Formats of Output Files. |
QFactor |
The Q factor to be used if the image is saved as a compressed file. The value can range from 2 to 255 for any of the LEAD, JTIF, or JFIF compression types. For additional valid values, refer to Compression Quality Factors. |
BitsPerPixel |
Number of bits per pixel. For valid values, refer to Formats of Output Files. |
pOptions |
Pointer to optional save options. |
Comments
pLEADBITMAPSAVE is a pointer to a LEADBITMAPSAVE structure. Where the message parameter type is pLEADBITMAPSAVE, you can declare a LEADBITMAPSAVE variable, update the structure's fields, and pass the variable's address in the parameter. Declaring a pLEADBITMAPSAVE variable is necessary only if your program requires a pointer.