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 <sli...@araelium.com> 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 (Cocoa-dev@lists.apple.com)
>
> 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:
> http://lists.apple.com/mailman/options/cocoa-dev/catxtwo%40gmail.com
>
> This email sent to catx...@gmail.com
>
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to