Available in LEADTOOLS Imaging Pro, Vector, Document, and Medical Imaging toolkits. |
There are four options for loading the image, unchanged, color transforms only, view transforms only and all transforms. If you elect to load the image unchanged, you must make sure both the EFO_IGNOREVIEWTRANSFORMS and the EFO_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 EFO_IGNOREVIEWTRANSFORMS flag, and clear the EFO_IGNORECOLORTRANSFORMS flag. To load the image with only the effects of the viewing transforms incorporated, you must set the EFO_IGNORECOLORTRANSFORMS flag and clear the EFO_IGNOREVIEWTRANSFORMS flag. Finally, to load the image with both the color transforms and the view transforms incorporated, clear both the EFO_IGNOREVIEWTRANSFORMS and the EFO_IGNORECOLORTRANSFORMS flags. Examples of all four of these options are available in "Example" under LFile::LoadFile. For more information on transforms in general, refer to FILETRANSFORMS.