Skip to content

Commit

Permalink
Update sample code (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
Watson1978 authored May 9, 2024
1 parent 740ecb5 commit c5f8ca9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions demo.rb.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ <h1>demo.rb</h1>
begin
puts 'Read images...'

model = Magick::ImageList.new('../doc/ex/images/model.miff')
model = Magick::ImageList.new('images/model.miff')
model.border_color = 'black'
model.background_color = 'black'
model.cur_image[:Label] = 'RMagick'

smile = Magick::ImageList.new('../doc/ex/images/smile.miff')
smile = Magick::ImageList.new('images/smile.miff')
smile.border_color = 'black'
smile.cur_image[:Label] = 'Smile'

Expand Down

0 comments on commit c5f8ca9

Please sign in to comment.