gm compare -metric mse -size 128x128 plasma: -size 200x200 plasma:
Apparently graphicmagick and imagemagick both supports a way to compare two image, should dig into their implementation and see how those work and if its worth interfacing to in my project or not.