Skip to content

Commit

Permalink
add .type()
Browse files Browse the repository at this point in the history
  • Loading branch information
aheckmann committed Sep 6, 2010
1 parent 3d62825 commit 343b86f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/args.js
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,11 @@ module.exports = function(proto){
proto.swirl = function(degrees){
return this.arg(null, ["-swirl", degrees || 180])
}

// http://www.graphicsmagick.org/GraphicsMagick.html#details-type
proto.type = function(type){
return this.arg(["-type", type])
}

}

Expand Down

0 comments on commit 343b86f

Please sign in to comment.