Sha256: a4ecc1e96d053efb08cf0d9a860ae7581680787a828cae0cbdf846f3508a8838

Contents?: true

Size: 209 Bytes

Versions: 6

Compression:

Stored size: 209 Bytes

Contents

#!/usr/bin/env 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

6 entries across 6 versions & 1 rubygems

Version Path
rmagick-4.1.0.rc2 doc/ex/frame.rb
rmagick-4.1.0.rc1 doc/ex/frame.rb
rmagick-4.0.0 doc/ex/frame.rb
rmagick-3.2.0 doc/ex/frame.rb
rmagick-3.1.0 doc/ex/frame.rb
rmagick-3.0.0 doc/ex/frame.rb