Created
March 11, 2009 01:12
-
-
Save rupakg/77237 to your computer and use it in GitHub Desktop.
convert text to image
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 "mini_magick" | |
image = MiniMagick::Image.from_file("c:\\test.jpg") | |
image.resize "100x100" | |
image.write("c:\\output.jpg") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment