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
 How to convet bitmap to other color profile

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
ohadnet Posted - Apr 15 2015 : 09:43:08

I need to replace/convert RGB channels to CMYK channels respectively ,
How can it be done..

I need a working example

Many thanks

Ohad

function ConvertBitmap(Bitmap: TIEBaseBitmap; DestPixelFormat: TIEPixelFormat; DestProfile: TIEICC): boolean;


Description

Transforms the same bitmap from current profile to the destination profile.
Returns False if it cannot perform the transformation.
1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Apr 21 2015 : 04:02:12
Hi Ohad

To convert from RGB to CMYK you need only call:

ImageEnView.IEBitmap.PixelFormat := ieCMYK;

Notes:
- When setting PixelFormat directly, ImageEn uses sRGB ICC profile to convert from RGB to CMYK.
- ImageEnView.LegacyBitmap must be False.


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com