Sha256: d0d95606753ffe74141c4cb62be194dfbf6635d2886e84bd832abfb6104442ff

Contents?: true

Size: 207 Bytes

Versions: 6

Compression:

Stored size: 207 Bytes

Contents

#!/usr/bin/env ruby -w
require 'rmagick'

# Demonstrate the Image#border method

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

img.border!(10, 10, 'rgb(255,110,140)')
img.write('border.jpg')
exit

Version data entries

6 entries across 6 versions & 1 rubygems

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