LICCProfile::DeleteTag
#include "ltwrappr.h"
L_INT LICCProfile::DeleteTag(uTagSig, pTag);
L_UINT32 uTagSig; |
/* tag signature */ |
L_UCHAR * pTag; |
/* pointer to a buffer of data */ |
Deletes a tag from the ICC profile.
Parameter |
Description |
uTagSig |
A value that indicates the signature of the tag to delete from the ICC profile. For all possible values including the private tag types, refer to ICCTAGSIGNATURE. |
pTag |
Pointer to a buffer to be updated with the deleted tag. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Comments
This function deletes the desired tag from the ICC profile. Before deleting it however, it makes a copy of the tag, and updates the pTag parameter with a pointer to the copy.
Required DLLs and Libraries
LTCLR LTFIL For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
See Also
Example
/* This function deletes a tag from an ICC profile */
L_VOID TestDeleteTag(LICCProfile* pICCProfile, L_UINT32 uTagSig, L_UCHAR * pTagData)
{
pICCProfile->DeleteTag(uTagSig, pTagData);
}