Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
# create a 2 color image from scratch to supply colors for mapping
$ convert -size 10x10 xc:white -fill red -draw 'rectangle 0 0 5 5' \
    -colors 2 +dither bicolor.gif
# map 'em, Danno!
$ convert -colors 2 -normalize +dither -remap bicolor.gif in.png out.png

The first command doesn't work.

share|improve this question
Is there an error message? – RedGrittyBrick Oct 15 '10 at 19:21

I figured it out. Instead of using single quotes double quotes need to be used, then it works.

share|improve this answer
That sounds... wrong... – Ignacio Vazquez-Abrams Nov 21 '10 at 17:51

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.