FlashPix Transforms Options (original) (raw)
There are four options for loading a FlashPix image:
- Unchanged
- Color transforms only
- View transforms only
- All transforms
If you elect to load the image unchanged, you must make sure both the ELO_IGNOREVIEWTRANSFORMS and the ELO_IGNORECOLORTRANSFORMS flags have been set in the Flags data member of LOADFILEOPTION structure before loading the file.(Note: By setting these flags you are telling the system to ignore the transforms.) To load the image with only the effects of the color transforms incorporated, you must set the ELO_IGNOREVIEWTRANSFORMS flag, and clear the ELO_IGNORECOLORTRANSFORMS flag. To load the image with only the effects of the viewing transforms incorporated, you must set the ELO_IGNORECOLORTRANSFORMS flag and clear the ELO_IGNOREVIEWTRANSFORMS flag. Finally, to load the image with both the color transforms and the view transforms incorporated, clear both the ELO_IGNOREVIEWTRANSFORMS and the ELO_IGNORECOLORTRANSFORMS flags. Examples of all four of these options are available in "Example" under L_LoadFile. For more information on transforms in general, refer to FILETRANSFORMS.
See Also
Implementing PhotoCD and FlashPix Features
Kodak Photo CD and FlashPix Formats (PCD and FPX)
Implementing Extended FlashPix Support
LEADTOOLS Raster Imaging C API Help