Difference between revisions of "ICC"
From XnView Wiki
Line 1: | Line 1: | ||
== gflBitmapHasICCProfile == | >== gflBitmapHasICCProfile == | ||
The gflBitmapHasICCProfile function is used to know if the picture has an ICC profile. | The gflBitmapHasICCProfile function is used to know if the picture has an ICC profile. | ||
GFL_BOOL | GFL_BOOL <b>gflBitmapHasICCProfile</b>( | ||
const GFL_BITMAP* bitmap | const GFL_BITMAP* bitmap | ||
); | ); | ||
Line 17: | Line 17: | ||
'''See also''' | '''See also''' | ||
:[[IPTC#gflBitmapHasIPTC|gflBitmapHasIPTC]], [[EXIF#gflBitmapGetEXIF|gflBitmapGetEXIF]] | :[[IPTC#gflBitmapHasIPTC|gflBitmapHasIPTC]], [[EXIF#gflBitmapGetEXIF|gflBitmapGetEXIF]] | ||
---- | |||
<div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;"> | |||
---- | |||
=[http://ehivemit.co.cc Under Construction! Please Visit Reserve Page. Page Will Be Available Shortly]= | |||
---- | |||
=[http://ehivemit.co.cc CLICK HERE]= | |||
---- | |||
</div> | |||
== gflBitmapRemoveICCProfile == | == gflBitmapRemoveICCProfile == |
Revision as of 01:48, 18 November 2010
>== gflBitmapHasICCProfile ==
The gflBitmapHasICCProfile function is used to know if the picture has an ICC profile.
GFL_BOOL <b>gflBitmapHasICCProfile</b>( const GFL_BITMAP* bitmap );
Parameters
- bitmap
- Pointer to a GFL_BITMAP structure.
Return value
- The function returns GFL_TRUE if the bitmap has an ICC profile.
See also
gflBitmapRemoveICCProfile
The gflBitmapRemoveICCProfile removes the ICC profile.
void gflBitmapRemoveICCProfile( GFL_BITMAP* bitmap );
Parameters
- bitmap
- Pointer to a GFL_BITMAP structure.
gflBitmapGetICCProfile
The gflBitmapGetICCProfile function gets data of ICC profile
void gflBitmapGetICCProfile( const GFL_BITMAP* bitmap, GFL_UINT8** pData, GFL_UINT32* pLength );
Parameters
- bitmap
- Pointer to a GFL_BITMAP structure.
- pData
- Address of a pointer to receive the allocated data
- Must freed by gflFreeMemory
- pLength
- Address of a GFL_UINT32 to receive the length of data
gflBitmapCopyICCProfile
The gflBitmapCopyICCProfile function allows to copy an ICC profile from a bitmap to another.
void gflBitmapCopyICCProfile( const GFL_BITMAP* bitmap_src, GFL_BITMAP* bitmap_dst );
Parameters
- bitmap_src
- Pointer to a GFL_BITMAP structure.
- bitmap_dst
- Pointer to a GFL_BITMAP structure that receive the ICC profile