• 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
8b color NSBitMapImageReps--no such thing?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

8b color NSBitMapImageReps--no such thing?


  • Subject: 8b color NSBitMapImageReps--no such thing?
  • From: Colin Klipsch <email@hidden>
  • Date: Fri, 14 Jun 2002 21:23:44 -0400

Greetings.

A co-developer and I have been trying to create a custom view class,
descended from NSView, that displays an 8-bit color NSBitMapImageRep --
that is, something much like an 8-bit GWorld under the old MacOS, and with
a color palette. We're about to conclude that this is impossible, at least
under the current MacOS X.1.

We have tried every seemingly sensible combination of arguments to
'initWithBitmapDataPlanes' (method of NSBitMapImageRep), but with no joy.
At runtime, we always get this message in the PB log window:

Inconsistent set of values to create NSBitmapImageRep

We /are/ able to create NSBitMapImageReps of two other types: 8-bit grayscale
and 32-bit RGB. (And, these display as expected, so the NSView subclass is
alright.) It's just 8-bit color BitmapReps that seem unattainable.

Is this in fact the case? Is it something likely to be fixed in the Jaguar
release, or do we have to work around this?

(Apologies if this is in the documentation somewhere, and I missed it.)

-- Colin K.
_______________________________________________
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.

  • Follow-Ups:
    • Re: 8b color NSBitMapImageReps--no such thing?
      • From: "John C. Randolph" <email@hidden>
  • Prev by Date: Re: Hooking NSDocument close
  • Next by Date: Re: Memory Leak?
  • Previous by thread: Re: Quartz over GhostScript
  • Next by thread: Re: 8b color NSBitMapImageReps--no such thing?
  • Index(es):
    • Date
    • Thread