• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Cocoa unable to display planar NSBitmapImageReps?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
  • Prev by Date: Re: variable arguments in ObjC
  • Next by Date: Re: regex in strings
  • Previous by thread: mac os x v10.1.3 retail CD and dev. tools?
  • Next by thread: seconds into hours ?
  • Index(es):
    • Date
    • Thread