I think NSImageRep's +imageRepClassForFileType: might help.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/U
I seem to remember having seem some code that checked with a one-liner
whether a file path is an image that could be loaded by NSImage's
initWithContentsOfFile:, before actually going ahead and doing the
initWithContentsOfFile:
Now, I can't remember that one-liner, and I don't see why I cou