On Feb 20, 2006, at 9:46 PM, Dave Crist wrote:
Are you having to open the TIFF with your own code?
It should be easier than that! Using the built in openAsPicture()
method in RB I am able to open TIFFs with no problem (I believe
that Quicktime might have to be installed on Windows???) . Getting
CMYK data is as simple as getting a Pixel color value and then
asking the color for its C,M, or Y value (as well R, G, B, H, S, &
V, too)
White would be all of those values equal to 1, Black would be all
of those values equal to 0.
This would open the TIFF as RGB and destroy all CMYK data. CMY and
CMYK are *not* the same thing, and the only way to retain CMYK data
is to have separate channels for Cyan, Magenta, Yellow and Black.
In CMYK, black and grey tones can be expressed in a number of
combinations. For example, 50% gray could be expressed as just 50%
Black, or it could be a combination of all four colors. There is
also something called "Rich Black" which produces a black color that
is darker than regular black ink. It is made up of 100% black and
values less than 60% for the other three colors (CMY). For more
information on why this is important:
http://marvin.mrtoads.com/richblack_vs_plainblack.html
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>