Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 16 bit integer per colour bitmap graphics context



On May 12, 2005, at 2:07 PM, Martin Greenwood wrote:

This article suggests that 16bit per colour (b48r or b64a) images are supported by Quartz 2D.


Yes, images with 16 bits/component are supported.

Whereas Table 2.1 here suggests that 8bit is the largest size for a colour.

Also true: a bitmap context is not the same thing as an image.


When I try to create a bitmap graphics context the following happens..

CGBitmapContextCreate: unsupported parameter combination: 16 integer bits/component; 48 bits/pixel; 3-component colorspace; kCGImageAlphaNone.
or
CGBitmapContextCreate: unsupported parameter combination: 16 integer bits/component; 64 bits/pixel; 3-component colorspace; kCGImageAlphaPremultipliedLast.

Can I use Quartz to draw into b48r or b64a bitmaps?

No, you cannot.  There's no support for > 8 bits/component (integer) bitmap contexts.

Derek

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartz-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartz-dev/email@hidden

This email sent to email@hidden

References: 
 >16 bit integer per colour bitmap graphics context (From: Martin Greenwood <email@hidden>)



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.