Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
...
Checking mergeability… Don't worry, you can still create the pull request.
  • 2 commits
  • 1 file changed
  • 0 commit comments
  • 2 contributors
Commits on Jul 29, 2011
@slowernet slowernet Added -quality, -strip commands. (ImageMagick defaults to JPEG qualit…
…y 92, big files.)
c91a0d4
Commits on Aug 09, 2011
Aleksander Williams Merge pull request #2 from slowernet/master
Added commands to help with filesize.
f211349
Showing with 10 additions and 0 deletions.
  1. +10 −0 lib/mapel.rb
View
10 lib/mapel.rb
@@ -83,6 +83,16 @@ def scale(*args)
self
end
+ def quality(level)
+ @commands << "-quality #{level}"
+ self
+ end
+
+ def strip
+ @commands << "-strip"
+ self
+ end
+
def to(path)
@commands << path
self

No commit comments for this range

Something went wrong with that request. Please try again.