Rank: Member
Groups: Guest
Joined: 7/25/2007(UTC) Posts: 18
Thanks: 1 times
|
Hi,
I'm using Graphics Mill to save the Black channel of a CMYK bitmap:
Aurigma.GraphicsMill.Bitmap next = ...
...
Aurigma.GraphicsMill.ChannelsProvider cp = next.Channels; cp [Aurigma.GraphicsMill.ColorChannel.Black].Save (fileName, Util.LzwEncoding);
It works, but it's taking a long time. Is there a faster way to do this?
Thanks, Alan
|
|
|
|
Rank: Member
Groups: Guest
Joined: 7/25/2007(UTC) Posts: 18
Thanks: 1 times
|
P.S. It looks like the method ChannelsProvider.get__Channel (int channelIndex) is taking the most time.
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 3/9/2008(UTC) Posts: 554
Was thanked: 1 time(s) in 1 post(s)
|
Hello Alan,
You are right, this process takes a long time. Unfortunately, it cannot work faster because of peculiarity of realization. Graphics Mill creates a temp bitmap and copies value of black channel pixel by pixel to the temp bitmap. That is why it takes a long time.
By the way, if you need to copy several channels, you can do it using the same algorithm but each time you need to copy all necessary channels and save them in different temp files.
|
|
|
|
|
Rank: Member
Groups: Guest
Joined: 7/25/2007(UTC) Posts: 18
Thanks: 1 times
|
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.