changed back to rmagick