rails_magick 0.0.6 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/rails_magick/version.rb +1 -1
- data/readme.md +3 -1
- metadata +1 -1
data/lib/rails_magick/version.rb
CHANGED
data/readme.md
CHANGED
@@ -20,6 +20,8 @@ Add the following to your Gemfile:
|
|
20
20
|
gem 'rails_magick'
|
21
21
|
```
|
22
22
|
|
23
|
+
Run 'bundle install' from the command line to update your gems.
|
24
|
+
|
23
25
|
## Identify
|
24
26
|
Gives you information about an image.
|
25
27
|
|
@@ -57,7 +59,7 @@ Parameters: infile (path to file), outfile (path to file), width, height, qualit
|
|
57
59
|
|
58
60
|
```ruby
|
59
61
|
begin
|
60
|
-
RailsMagick.
|
62
|
+
RailsMagick.create_thumbnail(infile, outfile, 100, 100, 80)
|
61
63
|
rescue Exception => e
|
62
64
|
puts e.message
|
63
65
|
end
|