• 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
NSBitmapImageRep with indexed 8bit source data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSBitmapImageRep with indexed 8bit source data


  • Subject: NSBitmapImageRep with indexed 8bit source data
  • From: Thomas Herzog <email@hidden>
  • Date: Mon, 6 Jan 2003 15:36:13 +0100

I'm trying to implement a custom NSImageRep subclass to load and display .cel image files, which come in multiple variants, from indexed 4-bit colors to 32-bit argb.. I've already successfully implemented handling of 32-bit variants by using NSBitmapImageRep, but how can I create an NSBitmapImageRep with indexed 8-bit source data? (raw 8-bit image file & custom color palette) This was(/is) possible with Carbon using GWorlds and palettes, but how can I load and draw this kind of images in Cocoa? I'm lost...

Thanks in advance for any advice,
Thomas
_______________________________________________
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: NSBitmapImageRep with indexed 8bit source data
      • From: Andrew Platzer <email@hidden>
  • Prev by Date: Re: Quickly drawing non-antialiased, discrete, pixels
  • Next by Date: Re: Ignoring an empty field in the address book (bug?)
  • Previous by thread: Re: Making iTunes-style NSTableView
  • Next by thread: Re: NSBitmapImageRep with indexed 8bit source data
  • Index(es):
    • Date
    • Thread