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

Trying to resize from 48x48 icon to 16x16 and the resulting file from imagemagick is 16x16 but cut off around the square.


convert -resize "16x16" businessman_add.ico -depth 8 mynew.ico

I want the new one to shrink and not get cut off. This is driving me insane.

Edit: So I used Photoshop 7 + plugin, IconFX, and Axialis. Turns out that dropping a 48x48 to a 16x16 is going to have a little bit of funky artifacting and cutoffs. I forgot we only have a 16x16 grid to fool with!

share|improve this question
What does the ImageMagick documentation say? Does it support .ico? Is it feasible to use a different program? – Tom Wijsman Aug 23 '11 at 20:13
I've scanned and search the docs and it seems to support ico. If I wanted to use a different program I would have specified that in my question. – Caveatrob Aug 23 '11 at 21:29
Please add your "solved" part as a real answer and don't put the answer into the question! Thank you! (you can also accept this in two days from now) – slhck Aug 24 '11 at 21:40
I'm sorry, I didn't see the SUPER in SUPERUSER. I'm just an ordinary guy who knows nothing about images and describes things as they appear to be. No need to be a douchebag. – Caveatrob Aug 24 '11 at 22:42

Those images look perfectly fine to me. I put both this and this into Photoshop, resized the big one, and compared them - no difference:

enter image description here

I don't see what's "cut off"...

share|improve this answer
Did you use the difference layer feature? And yes, haven't clicked through to them yet but they also appear the same to me just by eye. The rounding of hair and shirt are still there and the + sign is still there... – Tom Wijsman Aug 23 '11 at 21:54
@Tom Wijsman good idea, I updated the image including the difference between them... It only appears to be differences in colour, nothing else. – Breakthrough Aug 23 '11 at 21:59
Weird. They seemed cut off in my system, but maybe I'm confusing "cut off" with "scaled to low res" – Caveatrob Aug 24 '11 at 18:56

You should give a try to IcoFX, it's a specialized little software with a good GUI that will let you create the 16×16 icon you need in a snap! (It is also available in a portable version if you don't want install it)

share|improve this answer

Remove the " characters, optionally add a ! character. See the geometry documentation.

share|improve this answer

Not sure why it's cropping it instead of shrinking it. Try adding -scale 100%.

share|improve this answer
It's doing kind of a combination of both. It makes it 16x16 but several pixels are cut off around the image. – Caveatrob Aug 23 '11 at 21:29

You must log in to answer this question.

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