Re: Which color space?
Re: Which color space?
- Subject: Re: Which color space?
- From: Simon Raisin <email@hidden>
- Date: Mon, 31 May 2010 07:06:43 -0400
Thank you so much for the responses guys. This is the reason I was
confused:
NSDeviceWhiteColorSpace
Device-dependent color space with white *and alpha components* (pure white
is 1.0)
Available in Mac OS X v10.0 and later.
I thought that NSDeviceWhiteColorSpace had BOTH a white and alpha channel.
I hate it when the docs are incorrect.
And I copied that method call from an Apple sample... I'll remove the
extraneous casts. :)
Thanks again,
Simon
On Sun, May 30, 2010 at 10:08 PM, Seth Willits <email@hidden> wrote:
> On May 29, 2010, at 7:09 AM, Simon Raisin wrote:
>
> > I would like to create an 8-bit grayscale image but I cannot find a color
> > space that uses only 1 8-bit value per pixel. Everything seems to either
> be
> > RGB, RGBA, or one color *plus* an alpha channel.
>
>
> NSCalibratedWhiteColorSpace / NSDeviceWhiteColorSpace
>
>
> --
> Seth Willits
>
>
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden