I'd like to convert svg icons to windows icons and mac icons. A free option would be the best.
-
Probably a better question for superuser.com– AbizernJul 10, 2010 at 22:43
-
Better tell people what's your platform.– zneakJul 10, 2010 at 22:44
-
Agreed re: platform. As a programmer, you can do this on a mac with the platform APIs.– KenJul 10, 2010 at 22:59
-
@Abizern - not unless he wants to do it programmatically. @user388624 - please clarify your question so that people can assist.– Saajid IsmailJul 10, 2010 at 23:49
-
@Saajid Ismail – Since the OP mentioned the price, it's a reasonable assumption that a software tool is required rather than code snippets.– AbizernJul 11, 2010 at 8:27
6 Answers
To expand on @Colonel Panic's original answer, which I feel is best, on a Mac you'll need to first install ImageMagick's CLI tools with:
brew install imagemagick
This provides the convert
command, which can then be used to create a valid Mac ICO from an SVG. You'll need to resize the SVG to a valid ICO size for the OS. This is the command I ended up using to do this myself:
convert icon.svg -resize 256x256 icon.ico
ImageMagick is well documented in the following places:
There's a free online tool available for this purpose: http://iconverticons.com/
-
This is an ancient post, but can you expand your answer a bit? Just pointing to a product or service doesn't really explain how to accomplish the solution. It's better to include some instructions or screenshots, or at least describe what makes this a good solution. Good guidance on recommending software or services here: meta.superuser.com/questions/5329/…. Thanks. Jan 5, 2016 at 18:42
-
1
-
The gimp editor can open svg files and save them as ico files. From http://www.gimp.org/features/:
File Formats
The file format support ranges from the common likes of JPEG (JFIF), GIF, PNG, TIFF to special use formats such as the multi-resolution and multi-color-depth Windows icon files.
-
This is an ancient post, but can you expand your answer a bit? Just pointing to a product doesn't really explain how to accomplish the solution. It's better to include some instructions on how to use the product to solve the problem, or at least describe what makes the product a good solution. Good guidance on recommending software here: meta.superuser.com/questions/5329/…. Thanks. Jan 5, 2016 at 18:38
All answers here mention how to convert to .ico but not how to convert to .icns, here is an open source tool for just that: https://github.com/JackMordaunt/icns
Install with homebrew:
brew tap jackmordaunt/homebrew-tap # Ensure tap is added first.
brew install icnsify
Usage:
icnsify -i icon.png -o icon.icns
icnsify -i icon.icns -o icon.png
-
Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.– Community Botyesterday
-