Skip to content

Commit

Permalink
version 0.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
aheckmann committed Jul 27, 2010
1 parent 78bae02 commit 5a7fa66
Show file tree
Hide file tree
Showing 7 changed files with 64 additions and 3 deletions.
9 changes: 9 additions & 0 deletions History.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
## v0.1.1 - 7/27/2010

* add modulate method
* add colorize method
* add charcoal method
* add chop method
* bug fix in write without a callback


## v0.1.0 - 6/27/2010

* no longer supporting mogrify
Expand Down
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,15 @@ First download and install "GraphicsMagick":http://www.graphicsmagick.org/
- flip
- flop
- crop
- chop
- magnify
- minify
- quality
- thumb - create thumbnails based on minimum sizes
- colorize
- modulate
- blur
- charcoal
- thumb - create thumbnails based on minimum sizes
- noProfile - removes EXIF, ICM, etc profile data


Expand Down
12 changes: 12 additions & 0 deletions examples/charcoal.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
var gm = require('../lib/gm')
, sys = require('sys')
, p = function(what){ sys.puts(sys.inspect(what)) }
, dir = __dirname + '/imgs'

gm(dir + '/original.png')
.charcoal(1)
.write(dir + '/charcoal.jpg', function(err){
if (err) return p(arguments)
p(this.outname + ' created :: ' + arguments[3])
}
)
12 changes: 12 additions & 0 deletions examples/chop.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
var gm = require('../lib/gm')
, sys = require('sys')
, p = function(what){ sys.puts(sys.inspect(what)) }
, dir = __dirname + '/imgs'

gm(dir + '/original.png')
.chop(54, 1, 307, 1)
.write(dir + "/chop.jpg", function(err){
if (err) return p(arguments)
p(this.outname + " created :: " + arguments[3])
}
)
12 changes: 12 additions & 0 deletions examples/colorize.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
var gm = require('../lib/gm')
, sys = require('sys')
, p = function(what){ sys.puts(sys.inspect(what)) }
, dir = __dirname + '/imgs'

gm(dir + '/original.png')
.colorize(80, 0, 30)
.write(dir + '/colorize.jpg', function(err){
if (err) return p(arguments)
p(this.outname + ' created :: ' + arguments[3])
}
)
12 changes: 12 additions & 0 deletions examples/modulate.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
var gm = require('../lib/gm')
, sys = require('sys')
, p = function(what){ sys.puts(sys.inspect(what)) }
, dir = __dirname + '/imgs'

gm(dir + '/original.png')
.modulate(120, 100, 80)
.write(dir + '/modulate.jpg', function(err){
if (err) return p(arguments)
p(this.outname + ' created :: ' + arguments[3])
}
)
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{ "name": "gm"
, "description": "Graphics Magick for node."
, "version": "0.1.0"
, "version": "0.1.1"
, "author": "Aaron Heckmann <aaron.heckmann+github@gmail.com>"
, "keywords": ["nodejs", "graphics magick", "graphics", "magick", "image"]
, "engines": { "node": ">= 0.1.96" }
, "directories": { "lib": "./lib"}
, "bugs": "http://github.com/aheckmann/gm/issues"
, "licenses": [{ "type": "MIT", "url": "http://www.opensource.org/licenses/mit-license.php"}]
, "main": "./lib/gm"
}
}

0 comments on commit 5a7fa66

Please sign in to comment.