Skip to content

Commit f0836cd

Browse files
committed
Merge branch 'master' of github.com:probablycorey/mini_magick
2 parents 1307717 + 323e4ae commit f0836cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.rdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ Need to combine several options?
6464

6565
Want to composite two images? Super easy! (Aka, put a watermark on!)
6666

67-
image = Image.from_file("original.png")
67+
image = Image.open("original.png")
6868
result = image.composite(Image.open("watermark.png", "jpg") do |c|
6969
c.gravity "center"
7070
end

0 commit comments

Comments
 (0)