Permalink
Browse files

Updated README and gemspec, added Gemfile

  • Loading branch information...
1 parent 79e093f commit 144c9b5820dd3a4e9d9bda9989063d91319deac3 @EricR committed Jul 31, 2012
Showing with 16 additions and 8 deletions.
  1. +2 −0 Gemfile
  2. +5 −6 image_sorcery.gemspec
  3. +9 −2 readme.markdown
View
@@ -0,0 +1,2 @@
+source :rubygems
+gemspec
View
@@ -5,16 +5,15 @@ require 'bundler/version'
Gem::Specification.new do |s|
s.name = "image_sorcery"
- s.version = "1.0.5"
+ s.version = "1.0.6"
s.platform = Gem::Platform::RUBY
- s.authors = ["Eric Rafaloff"]
- s.email = ["hello@ericrafaloff.com"]
- s.homepage = "https://github.com/ericr/image_sorcery"
+ s.authors = ["Eric Rafaloff", "Guy Boertje"]
+ s.email = ["hello@ericrafaloff.com", "guy@musicglue.com"]
+ s.homepage = "https://github.com/musicglue/image_sorcery"
s.summary = "A ruby ImageMagick library that doesn't suck"
s.description = "A ruby ImageMagick library that doesn't suck"
s.files = Dir.glob("{lib}/**/*") + %w(README.markdown)
s.require_path = 'lib'
- s.requirements = "ImageMagick"
+ s.requirements = "ImageMagick or GraphicsMagick"
s.add_dependency "subexec"
end
-
View
@@ -21,8 +21,15 @@ image.manipulate!(scale: "50%") # => true
image.dimensions # => { x: 250, y: 250 }
image.convert("thumbnail.jpg", quality: 80, crop: "100x100>") # => true
```
+# Using GraphicsMagick
+Assuming you have GraphicsMagick installed on your box:
+
+```ruby
+image = Sorcery.gm("image.png")
+# use as normal
+```
## Todo
-* More unit tests
-* A few more convenience methods (like "dimensions").
+* Some more unit tests
+* A few more convenience methods (like "dimensions").

0 comments on commit 144c9b5

Please sign in to comment.