Reverting changes to the pre/post-images that was a part of the workaround between ImageMagick releases