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
 Load CMYK TIFF
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

hwook

Poland
2 Posts

Posted - Oct 03 2011 :  04:36:30  Show Profile  Reply
How I can load CMYK TIFF file?

fab

1310 Posts

Posted - Oct 03 2011 :  04:43:11  Show Profile  Reply
If the file is a standard TIFF-CMYK file, just execute:
ImageEnView.IO.LoadFromFile('input.tif');  // for a page at the time

or
ImageEnMView.MIO.LoadFromFile('input.tif'); // to load all pages


If you want to apply the ICC color profile (if exists) set:
iegEnableCMS := true;   // defined in imageenio unit


Finally if you want to leave the original CMYK pixels (instead of converting them to RGB 24) set:
ImageEnView.IO.NativePixelFormat := true;
ImageEnView.LegacyBitmap := false;

All properties must be set before loading.
Go to Top of Page

hwook

Poland
2 Posts

Posted - Oct 04 2011 :  03:10:27  Show Profile  Reply
ImageEnView.IO.NativePixelFormat := true; //Yes, it's OK

Thanks fabrizio
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: