> > You can do this by assigning the TIFF a new profile (the destination
> > profile)
> > CGImageCreateCopyWithColorSpace is meant for that.
>
>
> Finally got a chance to sit down and try this, and I now realize I was
> asking the wrong question since I'm not seeing any way to even obtain
> the destination color space from a CGContextRef. It seems as though
> someone else asked a similar question last year and was told that
> there was no way to do it:
>
> http://lists.apple.com/archives/Quartz-dev/2007/May/msg00007.html
>
> Has this changed in any way since then or do I have to cross reference
> the ColorSync device list with the current graphics context somehow
> and try to dig up the destination profile myself?
In fact I'm not sure on how to handle the sentence that "PDF context
has no colorspace". This is true because PDF contexts can embed for
example multiple images with each image having a different color
space.
As far as I remember for your problem, you're using that for your own
purpose (debugging) ? so you can find the colorspace associated to
your printer in the colorsync profile utility, with its path beside it
(or dig it from the device list like you said, but maybe manually
should be enough ?)
Raphael
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartz-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartz-dev/email@hidden
This email sent to email@hidden