NSLog(@"Number of planes %d", [image numberOfPlanes]);
if([image isPlanar]){
NSLog(@"The image is planar");
}else{
NSLog(@"The image is non planar");
}
//////////////////////////
I find that the image is non planar and has 1 plane. I think that
CGBitmapContext coveres a JPEG format, which is the file that the
image has been instantiated with.
Is there anything else that might cause such a problem?
Thanks,
John
On 28 Feb 2006, at 22:40, Aki Inoue wrote:
John,
Currently the method supports only non-planar NSBitmapImageRep with
formats covered by CGBitmapContext.
Does anyone know under what reasons would this method return nil
if there is no problem with the NSBitmapImageRep?
Thanks
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden