getting a different kind of TIFF file recognized...
getting a different kind of TIFF file recognized...
- Subject: getting a different kind of TIFF file recognized...
- From: "Michael B. Johnson" <email@hidden>
- Date: Thu, 17 Jan 2002 10:07:47 -0800
So let's say I have a TIFF file that uses a proprietary compression
scheme. I now want to be able to have Cocoa apps (ones that I write) be
able to read these. If it was a completely different format
(.myPicFormat), I think I would just make a new subclass of NSImageRep
and override + (NSArray *)imageUnfilteredFileTypes, but because it's
TIFF, I'm not sure how to proceed.
On a related topic, what if my TIFF file has data that isn't
representable by the current representations. The two obvious examples
would be if my TIFF file had floating point channels (a perfectly valid
TIFF), and/or it had 16 bits/channel (ditto).
Do I subclass NSBitmapRep and extend it? Without the source, that seems
like a bad idea...
I'm hoping what I want to do is possible; even if it's not
straightforward...
- wave