Missing montage method (#39109)

* Missing montage method

* add test for montage

* Update gm-tests.ts
This commit is contained in:
trode 2019-10-15 20:29:15 +02:00 committed by Andrew Branch
parent 3a0b11664a
commit 3cdc2eb4d8
2 changed files with 2 additions and 0 deletions

View File

@ -178,6 +178,7 @@ gm(src)
.modulate(b, s, h)
.monitor()
.monochrome()
.montage(src)
.morph(src, dest)
.morph(src, dest, (err, stdout, stderr, cmd) => {
})

1
types/gm/index.d.ts vendored
View File

@ -184,6 +184,7 @@ declare namespace m {
modulate(b: number, s: number, h: number): State;
monitor(): State;
monochrome(): State;
montage(otherImg: string): State;
morph(otherImg: string | string[], outName: string, callback?: WriteCallback): State;
mosaic(): State;
motionBlur(radius: number, sigma?: number, angle?: number): State;