To resize exactly at 100x100 pixels
Code:
convert <input-image> -resize 100x100! <output-image>
but if you want a maximum size of 100 pixels and mantain the aspect ratio, take out the exclamation mark. A list of options to the convert command is available on the ImageMagick website,
here.
Edit: uh... I did not know mogrify... sure better!