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
 TIEBitmap.ChannelCount ?
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

klausdoege

Germany
389 Posts

Posted - Oct 24 2011 :  10:36:53  Show Profile  Reply
Hello Fabrizio,
it is possibly to be generated several canals like in Photoshop.
Or is TIEBitmap.ChannelCount restricted to 3 canals


Klaus

fab

1310 Posts

Posted - Oct 24 2011 :  11:11:27  Show Profile  Reply
Hello Klaus,
extra channels aren't supported. ChannelCount can be only 1 (bw or gray scale), 3 (RGB, CIELab, etc..) or 4 (CMYK).
Alpha channel is handled as separated object (except for the BGRA special case).
Go to Top of Page

klausdoege

Germany
389 Posts

Posted - Oct 25 2011 :  05:54:01  Show Profile  Reply
Hello Fabrizio,
thank you for the info, I had feared it.
Have an idea you as I could work temporarily during the treatment with 2 additional canals.

Klaus
Go to Top of Page

fab

1310 Posts

Posted - Oct 25 2011 :  10:08:50  Show Profile  Reply
Klaus,
please let me know the meaning of the two additional channels.
Go to Top of Page

klausdoege

Germany
389 Posts

Posted - Oct 29 2011 :  10:06:14  Show Profile  Reply
Hello Fabrizio,
I would like for example: the red canal in a separated canal processes.
And it afterwards with the green or blue canal joins, the red canal should get in the original however remains.

Klaus
Go to Top of Page

fab

1310 Posts

Posted - Nov 01 2011 :  00:27:25  Show Profile  Reply
At the moment it is only possible to extract a channel. For example:
blue := ImageEnView1.Proc.GetRGBChannel(0);
green := ImageEnView1.Proc.GetRGBChannel(1);
red := ImageEnView1.Proc.GetRGBChannel(2);

blue, green and red are gray scale TIEBitmap objects.

Waiting for a future SetRGBChannel method you can re-insert an extracted channel with a simple loop.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: