Re: NSBitmapImageRep subclass problem
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