Icons for app. What format i can use?

Mac OSX specific forum
sartic
Enthusiast
Enthusiast
Posts: 143
Joined: Thu Aug 26, 2010 8:26 am

Icons for app. What format i can use?

Post by sartic »

I tried .ico and it is not working.
Registered user of PB (on Linux Mint 21.1 & Win 10 64bit)
wilbert
PureBasic Expert
PureBasic Expert
Posts: 3944
Joined: Sun Aug 08, 2004 5:21 am
Location: Netherlands

Re: Icons for app. What format i can use?

Post by wilbert »

.icns

XCode contains an app to create them
/Developer/Applications/Utilities/Icon Composer.app
sartic
Enthusiast
Enthusiast
Posts: 143
Joined: Thu Aug 26, 2010 8:26 am

Re: Icons for app. What format i can use?

Post by sartic »

Can not open .ico width this program
Registered user of PB (on Linux Mint 21.1 & Win 10 64bit)
wilbert
PureBasic Expert
PureBasic Expert
Posts: 3944
Joined: Sun Aug 08, 2004 5:21 am
Location: Netherlands

Re: Icons for app. What format i can use?

Post by wilbert »

There are different containers for different sized icons.
Just drag and drop the right sized icons you created in the right containers and save as .icns .
The images you drag and drop can be .ico but also .png for example.
User avatar
kenmo
Addict
Addict
Posts: 2081
Joined: Tue Dec 23, 2003 3:54 am

Re: Icons for app. What format i can use?

Post by kenmo »

Bumping an old post...

It seems Icon Composer has been dropped from recent versions of XCode...

What's the next best way to generate .app icon files? I have various sized PNGs, but they don't seem to work as .app icons.
wilbert
PureBasic Expert
PureBasic Expert
Posts: 3944
Joined: Sun Aug 08, 2004 5:21 am
Location: Netherlands

Re: Icons for app. What format i can use?

Post by wilbert »

There are tools available at the app store.

If you want to do it using Apple tools, you can use the terminal command iconutil
https://developer.apple.com/library/mac ... izing.html
Post Reply