Re: Which format for image file resources in Cocoa application?
Re: Which format for image file resources in Cocoa application?
- Subject: Re: Which format for image file resources in Cocoa application?
- From: John Stiles <email@hidden>
- Date: Fri, 5 May 2006 15:29:06 -0700
On May 5, 2006, at 3:12 PM, Ricky Sharp wrote:
However, things like image views would probably want to render the
highest-res image by default. Perhaps APIs could be added (to
NSImage?) that could provide a hint of what specific res to use
should the developer need more control.
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
etc. This lets you provide "hinting" in the low-res bitmap, so
important lines don't blur out of existence at small sizes, without
needing to be huge and chunky at the large sizes.
_______________________________________________
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