Re: -[NSImage TIFFRepresentation] failing on the multiple files icon?
Re: -[NSImage TIFFRepresentation] failing on the multiple files icon?
- Subject: Re: -[NSImage TIFFRepresentation] failing on the multiple files icon?
- From: Peter Ammon <email@hidden>
- Date: Thu, 6 Dec 2007 16:14:19 -0800
On Dec 6, 2007, at 1:53 PM, Nick Zitzmann wrote:
When I call -[NSWorkspace iconForFiles:] with multiple files, it
returns an NSImage for the "multiple files" icon. But when I call -
TIFFRepresentation on the result, the following appears in the
console log:
---
PredictorSetup: Horizontal differencing "Predictor" not supported
with 4-bit samples.
---
The result of calling -TIFFRepresentation is nil.
What does the above error mean? How can I get a TIFF representation
of the multiple files icon?
Nick Zitzmann
<http://www.chronosnet.com/>
This looks like a bug. Thanks for bringing this to our attention.
That said, the image for iconForFiles: is rather archaic. Look for
the NSMultipleFiles.tiff image in the resources directory in
AppKit.framework.
-Peter
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden