use RMagick's rotate! and resize