• 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
rendering 256 color image in NSBitmapImageRep
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

rendering 256 color image in NSBitmapImageRep


  • Subject: rendering 256 color image in NSBitmapImageRep
  • From: Bill So <email@hidden>
  • Date: Fri, 31 Jan 2003 15:49:20 +0800

Dear all,

I'm trying to render a 256-color image from raw data bit.

What arguments should be passed to initWithBitmapDataPlanes? In particular, I'd like to know what should be passed to "colorNameSpace".

I tried NSCustomColorSpace but I got error in runtime. The error is - 2003-01-31 15:43:27.061 LearnNSImage[968] Bad colorspace name NSCustomColorSpace

Thank you very much for your help.

Many thanks,
Bill
_______________________________________________
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: Interprocess communication on Mac OS X
  • Next by Date: Re: Can font's be packaged in an app bundle?
  • Previous by thread: NSImage lazy initialization
  • Next by thread: Subclassing a NSTextView
  • Index(es):
    • Date
    • Thread