• 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
getting a different kind of TIFF file recognized...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: getting a different kind of TIFF file recognized...
      • From: "John C. Randolph" <email@hidden>
  • Prev by Date: Re: Help with building Quesa for Cocoa
  • Next by Date: Re: Draggable NSImage of custom NSView ???
  • Previous by thread: Re: NSWorkspace File System Methods
  • Next by thread: Re: getting a different kind of TIFF file recognized...
  • Index(es):
    • Date
    • Thread