Cocoa unable to display planar NSBitmapImageReps?
Cocoa unable to display planar NSBitmapImageReps?
- Subject: Cocoa unable to display planar NSBitmapImageReps?
- From: Drew Cunningham <email@hidden>
- Date: Fri, 22 Feb 2002 15:18:15 -0500
I created a planar bitmap using
myBitmapImageRep = [[NSBitmapImageRep alloc] initWithBitmapDataPlanes:
pixelsWide: pixelsHigh: bitsPerSample: samplesPerPixel: hasAlpha: isPlanar:
colorSpaceName: bytesPerRow: bitsPerPixel:];
myImage = [NSImage alloc];
[myImage addRepresentation: myBitmapImageRep];
but the image will not display in the view (using code that is known to
display non-planar images). Does Cocoa not support drawing planar images
yet? Or is it something on my part?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.