Previous Next


                                           278
CHAPTER 4                                                                          Graphics



Example 4.15 shows the recommended convention for dealing with situations
where a spot colorant and a process color component have the same name. Since
the names array may not have duplicate names, the process colors should be given
different names, which are mapped to process components in the Components
entry of the process dictionary. In this case, Red refers to a spot colorant;
ProcessRed, ProcessGreen, and ProcessBlue are mapped to the components of an
RGB color space.

Example 4.15

  10 0 obj                                                 % Color space
     [ /DeviceN
         [/ProcessRed /ProcessGreen /ProcessBlue /Red]
         alternateSpace
         tintTransform1
         <<                                                   % Attributes dictionary
             /Subtype /NChannel
             /Process
                << /ColorSpace [ /ICCBased RGB_ICC profile ]
                    /Components [/ProcessRed /ProcessGreen /ProcessBlue]
                >>
             /Colorants
                << /Red [/Separation /Red alternateSpace tintTransform2 ] >>
         >>
     ]

Example 4.16 shows the use of a mixing hints dictionary.

Example 4.16

  10 0 obj                                                % Color space
     [/DeviceN
        [/Magenta /Spot1 /Yellow /Spot2]
        alternateSpace
        tintTransform1
        <<
            /Subtype /NChannel
            /Process
               << /ColorSpace [ /ICCBased CMYK_ICC profile ]
                   /Components [/Cyan /Magenta /Yellow /Black]
               >>
            /Colorants
               << /Spot1 [/Separation /Spot1 alternateSpace tintTransform2 ]
                   /Spot2 [/Separation /Spot2 alternateSpace tintTransform2 ]

Previous Next