Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gm

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gm - npm Package Compare versions

Comparing version 1.4.0 to 1.4.1

examples/size.js

8

History.md

@@ -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 @@

1

index.js

@@ -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) {

16

lib/args.js

@@ -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"]

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc