Checks whether color reconstruction metadata is available for the specified image.
Declaration:
Copy Code | |
---|---|
AT_ERRCOUNT ACCUAPI IG_gui_dspl_adjraw_metadata_is_available(
const LPSTR lpszFileName,
LPAT_BOOL isApplicable
);
|
Arguments:
lpszFileName | Name of image file (you may include path with filename) to check. |
isApplicable | The pointer to a variable which will be overwritten with TRUE if color reconstruction metadata is available for this image; FALSE otherwise. |
Return Value:
Returns 0 if successful. Otherwise, returns the number of ImageGear errors that occurred during this function call.Supported Raster Image Formats:
This function does not process image pixels.
Sample:
Filter
Remarks:
The function only supports the DCRAW, Headerless Digital Camera Raw, and DNG formats. It sets "isApplicable" to FALSE for any other formats.
The function checks the presence of the "Common" subtree (IGMDTAG_ID_DCRAW_COMMON) in the image's metadata tree. Custom color adjustment can only be applied to the file image if the "Common" metadata subtree is present. See Reconstructing Camera Raw Images Using Custom Parameters for more details.