Created
November 3, 2010 23:57
-
-
Save panchew/661917 to your computer and use it in GitHub Desktop.
WatermarkConsoleOutputAfterTweak
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
>> example_image_path = "#{RAILS_ROOT}/public/images/wallpaper_original.jpg" | |
=> "/Users/flamaspeed/creative-allies/public/images/wallpaper_original.jpg" | |
>> example_image_output_path = "#{RAILS_ROOT}/public/images/wallpaper_watermarked.jpg" | |
=> "/Users/flamaspeed/creative-allies/public/images/wallpaper_watermarked.jpg" | |
>> apply_watermark(example_image_path, example_image_output_path) | |
user system total real | |
0.090000 0.030000 0.120000 ( 10.781697) | |
user system total real | |
0.030000 0.030000 0.060000 ( 1.791267) | |
=> #<Magick::Image: (destroyed)> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment