Resizing the individual channels of an image (by separting them) results in a well know 'halo' bug, that has been documented in IM examples...
http://imagemagick.org/Usage/bugs/resize_halo/
the same effect is related to the Blur with transparency Bug
http://imagemagick.org/Usage/bugs/blur_trans/
Basically by separating the channels you are telling IM to treat each channel as a pure gray scale image. that means a fully-transparent color, really has a color (usally black) that should be preserved! thus you see a halo!
If you want IM to hand Transparency correctly you need to resize the image without separating the channels. try this instead of your previous complex set of commands...
Code: Select all
convert ice.png -filter point -resize 32x32 out.png
Code: Select all
convert ice.png -sample 32x32 out.png
And finally, report the version numbers of the IM you are using. The resize Halo bug was fixed in an early version of IM v6.