Skip to content

Commit

Permalink
Merge branch 'master' of github.com:aheckmann/gm
Browse files Browse the repository at this point in the history
  • Loading branch information
aheckmann committed Sep 21, 2022
2 parents 16385dc + c44d80e commit be71cef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ The links below refer to an older version of gm but everything should still work
- **stream** - provides a `ReadableStream` with the processed image data
- **toBuffer** - returns the image as a `Buffer` instead of a stream

##compare
## compare

Graphicsmagicks `compare` command is exposed through `gm.compare()`. This allows us to determine if two images can be considered "equal".

Expand Down Expand Up @@ -579,7 +579,7 @@ gm.compare('/path/to/image1.jpg', '/path/to/another.png', options, function (err
})
```

##composite
## composite

GraphicsMagick supports compositing one image on top of another. This is exposed through `gm.composite()`. Its first argument is an image path with the changes to the base image, and an optional mask image.

Expand All @@ -596,7 +596,7 @@ gm('/path/to/image.jpg')
});
```

##montage
## montage

GraphicsMagick supports montage for combining images side by side. This is exposed through `gm.montage()`. Its only argument is an image path with the changes to the base image.

Expand Down

0 comments on commit be71cef

Please sign in to comment.