Run CodeMaid

This commit is contained in:
Joel Spadin 2014-11-24 19:44:06 -06:00
parent e4e67704fd
commit c4a50f1dfa
2 changed files with 3 additions and 21 deletions

View File

@ -177,11 +177,9 @@ gm(src)
.monochrome()
.morph(src, dest)
.morph(src, dest, (err, stdout, stderr, cmd) => {
})
.morph(images, dest)
.morph(images, dest, (err, stdout, stderr, cmd) => {
})
.mosaic()
.motionBlur(radius)
@ -260,13 +258,10 @@ gm(src)
.threshold(threshold)
.threshold(threshold, usePercent)
.thumb(width, height, dest, (err, stdout, stderr, cmd) => {
})
.thumb(width, height, dest, quality, (err, stdout, stderr, cmd) => {
})
.thumb(width, height, dest, quality, align, (err, stdout, stderr, cmd) => {
})
.tile(file)
.title(name)
@ -294,28 +289,20 @@ gm(src)
.window(name)
.windowGroup()
.color((err, color) => {
})
.depth((err, bitdepth) => {
})
.filesize((err, size) => {
})
.format((err, format) => {
})
.identify((err, info) => {
})
.res((err, resolution) => {
})
.size((err, size) => {
})
.orientation((err, orient) => {
})
.draw(options)
.drawArc(x, y, x, y, radius, radius)
@ -342,24 +329,19 @@ gm(src)
.stroke(color, width)
.setDraw(type, x, y, method)
.write(dest, (err, stdout, stderr, cmd) => {
});
gm.compare(file, file, (err, isEqual, equality, raw) => {
});
readStream = gm(src).stream();
readStream = gm(src).stream(format);
readStream = gm(src).stream(format, (err, stdout, stderr, cmd) => {
});
gm(src).toBuffer((err, buffer) => {
});
gm(src).toBuffer(format, (err, buffer) => {
});
var imageMagick = gm.subClass({ imageMagick: true });

6
gm/gm.d.ts vendored
View File

@ -612,9 +612,9 @@ declare module "gm" {
(image: string): State;
}
export function compare(filename1: string, filename2: string, callback: CompareCallback): void ;
export function compare(filename1: string, filename2: string, tolerance: number, callback: CompareCallback): void ;
export function compare(filename1: string, filename2: string, options: CompareOptions, callback: CompareCallback): void ;
export function compare(filename1: string, filename2: string, callback: CompareCallback): void;
export function compare(filename1: string, filename2: string, tolerance: number, callback: CompareCallback): void;
export function compare(filename1: string, filename2: string, options: CompareOptions, callback: CompareCallback): void;
export function subClass(options: ClassOptions): SubClass;
}