L_GenerateICCPointer

Summary

Generates a block of memory that contains all the ICC profile data in big Endian format.

Syntax

#include "ltkrn.h"
#include "ltclr.h"

L_LTCLR_API L_INT L_GenerateICCPointer(pICCProfile)

Parameters

pICCPROFILEEXT pICCProfile

Pointer to the ICCPROFILEEXT structure that will be used to generate the pointer.

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

The block of memory generated by this function can be accessed through the pData field inside the ICCPROFILEEXT structure. Its size is stored in the uDataSize field of the same structure.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Example

This function will generate an ICC profile pointer.

L_INT GenerateICCPointerExample(pICCPROFILEEXT pICCProfile)  
{ 
   L_INT nRet; 
 
   nRet = L_GenerateICCPointer(pICCProfile); 
   if(nRet != SUCCESS) 
      return nRet; 
 
   return SUCCESS; 
} 

Help Version 22.0.2023.2.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Color Conversion C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.