• 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
Re: Getting list-size (16 x 16) document icon for list
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting list-size (16 x 16) document icon for list


  • Subject: Re: Getting list-size (16 x 16) document icon for list
  • From: Dirk van Oosterbosch <email@hidden>
  • Date: Sun, 17 Apr 2005 16:42:13 +0200

scaling code?
I asume Adam is asking whether NSWorkspace can also retrieve other icon members, the 16x16 member in this case.


I would also be interested in the answer. If you look at NSDocument's behavior as example: it displays the 16x16 pixel member of the icon of its opened file type in the titlebar. Where does it get that from?

dirk



On 16-apr-05, at 19:05, Matt Neuburg wrote:

On Fri, 15 Apr 2005 17:45:58 -0700, adam baker <email@hidden> said:
Hi All

Just a quick question: Is there a method by which one can get a
high-quality list-size (16 x 16) document icon for reproduction in a
list?

the iconForFile method from NSWorkspace retrieves a 32 x 32 icon that
doesn't scale well for use in compact lists. Is there a better option?

Perhaps there is something wrong with your scaling code. I use iconForFile
and scale to 16x16 and it looks great. m.





----------------------------- Dirk van Oosterbosch de Wittenstraat 225 1052 AT Amsterdam the Netherlands

T ++ 31 20 7765565
M ++ 31 6 48401910
W http://labs.ixopusada.com
-----------------------------


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Getting list-size (16 x 16) document icon for list
      • From: Ryan Stevens <email@hidden>
References: 
 >Re: Getting list-size (16 x 16) document icon for list (From: Matt Neuburg <email@hidden>)

  • Prev by Date: changing the highlighting mode
  • Next by Date: Re: Getting list-size (16 x 16) document icon for list
  • Previous by thread: Re: Getting list-size (16 x 16) document icon for list
  • Next by thread: Re: Getting list-size (16 x 16) document icon for list
  • Index(es):
    • Date
    • Thread