@types/imagemagick
Advanced tools
Comparing version 0.0.30 to 0.0.31
@@ -31,24 +31,24 @@ // Type definitions for imagemagick | ||
export interface Features { | ||
format?: string; | ||
width?: number; | ||
height?: number; | ||
depth?: number; | ||
format?: string | undefined; | ||
width?: number | undefined; | ||
height?: number | undefined; | ||
depth?: number | undefined; | ||
} | ||
export interface Options { | ||
srcPath?: string; //: null, | ||
srcData?: string; //: null, | ||
srcFormat?: string; //: null, | ||
dstPath?: string; //: null, | ||
quality?: number; //: 0.8, | ||
format?: string; //: 'jpg', | ||
progressive?: boolean; //: false, | ||
srcPath?: string | undefined; //: null, | ||
srcData?: string | undefined; //: null, | ||
srcFormat?: string | undefined; //: null, | ||
dstPath?: string | undefined; //: null, | ||
quality?: number | undefined; //: 0.8, | ||
format?: string | undefined; //: 'jpg', | ||
progressive?: boolean | undefined; //: false, | ||
colorspace?: any; //: null, | ||
width?: number; //: 0, | ||
height?: number; //: 0, | ||
strip?: boolean; //: true, | ||
filter?: string; //: 'Lagrange', | ||
sharpening?: number; //: 0.2, | ||
customArgs?: any[]; //: [], | ||
timeout?: number; //: 0 | ||
width?: number | undefined; //: 0, | ||
height?: number | undefined; //: 0, | ||
strip?: boolean | undefined; //: true, | ||
filter?: string | undefined; //: 'Lagrange', | ||
sharpening?: number | undefined; //: 0.2, | ||
customArgs?: any[] | undefined; //: [], | ||
timeout?: number | undefined; //: 0 | ||
} | ||
@@ -55,0 +55,0 @@ |
{ | ||
"name": "@types/imagemagick", | ||
"version": "0.0.30", | ||
"version": "0.0.31", | ||
"description": "TypeScript definitions for imagemagick", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/imagemagick", | ||
"license": "MIT", | ||
@@ -9,9 +10,12 @@ "contributors": [ | ||
"name": "Carlos Ballesteros Velasco", | ||
"url": "https://github.com/soywiz" | ||
"url": "https://github.com/soywiz", | ||
"githubUsername": "soywiz" | ||
} | ||
], | ||
"main": "", | ||
"types": "index.d.ts", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", | ||
"directory": "types/imagemagick" | ||
}, | ||
@@ -22,4 +26,4 @@ "scripts": {}, | ||
}, | ||
"typesPublisherContentHash": "6c6d2c244e6196b7a65271ab6a84171828230298397119373b75185fd2eec515", | ||
"typeScriptVersion": "2.0" | ||
"typesPublisherContentHash": "9b88c4e7e4fda96242559f9ba7fecfe04906e915034128446c71f185eab9bbf1", | ||
"typeScriptVersion": "3.6" | ||
} |
@@ -8,10 +8,72 @@ # Installation | ||
# Details | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/imagemagick | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/imagemagick. | ||
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/imagemagick/index.d.ts) | ||
````ts | ||
// Type definitions for imagemagick | ||
// Project: https://github.com/rsms/node-imagemagick | ||
// Definitions by: Carlos Ballesteros Velasco <https://github.com/soywiz> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
Additional Details | ||
* Last updated: Mon, 21 Aug 2017 21:55:03 GMT | ||
* Dependencies: child_process, node | ||
// Imported from: https://github.com/soywiz/typescript-node-definitions/imagemagick.d.ts | ||
/// <reference types="node" /> | ||
import child_process = require("child_process"); | ||
export declare function identify(path: string, callback: (err: Error, features: Features) => void): child_process.ChildProcess; | ||
export declare function identify(path: any[], callback: (err: Error, result: string) => void): child_process.ChildProcess; | ||
export declare module identify { | ||
export var path: string; | ||
} | ||
export declare function readMetadata(path: string, callback: (err: Error, result: any) => void): child_process.ChildProcess; | ||
export declare function convert(args: any, callback: (err: Error, result: any) => void): child_process.ChildProcess; | ||
export declare function convert(args: any, timeout: number, callback: (err: Error, result: any) => void): child_process.ChildProcess; | ||
export declare module convert { | ||
export var path: string; | ||
} | ||
export declare function resize(options: Options, callback: (err: Error, result: any) => void): child_process.ChildProcess; | ||
export declare function crop(options: Options, callback: (err: Error, result: any) => void): child_process.ChildProcess; | ||
export declare function resizeArgs(options: Options): ResizeArgs; | ||
export interface Features { | ||
format?: string | undefined; | ||
width?: number | undefined; | ||
height?: number | undefined; | ||
depth?: number | undefined; | ||
} | ||
export interface Options { | ||
srcPath?: string | undefined; //: null, | ||
srcData?: string | undefined; //: null, | ||
srcFormat?: string | undefined; //: null, | ||
dstPath?: string | undefined; //: null, | ||
quality?: number | undefined; //: 0.8, | ||
format?: string | undefined; //: 'jpg', | ||
progressive?: boolean | undefined; //: false, | ||
colorspace?: any; //: null, | ||
width?: number | undefined; //: 0, | ||
height?: number | undefined; //: 0, | ||
strip?: boolean | undefined; //: true, | ||
filter?: string | undefined; //: 'Lagrange', | ||
sharpening?: number | undefined; //: 0.2, | ||
customArgs?: any[] | undefined; //: [], | ||
timeout?: number | undefined; //: 0 | ||
} | ||
export interface ResizeArgs { | ||
opt: Options; | ||
args: string[]; | ||
} | ||
```` | ||
### Additional Details | ||
* Last updated: Thu, 08 Jul 2021 14:23:08 GMT | ||
* Dependencies: [@types/node](https://npmjs.com/package/@types/node) | ||
* Global values: none | ||
# Credits | ||
These definitions were written by Carlos Ballesteros Velasco <https://github.com/soywiz>. | ||
These definitions were written by [Carlos Ballesteros Velasco](https://github.com/soywiz). |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
7439
1
79