Re: bitmapImageRepByConvertingToColorSpace on the fly

2014-03-12 Thread Leonardo
But I need CMYK too. At this point, just to begin, I would need to separate the CMYK profiles from the RGB ones. Should I look at NSColorSpace numberOfColorComponents API? Regards -- Leonardo > Da: Kyle Sluder > Data: Wed, 12 Mar 2014 15:36:22 -0700 > A: Leonardo , > Oggetto: Re

Re: bitmapImageRepByConvertingToColorSpace on the fly

2014-03-12 Thread Kyle Sluder
On Wed, Mar 12, 2014, at 02:13 PM, Leonardo wrote: > Hi, I properly draw an imageRep within a NSView using > > [rep drawInRect:inRect fromRect:fromRect operation:NSCompositeSourceOver > fraction:1.0 respectFlipped:YES hints:nil]; > > Now I would like to simulate the result of adopting a given IC

bitmapImageRepByConvertingToColorSpace on the fly

2014-03-12 Thread Leonardo
Hi, I properly draw an imageRep within a NSView using [rep drawInRect:inRect fromRect:fromRect operation:NSCompositeSourceOver fraction:1.0 respectFlipped:YES hints:nil]; Now I would like to simulate the result of adopting a given ICC color profile. So, if for instance I choose a gray profile I