Update README.md

master
Jonathan Ong 11 years ago
parent a88a796834
commit 5eb98434bd
  1. 12
      README.md

@ -204,6 +204,12 @@ gm()
.stream();
```
which correctly yields:
```bash
gm "convert" "label:Offline" "PNG:-"
```
### Custom Identify Format String
When identifying an image, you may want to use a custom formatting string instead of using `-verbose`, which is quite slow.
@ -224,12 +230,6 @@ gm('img.png').identify('%m', function (err, format) {
since `%m` is the format option for getting the image file format.
which correctly yields:
```bash
gm "convert" "label:Offline" "PNG:-"
```
## Getting started
First download and install [GraphicsMagick](http://www.graphicsmagick.org/) or [ImageMagick](http://www.imagemagick.org/). In Mac OS X, you can simply use [Homebrew](http://mxcl.github.io/homebrew/) and do:

Loading…
Cancel
Save