| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On Jun 1, 2007, at 7:19 AM, Felipe Monteiro de Carvalho wrote:
I am trying to use CGBitmapContextCreate to create a context for a raw image, but I get this error message:
CGBitmapContextCreate: unsupported parameter combination: 8 integer bits/component; 32 bits/pixel; 3-component colorspace; kCGImageAlphaFirst.
Here is how I create my color space
...
FContext := CGBitmapContextCreate(FBits, NewWidth, NewHeight, 8, Stride, FColorSpace, kCGImageAlphaFirst or kCGBitmapByteOrder32Little);
...
Any ideas about what is wrong? i looked at CGBitmapContextCreate's docs here, but they say that it supports 32-bits images with 8 bits per channel:
http://developer.apple.com/documentation/GraphicsImaging/Reference/ CGImage/Reference/reference.html#//apple_ref/doc/c_ref/CGBitmapInfo
steve
_______________________________________________ Do not post admin requests to the list. They will be ignored. Carbon-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/carbon-dev/email@hidden
| References: | |
| >Re: Unsupported format for CGBitmapContextCreate (From: "Felipe Monteiro de Carvalho" <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.