How to average multiple images into one with ImageMagick? Just use GraphicsMagick: gm convert -average *.JPG q.ppm