Skip to content

Commit

Permalink
Merge pull request minimagick#60 from rafamvc/master
Browse files Browse the repository at this point in the history
deprecated Image.from_file was still used in the README
  • Loading branch information
HamptonMakes committed Dec 28, 2011
2 parents 45bb993 + 13268ad commit 323e4ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Need to combine several options?

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

image = Image.from_file("original.png")
image = Image.open("original.png")
result = image.composite(Image.open("watermark.png", "jpg") do |c|
c.gravity "center"
end
Expand Down

0 comments on commit 323e4ae

Please sign in to comment.