ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Apply2 profile dont work in 4.01
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

quantuz

Sweden
55 Posts

Posted - Nov 19 2011 :  03:45:16  Show Profile  Reply
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  Show Profile  Reply
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?
Go to Top of Page

quantuz

Sweden
55 Posts

Posted - Nov 20 2011 :  16:19:05  Show Profile  Reply
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
Go to Top of Page

fab

1310 Posts

Posted - Nov 21 2011 :  01:05:25  Show Profile  Reply
Maybe a problem loading ICC profile from the jpeg/tiff. In the meantime you could send me a sample file?
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: