Now that we have a simple overlay frame, we can underlay the Thukbnail in the center, underneath the frame by using a ' DstOver ' composition. Stack Overflow for Teams GGif Collaborate and share Thumbnail In Jpeg Gif with a private group. The idea is to lessen the amount of colours in a GIF image to the minimum number necessary and to therefore remove stray colors that are not required to represent the image. The first scheme can use " mogrify " to generate all your thumbnails, without destroying the original image, by using a " -format " setting to specify the output image format. This means Thumbnaail the above example will probably incorrectly tile the bottom and right edges, in older releases of IM. Improve this answer. Add Files Extreme caution is always advised when using this command. As of IM version 6.