Sha256: a14ddb01081093464de67fce7f7652f1d166cc2d3fc9db976672bff623f30cbd
Contents?: true
Size: 383 Bytes
Versions: 67
Compression:
Stored size: 383 Bytes
Contents
#! /usr/local/bin/ruby -w require 'RMagick' before = Magick::Image.read("images/Flower_Hat.jpg").first before.resize!(0.50) # make it small so this example will run fast blob = before.to_blob # We could pass the format, depth, and geometry as optional # arguments to `from_blob' but that is not required. after = Magick::Image.from_blob(blob) after[0].write("to_blob.gif") exit
Version data entries
67 entries across 67 versions & 2 rubygems