Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

On Ubuntu Linux, though I don't think it's about which distro.

I have a picture...

How can I create my own icon from the picture?

share|improve this question
    
What kind of icon? By definition, and icon is just a picture... – Darth Android Oct 15 '12 at 22:03
up vote 2 down vote accepted
$ convert winamp-ncrow.png -resize 32x32 winamp-ncrow.ico 
geee: ~/.icons/known
$ file winamp-ncrow.*
winamp-ncrow.ico: MS Windows icon resource - 1 icon
winamp-ncrow.png: PNG image data, 128 x 128, 8-bit/color RGBA, non-interlaced][1]

convert is one of the many tools included in the ImageMagick package. It is very popular and will be without doubt found among the packages of your favorite distribution. apt-get install imagemagick (or what have you)

For reference: http://www.imagemagick.org/


Image Files:

winamp.png

And I could not upload an .ico file:

http://www.pvv.ntnu.no/~rakhmato/tmp/crap/winamp-ncrow.ico

share|improve this answer
    
hmm, is convert something you find by default on most linux distros, or something you need to install? – Journeyman Geek Oct 15 '12 at 23:30
    
I forgot to mention what app that was. how stupid. just a second – Ярослав Рахматуллин Oct 15 '12 at 23:31
    
"By default" is very relative. I mean, some distros will let you install "Desktop" and "Home Video", which will usually result in a pretty bloated installation with lots and lots of unexplored stuff. Surely, Imagemagick is in one such category, perhaps "Photography" or whatever. I have no idea to be honest, but I'm pretty sure most distros include it on the first distribution cd, if those are still commonly used. :) – Ярослав Рахматуллин Oct 15 '12 at 23:45
    
true, but now the answer is better, since we don't assume convert is installed ;p. This is almost a stock question I ask when someone suggests a application whose name dosen't give away its origin ;p – Journeyman Geek Oct 15 '12 at 23:46
    
It's a fair question. But Imagemagick is -really- worth looking into, if you haven't come across it already. – Ярослав Рахматуллин Oct 15 '12 at 23:48

GIMP can export .ico files.

A simple search would had given you this answer; it's usually easier to try that first if you know what you need.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .