I have over 1000 images on different resolutions, (for example 1234x2122, 4400x5212 , etc) and I want to convert all them to fixed 100x100 size, so.
first I
To keep the aspect ratio and don't fill anything (extent), rather crop from the longer edge which is out of aspect you could do
convert input.jpg -resize 100x100^ \ -gravity Center \ -crop 100x100+0+0 +repage \ output.jpg
with option to crop more from one side if you like