Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Which color space?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Which color space?



Thank you for your response David.  As I hinted at in my original email, I *have* looked at the docs/headers, but everything seems to have an alpha channel.  I'd like to create a simple grayscale image that does *not* contain an alpha channel.

Does anyone know how to create a simple grayscale image - 8 bits per pixel?

Thanks!
Simon

On Sun, May 30, 2010 at 10:52 AM, David Duncan <email@hidden> wrote:
On May 30, 2010, at 3:18 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.

The acceptable color space names are listed in the docs with the API you listed. Depending on the sense of your pixels and your needs you want one of the White or Black color spaces.

--

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.


David Duncan



 _______________________________________________
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

References: 
 >Which color space? (From: Simon Raisin <email@hidden>)
 >Re: Which color space? (From: David Duncan <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.