Re: .jpg to .icns?
Re: .jpg to .icns?
- Subject: Re: .jpg to .icns?
- From: Steve Christensen <email@hidden>
- Date: Thu, 26 Jun 2008 12:16:57 -0700
On Jun 26, 2008, at 11:49 AM, J. Todd Slack wrote: I have a logo that is a .jpg. Do I have to convert it to a .icns to be used as the app icon?
I believe the answer is yes. It looks like I might. I have:
<key>CFBundleIconFile</key> <string>resources/ring-maker-logo.jpg</string>
In my .plist and that does not work.
I see two issues with your plist file:
1. Paths should be case-sensitive, and a bundle keeps its resources in the "Resources" sub-directory. 2. You only need to specify the name of the icon file itself, since it's assumed that the icon will be found in Resources.
I see IconComposer.app canot do it.
Just as a test, I opened a JPEG file in Preview and copied it to the clipboard. I then opened Icon Composer, clicked on the 128x128 thumbnail and pasted the image. It turned out that the particular image was considerably larger than 128x128, but Icon Composer gave me an option to scale it.
If your icon has some transparent areas, though, JPEG isn't the ideal image format since it doesn't support image transparency. Something like TIFF or PNG would be better starting points.
steve
|
Attachment:
PGP.sig
Description: PGP signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden