• 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: Which format for image file resources in Cocoa application?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Which format for image file resources in Cocoa application?


  • Subject: Re: Which format for image file resources in Cocoa application?
  • From: Christian Walther <email@hidden>
  • Date: Sun, 14 May 2006 22:30:59 +0200

John Stiles wrote:
I would assume that, much like icons, a framework should typically prefer the smallest image that does not need to be scaled up.

e.g. with icons:
34x34 - 128x128 is scaled down
33x33 - 128x128 is scaled down
32x32 - use the 32x32 native version
31x31 - 32x32 is scaled down
30x30 - 32x32 is scaled down

Is this an observation of current behavior in Cocoa or a wishlist? If it's the former, I'd like to know how you achieved it. My experience with NSImage is that at 31x31, 128x128 is scaled down rather than 32x32, which makes for a suboptimal appearance.


See my unanswered original questions at <http://lists.apple.com/ archives/cocoa-dev/2006/Apr/msg01063.html> and <http:// lists.apple.com/archives/cocoa-dev/2006/Apr/msg01987.html>.

 -Christian
_______________________________________________
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: Which format for image file resources in Cocoa application?
      • From: John Stiles <email@hidden>
References: 
 >Which format for image file resources in Cocoa application? (From: "Lawrence Sanbourne" <email@hidden>)
 >Re: Which format for image file resources in Cocoa application? (From: Ondra Cada <email@hidden>)
 >Re: Which format for image file resources in Cocoa application? (From: John Stiles <email@hidden>)
 >Re: Which format for image file resources in Cocoa application? (From: Ricky Sharp <email@hidden>)
 >Re: Which format for image file resources in Cocoa application? (From: John Stiles <email@hidden>)

  • Prev by Date: Re: how do I save prefs when the app is Force Quit?
  • Next by Date: Re: ATSUI text in an NSView problems
  • Previous by thread: Re: Which format for image file resources in Cocoa application?
  • Next by thread: Re: Which format for image file resources in Cocoa application?
  • Index(es):
    • Date
    • Thread