Author |
Topic  |
|
quantuz
 
Sweden
55 Posts |
Posted - Nov 19 2011 : 03:45:16
|
Hi!
We upgraded from 3.11 to 4.01 and the Apply2() dont work any more, color profile is not applied, what have changed? We have updated the ie.inc and removed the "." on the line below and rebuilt the packages // Includes Color Management System (LCMS) - default disabled {$define IEINCLUDECMS} our code... TIEBitmap * srcIEBM = new TIEBitmap(); srcIEBM->EncapsulateTBitmap(srcTBitmap,false);
bool result = srcProfile->iEProfile_->Apply2(srcIEBM, TYPE_BGR_8, TYPE_BGR_8, dstProfile->iEProfile_, 0,0 );
delete srcIEBM; srcProfile->iEProfile_->FreeTransform(); ...
Best Regards, //Christer Strandh |
|
fab
   
1310 Posts |
Posted - Nov 20 2011 : 00:02:16
|
Hi, nothing has changed in Apply2 (and in general in TIEICC class). It may be that the ICC profile was not loaded? Could you send a full (compilable) example with a test image? |
 |
|
quantuz
 
Sweden
55 Posts |
Posted - Nov 20 2011 : 16:19:05
|
Hi!
OK I will try to fix an example code. But our code has not changed at all, just by going back to 3.11 make things work again so the problem is in the package install or somewhere in your source.
Regards, //Christer |
 |
|
fab
   
1310 Posts |
Posted - Nov 21 2011 : 01:05:25
|
Maybe a problem loading ICC profile from the jpeg/tiff. In the meantime you could send me a sample file? |
 |
|
|
Topic  |
|
|
|