Created
July 25, 2012 07:46
-
-
Save koic/3174968 to your computer and use it in GitHub Desktop.
Resizing image file using MiniMagick
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
image = MiniMagick::Image.open('original.png') | |
image.resize '800x600' | |
image.write('resized.png') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment