ACApplyTransform
AC_Error ACApplyTransform(AC_Transform transform, const void *srcData, void *dstData, ASUns32 count, AC_PackingCode srcPacking, AC_PackingCode dstPacking)Applies a color conversion or gamut test transformation. It processes the number of colors specified by count , using the memory formats for the source and destination data specified in srcPacking and dstPacking . The source data and destination data can point to the same block of memory if the source and destination packing formats use the same number of bits per color.
Parameters
transform: AC_TransformThe color conversion or tranformation to apply.
srcData: const void *The source data to tranform.
dstData: void *The destination for the transformed data.
count: ASUns32The number of colors to transform.
srcPacking: AC_PackingCodeThe packing type used in the source data.
dstPacking: AC_PackingCodeThe packing type to use in the destination data.
Returns
0 if successful, a non-zero error code otherwise.