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: Ondra Cada <email@hidden>
- Date: Fri, 5 May 2006 20:00:04 +0200
Lawrence,
On 5.5.2006, at 18:55, Lawrence Sanbourne wrote:
I've noticed that Apple Cocoa apps store all their image resources in
TIFF format. I've been using PNG to reduce the time it will take users
to download my application, but I generally like to follow Apple
conventions.
Unless you have lots, and I mean *lots* of images, it would hardly
make any noticeable difference.
Why does Apple use TIFF for their images? Maybe TIFFs are faster to
display because they're uncompressed?
I don't know the PNG format that well, does it--like TIFF--support
all the nice flexibility of having a number of reps in one container,
letting you select uncompressed/nonlossy compression/lossy one, and
so forth, generally all the niceties which go with it being a
*tagged* image format?
Anyroad, TIFF used to be the native bitmap format of the Mac OS X
direct predecessor, so the main reason would be just legacy, along
perhaps with the fact TIFFs are flexible and pretty widely supported
(at least ten years ago *much* better than PNG, does not have to
apply today).
Rather, I have never seen a reason for using ICNS over TIFF: if it
supports any service TIFF does not, I am yet to bump into it.
Well, It boils down to that you can use whatever seems appropriate to
you. Oh, you may consider using a container which supports more reps
with different DPIs, since the scaleable GUI is definitely coming :)
---
Ondra Čada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
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