Skip to content

Commit

Permalink
Fix order of arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
rmagick committed May 11, 2006
1 parent 9670daf commit 2a7e91f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions doc/ex/level.rb
Expand Up @@ -5,8 +5,7 @@


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


# Allow the white-point argument to default.
# Brighten up the mid-tones a bit. # Brighten up the mid-tones a bit.
after = before.level(0,1.50) after = before.level(0, Magick::MaxRGB, 1.50)
after.write('level.jpg') after.write('level.jpg')
exit exit

0 comments on commit 2a7e91f

Please sign in to comment.