Browse files

Fix order of arguments

  • Loading branch information...
1 parent 9670daf commit 2a7e91fb19d8608c835227ac565c71ecf178c8bb rmagick committed May 11, 2006
Showing with 1 addition and 2 deletions.
  1. +1 −2 doc/ex/level.rb
View
3 doc/ex/level.rb
@@ -5,8 +5,7 @@
before = Magick::Image.read('images/Flower_Hat.jpg').first
-# Allow the white-point argument to default.
# 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')
exit

0 comments on commit 2a7e91f

Please sign in to comment.