1. I have seen examples similar to the following:
image = MiniMagick::Image.from_file("input.jpg")
image.resize "100x100"
image.write("output.jpg")
I'm assuming that image.resize is a method. Is there any significance
to the fact that the argument for that method is not enclosed in
parenthesis while the other are? Examples seem to be consistent --
way too consistent for coincidence.
2. When I resize an image, is there a way to do that operation in
place so that I don't have to write it out to a different file,
conceptually like:
image.resize! "100x100"
Thanks for any input.
... doug
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---