Sha256: 79f5173b62282352b0167594f628772f90d03bdd01191dc0404bb17522a0e317

Contents?: true

Size: 210 Bytes

Versions: 67

Compression:

Stored size: 210 Bytes

Contents

#! /usr/local/bin/ruby -w
require 'RMagick'

# Demonstrate the Image#frame method

img = Magick::Image.read('images/Flower_Hat.jpg').first

img.matte_color="gray75"
img = img.frame

img.write('frame.jpg')
exit

Version data entries

67 entries across 67 versions & 2 rubygems

Version Path
rmagick-2.8.0 doc/ex/frame.rb
rmagick-2.7.2 doc/ex/frame.rb
rmagick-2.7.0 doc/ex/frame.rb
rmagick-2.7.1 doc/ex/frame.rb
rmagick-2.9.1 doc/ex/frame.rb
rmagick-2.9.0 doc/ex/frame.rb
rmagick-2.9.2 doc/ex/frame.rb