mirror of https://gitgud.io/fatchan/gm
parent
69b91448f9
commit
64c491a2b7
2 changed files with 17 additions and 18 deletions
@ -1,13 +0,0 @@ |
||||
|
||||
// gm - Copyright Aaron Heckmann <aaron.heckmann+github@gmail.com> (MIT Licensed)
|
||||
|
||||
var gm = module.parent.exports |
||||
|
||||
gm.new = function(width, height, color){ |
||||
var ret = gm().arg( |
||||
[ "-size", width + "x" + height ] |
||||
.concat( color ? ['"xc:'+ color + '"'] : [] ) |
||||
) |
||||
ret._isnew = true |
||||
return ret |
||||
} |
Loading…
Reference in new issue