Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Added invert parameter to adjoin to allow +adjoin #773

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/args.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ module.exports = function (proto) {
}

// http://www.graphicsmagick.org/GraphicsMagick.html#details-adjoin
proto.adjoin = function adjoin () {
return this.out("-adjoin");
proto.adjoin = function adjoin (invert) {
return this.out(invert ? "+adjoin" : "-adjoin");
}

// http://www.graphicsmagick.org/GraphicsMagick.html#details-affine
Expand Down