Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix order of arguments

  • Loading branch information...
commit 2a7e91fb19d8608c835227ac565c71ecf178c8bb 1 parent 9670daf
rmagick authored
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.
Something went wrong with that request. Please try again.