1. Install imagemagick from Ubuntu/LinuxMint Software Center or Synaptic Package Manager. You may not need to do this in LinuxMint as (if memory serves me right) it comes with the default installation
If you prefer the terminal it's
sudo apt-get install imagemagick
2. Put all your image files in a single directory.
3. Open a terminal and go to this directory: cd 'directory-location'