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?
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.
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