|
SaveImage
|
|
| File [in]
|
| The string containing the file name and path
|
| Compression [in]
|
| The file compression ratio
|
| S_OK
|
| Success
|
| E_FAIL
|
| Failure.
|
| E_INVALIDARG
|
| Invalid file name.
|
|
|
| BMP files:
|
| Compression = 0 - no compression
|
| Compression = 1 - RLE compression (not implemented in this version)
|
|
|
| TIFF files:
|
| Compression = 0 - no compression
|
| Compression = 1 - LZW compression
|
| Compression = 2 - PackBits compression
|
| JPEG files:
|
| Compression is an integer value in the range 0-100 specifying the quality of the image. Lower values correspond to a lower quality with a higher compression, while higher values correspond to a higher quality with a lower compression.
|
|
|