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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Apply2 profile dont work in 4.01

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
quantuz 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
3   L A T E S T    R E P L I E S    (Newest First)
fab 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?
quantuz 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 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?