Hello,
I'm wondering how I can retrieve the ICCProfile from PDEICCBasedColorData structure and read it. Currently I do this :
ASStm asStm = pdeColorSpaceStruct.icc->iccstream;
ASTCount asBytesRead = 0;
char pBuffer[9999];
asBytesRead = ASStmRead(pBuffer,1,9999,asStm); // Note that the buffer is large enough in my case
AC_Profile acProfile;ACMakeBufferProfile(&acProfile, asStm, asBytesRead);
But I have nothing in the acProfile. What's wrong? Maybe this is not the easier way to retrieve Color Profile...
Thanks in advance,
Joe