• 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
Re: NSBitmapImageRep subclass problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSBitmapImageRep subclass problem


  • Subject: Re: NSBitmapImageRep subclass problem
  • From: Daniel Vollmer <email@hidden>
  • Date: Sun, 9 Apr 2006 00:58:18 +0200


On 07.04.2006, at 20:03, Alan Hart wrote:

However, I'd really prefer to do it using a PCXImageRep class, defined and registered as a subclass of NSBitMapImageRep, since it seems that's the way the Cocoa image architecture ought to work. Then it would be available to read a .pcx file anywhere in my app, and it would be more reusable elsewhere.

I am not quite sure what the preferred way would be. For example PNG, JPG, and most other bitmap types all return an NSBitmapImageRep. So wouldn't the "proper" way to implement PCX loading be a filter service (see for example the IFF sample code)?


	Daniel.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSBitmapImageRep subclass problem
      • From: Alan Hart <email@hidden>
References: 
 >NSBitmapImageRep subclass problem (From: Alan Hart <email@hidden>)

  • Prev by Date: Re: NSArrayController - limiting number of values
  • Next by Date: Re: Function definitions
  • Previous by thread: Re: NSBitmapImageRep subclass problem (SOLVED)
  • Next by thread: Re: NSBitmapImageRep subclass problem
  • Index(es):
    • Date
    • Thread