• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Color separations?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Color separations?


  • Subject: Re: Color separations?
  • From: Marco Binder <email@hidden>
  • Date: Sun, 29 Sep 2002 15:15:53 +0200

Am Samstag, 28.09.02 um 22:10 Uhr schrieb Mike Davis:

Anyone know how to draw a NSView in a particular process color?

I looked on cocadev.mamasam.com and came up with a blank.


you want to have a color separated representation for an NSView? I4m not sure if I can help, but if I understand you right, you might want to make the view into an NSImage or NSImageRep- look into NSViews - (void)writePDFInsideRect:(NSRect)aRect toPasteboard:(NSPasteboard *)pboard method or into NSWindows appropriate method (which gives you an NSData object you can use directly to create an NSImage).

Then you should have a look at Apple4s example on color separation of an NSImage (on the ADC website). They use a nice trick to separate RGB without having to deal with under-the-hood bitmap data manipulations.

Never tried it, but that4s how i would.

marco

PS: If you want to get REAL color separation for proofing or stuff, that is in CMYK, then I dont think you can use Cocoa for that. You would have to get the bitmap image data and convert the RGB values manually into the CMYK color-space. There might be some framework for that, I just don4t know.


--
|\ /| E-Mail: email@hidden WWW: www.marco-binder.de
| \/ | Telefon: 07531 / 94 19 94 Fax: 07531 / 94 19 92
| |ARCO Snail-Mail: Banater Str. 3 - 78467 Konstanz
BINDER _____________________________________________________
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Color separations? (From: Mike Davis <email@hidden>)

  • Prev by Date: Re: Color separations?
  • Next by Date: Basic Internet Connector...
  • Previous by thread: Re: Color separations?
  • Next by thread: embedding frameworks with plugins
  • Index(es):
    • Date
    • Thread