Comparing version 1.4.0 to 1.4.1
@@ -0,1 +1,9 @@ | ||
1.4.1 / 2012-07-31 | ||
================== | ||
* fixed; scenes() args | ||
* fixed; accept the left-to-right arg of append() | ||
* added; _subCommand | ||
## v1.4 - 07/28/2012 | ||
@@ -2,0 +10,0 @@ |
@@ -31,2 +31,3 @@ // gm - Copyright Aaron Heckmann <aaron.heckmann+github@gmail.com> (MIT Licensed) | ||
this._outputFormat = null; | ||
this._subCommand = 'convert'; | ||
@@ -33,0 +34,0 @@ if (source instanceof Stream) { |
@@ -14,3 +14,9 @@ // gm - Copyright Aaron Heckmann <aaron.heckmann+github@gmail.com> (MIT Licensed) | ||
module.exports = function (proto) { | ||
// define the sub-command to use, http://www.graphicsmagick.org/utilities.html | ||
proto.subCommand = function subCommand (name){ | ||
this._subCommand = name; | ||
return this; | ||
} | ||
// http://www.graphicsmagick.org/GraphicsMagick.html#details-adjoin | ||
@@ -27,4 +33,4 @@ proto.adjoin = function adjoin () { | ||
// http://www.graphicsmagick.org/GraphicsMagick.html#details-append | ||
proto.append = function append () { | ||
return this.out("-append"); | ||
proto.append = function append (ltr) { | ||
return this.out(ltr ? "+append" : "-append"); | ||
} | ||
@@ -427,4 +433,4 @@ | ||
// http://www.graphicsmagick.org/GraphicsMagick.html#details-scenes | ||
proto.scenes = function scenes (value, value) { | ||
return this.out("-scenes", value+'-'+value); | ||
proto.scenes = function scenes (start, end) { | ||
return this.out("-scenes", start+'-'+end); | ||
} | ||
@@ -431,0 +437,0 @@ |
@@ -242,3 +242,3 @@ // gm - Copyright Aaron Heckmann <aaron.heckmann+github@gmail.com> (MIT Licensed) | ||
return [].concat( | ||
'convert' | ||
this._subCommand | ||
, this._in | ||
@@ -245,0 +245,0 @@ , source |
{ "name": "gm" | ||
, "description": "Graphics Magick for node." | ||
, "version": "1.4.0" | ||
, "version": "1.4.1" | ||
, "author": "Aaron Heckmann <aaron.heckmann+github@gmail.com>" | ||
@@ -5,0 +5,0 @@ , "keywords": ["nodejs", "graphics magick", "graphics", "magick", "image", "graphicsmagick", "imagemagick"] |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
243623
166
3147