Rank: Member
Groups: Guest
Joined: 7/25/2007(UTC) Posts: 18
Thanks: 1 times
|
I need to look at individual pixels in a CMYK TIF image. I load the image with: Code: Aurigma.GraphicsMill.Bitmap bm;
bm = new Aurigma.GraphicsMill.Bitmap(fileNameBox.Text);
I look at pixels with: Code: Color pix;
pix = bm.GetPixel(i, j);
But the Color class only has RGB members. How can I look at the (unconverted) CMYK values of a pixel? Thanks, Alan Edited by user Tuesday, February 5, 2008 12:11:12 PM(UTC)
| Reason: Not specified
|
|
|
|
Rank: Member
Groups: Guest
Joined: 7/25/2007(UTC) Posts: 18
Thanks: 1 times
|
Never mind -- I found the solution: Use Aurigma.GraphicsMill.CmykColor instead of Color: Code:Aurigma.GraphicsMill.CmykColor pix;
Then convert the value returned from GetPixel (): Code:pix = bm.GetPixel(i, j) as Aurigma.GraphicsMill.CmykColor;
This gives a Color with CMYK values. Edited by user Tuesday, February 5, 2008 12:11:45 PM(UTC)
| Reason: Not specified
|
|
|
|
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.