Re: File Icon
Re: File Icon
- Subject: Re: File Icon
- From: Douglas Davidson <email@hidden>
- Date: Tue, 6 Nov 2001 10:24:56 -0800
On Tuesday, November 6, 2001, at 09:48 AM, Chuck Norris wrote:
I would add to Joshua's question "could someone point out a useful
resource that explains exactly how icons are used"? Specifically, I'm
curious about how the various sizes are used in the Finder, as well as
the various NSWorkspace methods.
It looks like the Finder just uses the largest resolution version in my
.icns file and scales it to whatever size is needed. I'm curious if I
put a lot of work into making smaller versions look good if it would
help. Ideally, it would choose the closest resolution available and
scale from that.
I can't speak for the Finder, but I can talk about NSWorkspace. As
someone said, NSWorkspace simply makes an NSImage from the IconRef and
sets the overall image size to 32x32. Most Cocoa code uses the image
obtained in this way, although there may be some that uses IconRefs
directly.
Douglas Davidson