Created
April 13, 2015 20:58
-
-
Save masterT/339ad3595fdcf211707f to your computer and use it in GitHub Desktop.
Resize an image into an HipChat custom smiley
This file contains 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
require 'rmagick' | |
def resize(file_path) | |
file = Image.new |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment