• 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 a 128x128 icon for a file or file type
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting a 128x128 icon for a file or file type


  • Subject: Re: Getting a 128x128 icon for a file or file type
  • From: Dario Mèndez Musicò <email@hidden>
  • Date: Thu, 15 Dec 2005 14:54:19 +0100

Resizing the NSImage worked for me, I was expecting to see a "ugly" image as a result but instead a nice, 128x128 icon appeared in my application.

I should have some code lying around... I'll post that bit if I manage to get it back.

Il giorno 15/dic/05, alle ore 14:36, Philip Dow ha scritto:

NSWorkspace is kind enough to provide iconForFile: and iconForFileType:. Unfortunately, the images both methods return are 32x32 representations of an icon's file. Is it possible to grab a full-sized 128x128 image for a file or file type?

-Phil
_______________________________________________
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






___________________________________ Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB http://mail.yahoo.it
_______________________________________________
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 a 128x128 icon for a file or file type
      • From: Philip Dow <email@hidden>
References: 
 >Getting a 128x128 icon for a file or file type (From: Philip Dow <email@hidden>)

  • Prev by Date: Re: Creating a nstextfield in a tab,
  • Next by Date: Re: Creating a nstextfield in a tab,
  • Previous by thread: Getting a 128x128 icon for a file or file type
  • Next by thread: Re: Getting a 128x128 icon for a file or file type
  • Index(es):
    • Date
    • Thread