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: "Lawrence Sanbourne" <email@hidden>
- Date: Fri, 5 May 2006 14:50:12 -0500
On 5/5/06, Jordan Krushen <email@hidden> wrote:
On 5/5/06, j o a r <email@hidden> wrote:
> On 5 maj 2006, at 18.55, Lawrence Sanbourne wrote:
> > Why does Apple use TIFF for their images?
>
> Personally, I also prefer to not use lossy compression for regular
> user interface image resources. I don't think it makes sense to
> introduce compression artefacts, regardless of how small, in these
> cases.
Last I checked, PNGs were lossless (at least by default, anyway).
> > Maybe TIFFs are faster to display because they're uncompressed?
>
> While that might be true, I rarely think the difference would matter
> at all.
Exactly, so the only real difference between PNG and TIFF would be the
speed-for-space tradeoff, but artifacting shouldn't happen if the PNGs
are made properly.
OK, I'm making my PNGs using Photoshop's Save for Web feature, which I
don't think introduces any loss. I'll assume that Apple went for TIFF
for display speed or historical reasons, and if the difference in
speed is indeed negligible, I'll keep my PNGs to reduce download time
for this application. (I don't have multiple versions of images at
different resolutions or anything like that.)
Thanks for all the input, everyone! Basically, I get worried if I do
something differently from the way Apple did it, so that's why I
emailed the list.
Larry
_______________________________________________
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