Permalink
Browse files

Merge pull request #2 from slowernet/master

Added commands to help with filesize.
  • Loading branch information...
2 parents 906696e + c91a0d4 commit f2113493df522c49cf3d0dcce8f2b43c111c8688 Aleksander Williams committed Aug 9, 2011
Showing with 10 additions and 0 deletions.
  1. +10 −0 lib/mapel.rb
View
@@ -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

0 comments on commit f211349

Please sign in to comment.