• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Which color space?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Stealing settings from Mail.app
  • Next by Date: Reduce the size of an NSImage
  • Previous by thread: Re: Monster memory leak and I can't figure out why
  • Next by thread: Re: Which color space?
  • Index(es):
    • Date
    • Thread