On Oct 12, 2006, at 08:49 AM, Dominik Westner wrote:
I need to do some manual color space translation in case the image
I think what you have should be sufficient then.
My understanding is that if I have an RGB image with an alpha
channel (RGBA or ARGB) that CGColorSpaceGetNumberOfComponents will
return 4 and not 3. But that was just an assumption.
Recall you can use the same color space with multiple images/bitmaps,
some with alpha and some without. If the color space knew about
alphas too, then this would require them to modified whenever they
are used with an image or bitmap context that used a different alpha
variant than the color space knew about. This isn't the case however,
all such contexts share the color space directly without modification.
Reality is what, when you stop believing in it, doesn't go away.
Failure is not an option. It is a privilege reserved for those who try.
Do not post admin requests to the list. They will be ignored.
Quartz-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden