Test image compression in using RMagick.