Test image compression in Ruby.