jimp 1.1.5 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/index.d.ts +98 -3
- package/dist/browser/index.js +2 -2
- package/dist/browser/index.js.map +1 -1
- package/dist/commonjs/index.d.ts +95 -0
- package/dist/commonjs/index.d.ts.map +1 -1
- package/dist/commonjs/index.js +24 -22
- package/dist/commonjs/index.js.map +1 -1
- package/dist/esm/index.d.ts +95 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +23 -21
- package/dist/esm/index.js.map +1 -1
- package/package.json +33 -33
package/dist/commonjs/index.d.ts
CHANGED
|
@@ -21,6 +21,80 @@ import * as resize from "@jimp/plugin-resize";
|
|
|
21
21
|
import * as rotate from "@jimp/plugin-rotate";
|
|
22
22
|
import * as threshold from "@jimp/plugin-threshold";
|
|
23
23
|
import * as quantize from "@jimp/plugin-quantize";
|
|
24
|
+
export declare const defaultPlugins: ({
|
|
25
|
+
blit<I extends import("@jimp/types").JimpClass>(image: I, options: blit.BlitOptions): I;
|
|
26
|
+
} | {
|
|
27
|
+
blur<I extends import("@jimp/types").JimpClass>(image: I, r: number): I;
|
|
28
|
+
gaussian<I extends import("@jimp/types").JimpClass>(image: I, r: number): I;
|
|
29
|
+
} | {
|
|
30
|
+
circle<I extends import("@jimp/types").JimpClass>(image: I, options?: circle.CircleOptions): I;
|
|
31
|
+
} | {
|
|
32
|
+
normalize<I extends import("@jimp/types").JimpClass>(image: I): I;
|
|
33
|
+
invert<I extends import("@jimp/types").JimpClass>(image: I): I;
|
|
34
|
+
brightness<I extends import("@jimp/types").JimpClass>(image: I, val: number): I;
|
|
35
|
+
contrast<I extends import("@jimp/types").JimpClass>(image: I, val: number): I;
|
|
36
|
+
posterize<I extends import("@jimp/types").JimpClass>(image: I, n: number): I;
|
|
37
|
+
greyscale<I extends import("@jimp/types").JimpClass>(image: I): I;
|
|
38
|
+
opacity<I extends import("@jimp/types").JimpClass>(image: I, f: number): I;
|
|
39
|
+
sepia<I extends import("@jimp/types").JimpClass>(image: I): I;
|
|
40
|
+
fade<I extends import("@jimp/types").JimpClass>(image: I, f: number): I;
|
|
41
|
+
convolution<I extends import("@jimp/types").JimpClass>(image: I, options: {
|
|
42
|
+
kernel: number[][];
|
|
43
|
+
edgeHandling?: import("@jimp/types").Edge | undefined;
|
|
44
|
+
} | number[][]): I;
|
|
45
|
+
opaque<I extends import("@jimp/types").JimpClass>(image: I): I;
|
|
46
|
+
pixelate<I extends import("@jimp/types").JimpClass>(image: I, options: number | {
|
|
47
|
+
size: number;
|
|
48
|
+
x?: number | undefined;
|
|
49
|
+
y?: number | undefined;
|
|
50
|
+
w?: number | undefined;
|
|
51
|
+
h?: number | undefined;
|
|
52
|
+
}): I;
|
|
53
|
+
convolute<I extends import("@jimp/types").JimpClass>(image: I, options: number[][] | {
|
|
54
|
+
kernel: number[][];
|
|
55
|
+
x?: number | undefined;
|
|
56
|
+
y?: number | undefined;
|
|
57
|
+
w?: number | undefined;
|
|
58
|
+
h?: number | undefined;
|
|
59
|
+
}): I;
|
|
60
|
+
color<I extends import("@jimp/types").JimpClass>(image: I, actions: color.ColorAction[]): I;
|
|
61
|
+
} | {
|
|
62
|
+
contain<I extends import("@jimp/types").JimpClass>(image: I, options: contain.ContainOptions): I;
|
|
63
|
+
} | {
|
|
64
|
+
cover<I extends import("@jimp/types").JimpClass>(image: I, options: cover.CoverOptions): I;
|
|
65
|
+
} | {
|
|
66
|
+
crop<I extends import("@jimp/types").JimpClass>(image: I, options: crop.CropOptions): I;
|
|
67
|
+
autocrop<I extends import("@jimp/types").JimpClass>(image: I, options?: crop.AutocropOptions): I;
|
|
68
|
+
} | {
|
|
69
|
+
displace<I extends import("@jimp/types").JimpClass>(image: I, options: displace.DisplaceOptions): I;
|
|
70
|
+
} | {
|
|
71
|
+
dither<I extends import("@jimp/types").JimpClass>(image: I): I;
|
|
72
|
+
} | {
|
|
73
|
+
fisheye<I extends import("@jimp/types").JimpClass>(image: I, options?: fisheye.FisheyeOptions): I;
|
|
74
|
+
} | {
|
|
75
|
+
flip<I extends import("@jimp/types").JimpClass>(image: I, options: flip.FlipOptions): I;
|
|
76
|
+
} | {
|
|
77
|
+
pHash<I extends import("@jimp/types").JimpClass>(image: I): string;
|
|
78
|
+
hash<I extends import("@jimp/types").JimpClass>(image: I, base?: number): string;
|
|
79
|
+
distanceFromHash<I extends import("@jimp/types").JimpClass>(image: I, compareHash: string): number;
|
|
80
|
+
} | {
|
|
81
|
+
mask<I extends import("@jimp/types").JimpClass>(image: I, options: mask.MaskOptions): I;
|
|
82
|
+
} | {
|
|
83
|
+
print<I extends import("@jimp/types").JimpClass>(image: I, { font, ...options }: print.PrintOptions & {
|
|
84
|
+
font: print.BmFont<I>;
|
|
85
|
+
}): I;
|
|
86
|
+
} | {
|
|
87
|
+
resize<I extends import("@jimp/types").JimpClass>(image: I, options: resize.ResizeOptions): I;
|
|
88
|
+
scale<I extends import("@jimp/types").JimpClass>(image: I, options: resize.ScaleOptions): I;
|
|
89
|
+
scaleToFit<I extends import("@jimp/types").JimpClass>(image: I, options: resize.ScaleToFitOptions): I;
|
|
90
|
+
} | {
|
|
91
|
+
rotate<I extends import("@jimp/types").JimpClass>(image: I, options: rotate.RotateOptions): I;
|
|
92
|
+
} | {
|
|
93
|
+
threshold<I extends import("@jimp/types").JimpClass>(image: I, options: threshold.ThresholdOptions): I;
|
|
94
|
+
} | {
|
|
95
|
+
quantize<I extends import("@jimp/types").JimpClass>(image: I, options: quantize.QuantizeOptions): I;
|
|
96
|
+
})[];
|
|
97
|
+
export declare const defaultFormats: (typeof bmp | typeof msBmp | typeof gif | typeof jpeg | typeof png | typeof tiff)[];
|
|
24
98
|
/**
|
|
25
99
|
* @class
|
|
26
100
|
*
|
|
@@ -94,8 +168,11 @@ export declare const Jimp: {
|
|
|
94
168
|
bitmap: import("@jimp/types").Bitmap;
|
|
95
169
|
background: number;
|
|
96
170
|
formats: import("@jimp/types").Format<any>[];
|
|
171
|
+
mime?: string;
|
|
97
172
|
inspect(): string;
|
|
98
173
|
toString(): string;
|
|
174
|
+
readonly width: number;
|
|
175
|
+
readonly height: number;
|
|
99
176
|
getBuffer<ProvidedMimeType extends "image/bmp" | "image/tiff" | "image/x-ms-bmp" | "image/gif" | "image/jpeg" | "image/png", Options extends (Record<"image/bmp", {
|
|
100
177
|
palette?: import("@jimp/js-bmp").BmpColor[] | undefined;
|
|
101
178
|
colors?: number | undefined;
|
|
@@ -242,8 +319,11 @@ export declare const Jimp: {
|
|
|
242
319
|
bitmap: import("@jimp/types").Bitmap;
|
|
243
320
|
background: number;
|
|
244
321
|
formats: import("@jimp/types").Format<any>[];
|
|
322
|
+
mime?: string;
|
|
245
323
|
inspect(): string;
|
|
246
324
|
toString(): string;
|
|
325
|
+
readonly width: number;
|
|
326
|
+
readonly height: number;
|
|
247
327
|
getBuffer<ProvidedMimeType extends "image/bmp" | "image/tiff" | "image/x-ms-bmp" | "image/gif" | "image/jpeg" | "image/png", Options extends (Record<"image/bmp", {
|
|
248
328
|
palette?: import("@jimp/js-bmp").BmpColor[] | undefined;
|
|
249
329
|
colors?: number | undefined;
|
|
@@ -389,8 +469,11 @@ export declare const Jimp: {
|
|
|
389
469
|
bitmap: import("@jimp/types").Bitmap;
|
|
390
470
|
background: number;
|
|
391
471
|
formats: import("@jimp/types").Format<any>[];
|
|
472
|
+
mime?: string;
|
|
392
473
|
inspect(): string;
|
|
393
474
|
toString(): string;
|
|
475
|
+
readonly width: number;
|
|
476
|
+
readonly height: number;
|
|
394
477
|
getBuffer<ProvidedMimeType extends "image/bmp" | "image/tiff" | "image/x-ms-bmp" | "image/gif" | "image/jpeg" | "image/png", Options extends (Record<"image/bmp", {
|
|
395
478
|
palette?: import("@jimp/js-bmp").BmpColor[] | undefined;
|
|
396
479
|
colors?: number | undefined;
|
|
@@ -609,8 +692,11 @@ export declare const Jimp: {
|
|
|
609
692
|
bitmap: import("@jimp/types").Bitmap;
|
|
610
693
|
background: number;
|
|
611
694
|
formats: import("@jimp/types").Format<any>[];
|
|
695
|
+
mime?: string;
|
|
612
696
|
inspect(): string;
|
|
613
697
|
toString(): string;
|
|
698
|
+
readonly width: number;
|
|
699
|
+
readonly height: number;
|
|
614
700
|
getBuffer<ProvidedMimeType extends ReturnType<typeof bmp | typeof msBmp | typeof gif | typeof jpeg | typeof png | typeof tiff>["mime"], Options extends (Record<"image/bmp", {
|
|
615
701
|
palette?: import("@jimp/js-bmp").BmpColor[] | undefined;
|
|
616
702
|
colors?: number | undefined;
|
|
@@ -829,8 +915,11 @@ export declare const Jimp: {
|
|
|
829
915
|
bitmap: import("@jimp/types").Bitmap;
|
|
830
916
|
background: number;
|
|
831
917
|
formats: import("@jimp/types").Format<any>[];
|
|
918
|
+
mime?: string;
|
|
832
919
|
inspect(): string;
|
|
833
920
|
toString(): string;
|
|
921
|
+
readonly width: number;
|
|
922
|
+
readonly height: number;
|
|
834
923
|
getBuffer<ProvidedMimeType extends "image/bmp" | "image/tiff" | "image/x-ms-bmp" | "image/gif" | "image/jpeg" | "image/png", Options extends (Record<"image/bmp", {
|
|
835
924
|
palette?: import("@jimp/js-bmp").BmpColor[] | undefined;
|
|
836
925
|
colors?: number | undefined;
|
|
@@ -976,8 +1065,11 @@ export declare const Jimp: {
|
|
|
976
1065
|
bitmap: import("@jimp/types").Bitmap;
|
|
977
1066
|
background: number;
|
|
978
1067
|
formats: import("@jimp/types").Format<any>[];
|
|
1068
|
+
mime?: string;
|
|
979
1069
|
inspect(): string;
|
|
980
1070
|
toString(): string;
|
|
1071
|
+
readonly width: number;
|
|
1072
|
+
readonly height: number;
|
|
981
1073
|
getBuffer<ProvidedMimeType extends "image/bmp" | "image/tiff" | "image/x-ms-bmp" | "image/gif" | "image/jpeg" | "image/png", Options extends (Record<"image/bmp", {
|
|
982
1074
|
palette?: import("@jimp/js-bmp").BmpColor[] | undefined;
|
|
983
1075
|
colors?: number | undefined;
|
|
@@ -1196,8 +1288,11 @@ export declare const Jimp: {
|
|
|
1196
1288
|
bitmap: import("@jimp/types").Bitmap;
|
|
1197
1289
|
background: number;
|
|
1198
1290
|
formats: import("@jimp/types").Format<any>[];
|
|
1291
|
+
mime?: string;
|
|
1199
1292
|
inspect(): string;
|
|
1200
1293
|
toString(): string;
|
|
1294
|
+
readonly width: number;
|
|
1295
|
+
readonly height: number;
|
|
1201
1296
|
getBuffer<ProvidedMimeType extends "image/bmp" | "image/tiff" | "image/x-ms-bmp" | "image/gif" | "image/jpeg" | "image/png", Options extends (Record<"image/bmp", {
|
|
1202
1297
|
palette?: import("@jimp/js-bmp").BmpColor[] | undefined;
|
|
1203
1298
|
colors?: number | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH,OAAO,GAAG,EAAE,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,GAAG,MAAM,cAAc,CAAC;AAC/B,OAAO,IAAI,MAAM,eAAe,CAAC;AACjC,OAAO,GAAG,MAAM,cAAc,CAAC;AAC/B,OAAO,IAAI,MAAM,eAAe,CAAC;AAEjC,OAAO,KAAK,IAAI,MAAM,mBAAmB,CAAC;AAE1C,OAAO,KAAK,MAAM,MAAM,qBAAqB,CAAC;AAC9C,OAAO,KAAK,KAAK,MAAM,oBAAoB,CAAC;AAC5C,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,KAAK,MAAM,oBAAoB,CAAC;AAC5C,OAAO,KAAK,IAAI,MAAM,mBAAmB,CAAC;AAC1C,OAAO,KAAK,QAAQ,MAAM,uBAAuB,CAAC;AAElD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,IAAI,MAAM,mBAAmB,CAAC;AAE1C,OAAO,KAAK,IAAI,MAAM,mBAAmB,CAAC;AAC1C,OAAO,KAAK,KAAK,MAAM,oBAA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AE,IAAI,EAAE,MAAM,YAAY,CAAC;AAClC,OAAO,EACL,SAAS,EACT,SAAS,EACT,SAAS,EACT,QAAQ,EACR,aAAa,GACd,MAAM,aAAa,CAAC;AACrB,YAAY,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,YAAY,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAC3D,YAAY,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAC7D,YAAY,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACvD,YAAY,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC"}
|
package/dist/commonjs/index.js
CHANGED
|
@@ -29,7 +29,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
29
29
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
30
30
|
};
|
|
31
31
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
32
|
-
exports.cssColorToHex = exports.limit255 = exports.colorDiff = exports.rgbaToInt = exports.intToRGBA = exports.diff = exports.loadFont = exports.BlendMode = exports.VerticalAlign = exports.HorizontalAlign = exports.BmpCompression = exports.PNGFilterType = exports.PNGColorType = exports.compareHashes = exports.distance = exports.ResizeStrategy = exports.Jimp = void 0;
|
|
32
|
+
exports.cssColorToHex = exports.limit255 = exports.colorDiff = exports.rgbaToInt = exports.intToRGBA = exports.diff = exports.loadFont = exports.BlendMode = exports.VerticalAlign = exports.HorizontalAlign = exports.BmpCompression = exports.PNGFilterType = exports.PNGColorType = exports.compareHashes = exports.distance = exports.ResizeStrategy = exports.Jimp = exports.defaultFormats = exports.defaultPlugins = void 0;
|
|
33
33
|
// import { Jimp } from "@jimp/core";
|
|
34
34
|
const js_bmp_1 = __importStar(require("@jimp/js-bmp"));
|
|
35
35
|
const js_gif_1 = __importDefault(require("@jimp/js-gif"));
|
|
@@ -55,6 +55,27 @@ const rotate = __importStar(require("@jimp/plugin-rotate"));
|
|
|
55
55
|
const threshold = __importStar(require("@jimp/plugin-threshold"));
|
|
56
56
|
const quantize = __importStar(require("@jimp/plugin-quantize"));
|
|
57
57
|
const core_1 = require("@jimp/core");
|
|
58
|
+
exports.defaultPlugins = [
|
|
59
|
+
blit.methods,
|
|
60
|
+
blur.methods,
|
|
61
|
+
circle.methods,
|
|
62
|
+
color.methods,
|
|
63
|
+
contain.methods,
|
|
64
|
+
cover.methods,
|
|
65
|
+
crop.methods,
|
|
66
|
+
displace.methods,
|
|
67
|
+
dither.methods,
|
|
68
|
+
fisheye.methods,
|
|
69
|
+
flip.methods,
|
|
70
|
+
hash.methods,
|
|
71
|
+
mask.methods,
|
|
72
|
+
print.methods,
|
|
73
|
+
resize.methods,
|
|
74
|
+
rotate.methods,
|
|
75
|
+
threshold.methods,
|
|
76
|
+
quantize.methods,
|
|
77
|
+
];
|
|
78
|
+
exports.defaultFormats = [js_bmp_1.default, js_bmp_1.msBmp, js_gif_1.default, js_jpeg_1.default, js_png_1.default, js_tiff_1.default];
|
|
58
79
|
// TODO: This doesn't document the constructor of the class
|
|
59
80
|
/**
|
|
60
81
|
* @class
|
|
@@ -125,27 +146,8 @@ const core_1 = require("@jimp/core");
|
|
|
125
146
|
* ```
|
|
126
147
|
*/
|
|
127
148
|
exports.Jimp = (0, core_1.createJimp)({
|
|
128
|
-
formats:
|
|
129
|
-
plugins:
|
|
130
|
-
blit.methods,
|
|
131
|
-
blur.methods,
|
|
132
|
-
circle.methods,
|
|
133
|
-
color.methods,
|
|
134
|
-
contain.methods,
|
|
135
|
-
cover.methods,
|
|
136
|
-
crop.methods,
|
|
137
|
-
displace.methods,
|
|
138
|
-
dither.methods,
|
|
139
|
-
fisheye.methods,
|
|
140
|
-
flip.methods,
|
|
141
|
-
hash.methods,
|
|
142
|
-
mask.methods,
|
|
143
|
-
print.methods,
|
|
144
|
-
resize.methods,
|
|
145
|
-
rotate.methods,
|
|
146
|
-
threshold.methods,
|
|
147
|
-
quantize.methods,
|
|
148
|
-
],
|
|
149
|
+
formats: exports.defaultFormats,
|
|
150
|
+
plugins: exports.defaultPlugins,
|
|
149
151
|
});
|
|
150
152
|
var plugin_resize_1 = require("@jimp/plugin-resize");
|
|
151
153
|
Object.defineProperty(exports, "ResizeStrategy", { enumerable: true, get: function () { return plugin_resize_1.ResizeStrategy; } });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,qCAAqC;AAErC,uDAA0C;AAC1C,0DAA+B;AAC/B,4DAAiC;AACjC,0DAA+B;AAC/B,4DAAiC;AAEjC,wDAA0C;AAC1C,wDAA0C;AAC1C,4DAA8C;AAC9C,0DAA4C;AAC5C,8DAAgD;AAChD,0DAA4C;AAC5C,wDAA0C;AAC1C,gEAAkD;AAClD,4DAA8C;AAC9C,8DAAgD;AAChD,wDAA0C;AAC1C,wDAA0C;AAC1C,wDAA0C;AAC1C,0DAA4C;AAC5C,4DAA8C;AAC9C,4DAA8C;AAC9C,kEAAoD;AACpD,gEAAkD;AAElD,qCAAwC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,qCAAqC;AAErC,uDAA0C;AAC1C,0DAA+B;AAC/B,4DAAiC;AACjC,0DAA+B;AAC/B,4DAAiC;AAEjC,wDAA0C;AAC1C,wDAA0C;AAC1C,4DAA8C;AAC9C,0DAA4C;AAC5C,8DAAgD;AAChD,0DAA4C;AAC5C,wDAA0C;AAC1C,gEAAkD;AAClD,4DAA8C;AAC9C,8DAAgD;AAChD,wDAA0C;AAC1C,wDAA0C;AAC1C,wDAA0C;AAC1C,0DAA4C;AAC5C,4DAA8C;AAC9C,4DAA8C;AAC9C,kEAAoD;AACpD,gEAAkD;AAElD,qCAAwC;AAE3B,QAAA,cAAc,GAAG;IAC5B,IAAI,CA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,OAAA;AACT,iGAAA,QAAQ,OAAA;AACR,sGAAA,aAAa,OAAA"}
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -21,6 +21,80 @@ import * as resize from "@jimp/plugin-resize";
|
|
|
21
21
|
import * as rotate from "@jimp/plugin-rotate";
|
|
22
22
|
import * as threshold from "@jimp/plugin-threshold";
|
|
23
23
|
import * as quantize from "@jimp/plugin-quantize";
|
|
24
|
+
export declare const defaultPlugins: ({
|
|
25
|
+
blit<I extends import("@jimp/types").JimpClass>(image: I, options: blit.BlitOptions): I;
|
|
26
|
+
} | {
|
|
27
|
+
blur<I extends import("@jimp/types").JimpClass>(image: I, r: number): I;
|
|
28
|
+
gaussian<I extends import("@jimp/types").JimpClass>(image: I, r: number): I;
|
|
29
|
+
} | {
|
|
30
|
+
circle<I extends import("@jimp/types").JimpClass>(image: I, options?: circle.CircleOptions): I;
|
|
31
|
+
} | {
|
|
32
|
+
normalize<I extends import("@jimp/types").JimpClass>(image: I): I;
|
|
33
|
+
invert<I extends import("@jimp/types").JimpClass>(image: I): I;
|
|
34
|
+
brightness<I extends import("@jimp/types").JimpClass>(image: I, val: number): I;
|
|
35
|
+
contrast<I extends import("@jimp/types").JimpClass>(image: I, val: number): I;
|
|
36
|
+
posterize<I extends import("@jimp/types").JimpClass>(image: I, n: number): I;
|
|
37
|
+
greyscale<I extends import("@jimp/types").JimpClass>(image: I): I;
|
|
38
|
+
opacity<I extends import("@jimp/types").JimpClass>(image: I, f: number): I;
|
|
39
|
+
sepia<I extends import("@jimp/types").JimpClass>(image: I): I;
|
|
40
|
+
fade<I extends import("@jimp/types").JimpClass>(image: I, f: number): I;
|
|
41
|
+
convolution<I extends import("@jimp/types").JimpClass>(image: I, options: {
|
|
42
|
+
kernel: number[][];
|
|
43
|
+
edgeHandling?: import("@jimp/types").Edge | undefined;
|
|
44
|
+
} | number[][]): I;
|
|
45
|
+
opaque<I extends import("@jimp/types").JimpClass>(image: I): I;
|
|
46
|
+
pixelate<I extends import("@jimp/types").JimpClass>(image: I, options: number | {
|
|
47
|
+
size: number;
|
|
48
|
+
x?: number | undefined;
|
|
49
|
+
y?: number | undefined;
|
|
50
|
+
w?: number | undefined;
|
|
51
|
+
h?: number | undefined;
|
|
52
|
+
}): I;
|
|
53
|
+
convolute<I extends import("@jimp/types").JimpClass>(image: I, options: number[][] | {
|
|
54
|
+
kernel: number[][];
|
|
55
|
+
x?: number | undefined;
|
|
56
|
+
y?: number | undefined;
|
|
57
|
+
w?: number | undefined;
|
|
58
|
+
h?: number | undefined;
|
|
59
|
+
}): I;
|
|
60
|
+
color<I extends import("@jimp/types").JimpClass>(image: I, actions: color.ColorAction[]): I;
|
|
61
|
+
} | {
|
|
62
|
+
contain<I extends import("@jimp/types").JimpClass>(image: I, options: contain.ContainOptions): I;
|
|
63
|
+
} | {
|
|
64
|
+
cover<I extends import("@jimp/types").JimpClass>(image: I, options: cover.CoverOptions): I;
|
|
65
|
+
} | {
|
|
66
|
+
crop<I extends import("@jimp/types").JimpClass>(image: I, options: crop.CropOptions): I;
|
|
67
|
+
autocrop<I extends import("@jimp/types").JimpClass>(image: I, options?: crop.AutocropOptions): I;
|
|
68
|
+
} | {
|
|
69
|
+
displace<I extends import("@jimp/types").JimpClass>(image: I, options: displace.DisplaceOptions): I;
|
|
70
|
+
} | {
|
|
71
|
+
dither<I extends import("@jimp/types").JimpClass>(image: I): I;
|
|
72
|
+
} | {
|
|
73
|
+
fisheye<I extends import("@jimp/types").JimpClass>(image: I, options?: fisheye.FisheyeOptions): I;
|
|
74
|
+
} | {
|
|
75
|
+
flip<I extends import("@jimp/types").JimpClass>(image: I, options: flip.FlipOptions): I;
|
|
76
|
+
} | {
|
|
77
|
+
pHash<I extends import("@jimp/types").JimpClass>(image: I): string;
|
|
78
|
+
hash<I extends import("@jimp/types").JimpClass>(image: I, base?: number): string;
|
|
79
|
+
distanceFromHash<I extends import("@jimp/types").JimpClass>(image: I, compareHash: string): number;
|
|
80
|
+
} | {
|
|
81
|
+
mask<I extends import("@jimp/types").JimpClass>(image: I, options: mask.MaskOptions): I;
|
|
82
|
+
} | {
|
|
83
|
+
print<I extends import("@jimp/types").JimpClass>(image: I, { font, ...options }: print.PrintOptions & {
|
|
84
|
+
font: print.BmFont<I>;
|
|
85
|
+
}): I;
|
|
86
|
+
} | {
|
|
87
|
+
resize<I extends import("@jimp/types").JimpClass>(image: I, options: resize.ResizeOptions): I;
|
|
88
|
+
scale<I extends import("@jimp/types").JimpClass>(image: I, options: resize.ScaleOptions): I;
|
|
89
|
+
scaleToFit<I extends import("@jimp/types").JimpClass>(image: I, options: resize.ScaleToFitOptions): I;
|
|
90
|
+
} | {
|
|
91
|
+
rotate<I extends import("@jimp/types").JimpClass>(image: I, options: rotate.RotateOptions): I;
|
|
92
|
+
} | {
|
|
93
|
+
threshold<I extends import("@jimp/types").JimpClass>(image: I, options: threshold.ThresholdOptions): I;
|
|
94
|
+
} | {
|
|
95
|
+
quantize<I extends import("@jimp/types").JimpClass>(image: I, options: quantize.QuantizeOptions): I;
|
|
96
|
+
})[];
|
|
97
|
+
export declare const defaultFormats: (typeof bmp | typeof msBmp | typeof gif | typeof jpeg | typeof png | typeof tiff)[];
|
|
24
98
|
/**
|
|
25
99
|
* @class
|
|
26
100
|
*
|
|
@@ -94,8 +168,11 @@ export declare const Jimp: {
|
|
|
94
168
|
bitmap: import("@jimp/types").Bitmap;
|
|
95
169
|
background: number;
|
|
96
170
|
formats: import("@jimp/types").Format<any>[];
|
|
171
|
+
mime?: string;
|
|
97
172
|
inspect(): string;
|
|
98
173
|
toString(): string;
|
|
174
|
+
readonly width: number;
|
|
175
|
+
readonly height: number;
|
|
99
176
|
getBuffer<ProvidedMimeType extends "image/bmp" | "image/tiff" | "image/x-ms-bmp" | "image/gif" | "image/jpeg" | "image/png", Options extends (Record<"image/bmp", {
|
|
100
177
|
palette?: import("@jimp/js-bmp").BmpColor[] | undefined;
|
|
101
178
|
colors?: number | undefined;
|
|
@@ -242,8 +319,11 @@ export declare const Jimp: {
|
|
|
242
319
|
bitmap: import("@jimp/types").Bitmap;
|
|
243
320
|
background: number;
|
|
244
321
|
formats: import("@jimp/types").Format<any>[];
|
|
322
|
+
mime?: string;
|
|
245
323
|
inspect(): string;
|
|
246
324
|
toString(): string;
|
|
325
|
+
readonly width: number;
|
|
326
|
+
readonly height: number;
|
|
247
327
|
getBuffer<ProvidedMimeType extends "image/bmp" | "image/tiff" | "image/x-ms-bmp" | "image/gif" | "image/jpeg" | "image/png", Options extends (Record<"image/bmp", {
|
|
248
328
|
palette?: import("@jimp/js-bmp").BmpColor[] | undefined;
|
|
249
329
|
colors?: number | undefined;
|
|
@@ -389,8 +469,11 @@ export declare const Jimp: {
|
|
|
389
469
|
bitmap: import("@jimp/types").Bitmap;
|
|
390
470
|
background: number;
|
|
391
471
|
formats: import("@jimp/types").Format<any>[];
|
|
472
|
+
mime?: string;
|
|
392
473
|
inspect(): string;
|
|
393
474
|
toString(): string;
|
|
475
|
+
readonly width: number;
|
|
476
|
+
readonly height: number;
|
|
394
477
|
getBuffer<ProvidedMimeType extends "image/bmp" | "image/tiff" | "image/x-ms-bmp" | "image/gif" | "image/jpeg" | "image/png", Options extends (Record<"image/bmp", {
|
|
395
478
|
palette?: import("@jimp/js-bmp").BmpColor[] | undefined;
|
|
396
479
|
colors?: number | undefined;
|
|
@@ -609,8 +692,11 @@ export declare const Jimp: {
|
|
|
609
692
|
bitmap: import("@jimp/types").Bitmap;
|
|
610
693
|
background: number;
|
|
611
694
|
formats: import("@jimp/types").Format<any>[];
|
|
695
|
+
mime?: string;
|
|
612
696
|
inspect(): string;
|
|
613
697
|
toString(): string;
|
|
698
|
+
readonly width: number;
|
|
699
|
+
readonly height: number;
|
|
614
700
|
getBuffer<ProvidedMimeType extends ReturnType<typeof bmp | typeof msBmp | typeof gif | typeof jpeg | typeof png | typeof tiff>["mime"], Options extends (Record<"image/bmp", {
|
|
615
701
|
palette?: import("@jimp/js-bmp").BmpColor[] | undefined;
|
|
616
702
|
colors?: number | undefined;
|
|
@@ -829,8 +915,11 @@ export declare const Jimp: {
|
|
|
829
915
|
bitmap: import("@jimp/types").Bitmap;
|
|
830
916
|
background: number;
|
|
831
917
|
formats: import("@jimp/types").Format<any>[];
|
|
918
|
+
mime?: string;
|
|
832
919
|
inspect(): string;
|
|
833
920
|
toString(): string;
|
|
921
|
+
readonly width: number;
|
|
922
|
+
readonly height: number;
|
|
834
923
|
getBuffer<ProvidedMimeType extends "image/bmp" | "image/tiff" | "image/x-ms-bmp" | "image/gif" | "image/jpeg" | "image/png", Options extends (Record<"image/bmp", {
|
|
835
924
|
palette?: import("@jimp/js-bmp").BmpColor[] | undefined;
|
|
836
925
|
colors?: number | undefined;
|
|
@@ -976,8 +1065,11 @@ export declare const Jimp: {
|
|
|
976
1065
|
bitmap: import("@jimp/types").Bitmap;
|
|
977
1066
|
background: number;
|
|
978
1067
|
formats: import("@jimp/types").Format<any>[];
|
|
1068
|
+
mime?: string;
|
|
979
1069
|
inspect(): string;
|
|
980
1070
|
toString(): string;
|
|
1071
|
+
readonly width: number;
|
|
1072
|
+
readonly height: number;
|
|
981
1073
|
getBuffer<ProvidedMimeType extends "image/bmp" | "image/tiff" | "image/x-ms-bmp" | "image/gif" | "image/jpeg" | "image/png", Options extends (Record<"image/bmp", {
|
|
982
1074
|
palette?: import("@jimp/js-bmp").BmpColor[] | undefined;
|
|
983
1075
|
colors?: number | undefined;
|
|
@@ -1196,8 +1288,11 @@ export declare const Jimp: {
|
|
|
1196
1288
|
bitmap: import("@jimp/types").Bitmap;
|
|
1197
1289
|
background: number;
|
|
1198
1290
|
formats: import("@jimp/types").Format<any>[];
|
|
1291
|
+
mime?: string;
|
|
1199
1292
|
inspect(): string;
|
|
1200
1293
|
toString(): string;
|
|
1294
|
+
readonly width: number;
|
|
1295
|
+
readonly height: number;
|
|
1201
1296
|
getBuffer<ProvidedMimeType extends "image/bmp" | "image/tiff" | "image/x-ms-bmp" | "image/gif" | "image/jpeg" | "image/png", Options extends (Record<"image/bmp", {
|
|
1202
1297
|
palette?: import("@jimp/js-bmp").BmpColor[] | undefined;
|
|
1203
1298
|
colors?: number | undefined;
|
package/dist/esm/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH,OAAO,GAAG,EAAE,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,GAAG,MAAM,cAAc,CAAC;AAC/B,OAAO,IAAI,MAAM,eAAe,CAAC;AACjC,OAAO,GAAG,MAAM,cAAc,CAAC;AAC/B,OAAO,IAAI,MAAM,eAAe,CAAC;AAEjC,OAAO,KAAK,IAAI,MAAM,mBAAmB,CAAC;AAE1C,OAAO,KAAK,MAAM,MAAM,qBAAqB,CAAC;AAC9C,OAAO,KAAK,KAAK,MAAM,oBAAoB,CAAC;AAC5C,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,KAAK,MAAM,oBAAoB,CAAC;AAC5C,OAAO,KAAK,IAAI,MAAM,mBAAmB,CAAC;AAC1C,OAAO,KAAK,QAAQ,MAAM,uBAAuB,CAAC;AAElD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,IAAI,MAAM,mBAAmB,CAAC;AAE1C,OAAO,KAAK,IAAI,MAAM,mBAAmB,CAAC;AAC1C,OAAO,KAAK,KAAK,MAAM,oBAAoB,CAAC;AAC5C,OAAO,KAAK,MAAM,MAAM,qBAAqB,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,qBAAqB,CAAC;AAC9C,OAAO,KAAK,SAAS,MAAM,wBAAwB,CAAC;AACpD,OAAO,KAAK,QAAQ,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH,OAAO,GAAG,EAAE,EAAE,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AM,oBAAoB,CAAC;AACvD,YAAY,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC"}
|
package/dist/esm/index.js
CHANGED
|
@@ -26,6 +26,27 @@ import * as rotate from "@jimp/plugin-rotate";
|
|
|
26
26
|
import * as threshold from "@jimp/plugin-threshold";
|
|
27
27
|
import * as quantize from "@jimp/plugin-quantize";
|
|
28
28
|
import { createJimp } from "@jimp/core";
|
|
29
|
+
export const defaultPlugins = [
|
|
30
|
+
blit.methods,
|
|
31
|
+
blur.methods,
|
|
32
|
+
circle.methods,
|
|
33
|
+
color.methods,
|
|
34
|
+
contain.methods,
|
|
35
|
+
cover.methods,
|
|
36
|
+
crop.methods,
|
|
37
|
+
displace.methods,
|
|
38
|
+
dither.methods,
|
|
39
|
+
fisheye.methods,
|
|
40
|
+
flip.methods,
|
|
41
|
+
hash.methods,
|
|
42
|
+
mask.methods,
|
|
43
|
+
print.methods,
|
|
44
|
+
resize.methods,
|
|
45
|
+
rotate.methods,
|
|
46
|
+
threshold.methods,
|
|
47
|
+
quantize.methods,
|
|
48
|
+
];
|
|
49
|
+
export const defaultFormats = [bmp, msBmp, gif, jpeg, png, tiff];
|
|
29
50
|
// TODO: This doesn't document the constructor of the class
|
|
30
51
|
/**
|
|
31
52
|
* @class
|
|
@@ -96,27 +117,8 @@ import { createJimp } from "@jimp/core";
|
|
|
96
117
|
* ```
|
|
97
118
|
*/
|
|
98
119
|
export const Jimp = createJimp({
|
|
99
|
-
formats:
|
|
100
|
-
plugins:
|
|
101
|
-
blit.methods,
|
|
102
|
-
blur.methods,
|
|
103
|
-
circle.methods,
|
|
104
|
-
color.methods,
|
|
105
|
-
contain.methods,
|
|
106
|
-
cover.methods,
|
|
107
|
-
crop.methods,
|
|
108
|
-
displace.methods,
|
|
109
|
-
dither.methods,
|
|
110
|
-
fisheye.methods,
|
|
111
|
-
flip.methods,
|
|
112
|
-
hash.methods,
|
|
113
|
-
mask.methods,
|
|
114
|
-
print.methods,
|
|
115
|
-
resize.methods,
|
|
116
|
-
rotate.methods,
|
|
117
|
-
threshold.methods,
|
|
118
|
-
quantize.methods,
|
|
119
|
-
],
|
|
120
|
+
formats: defaultFormats,
|
|
121
|
+
plugins: defaultPlugins,
|
|
120
122
|
});
|
|
121
123
|
export { ResizeStrategy } from "@jimp/plugin-resize";
|
|
122
124
|
export { distance, compareHashes } from "@jimp/plugin-hash";
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,qCAAqC;AAErC,OAAO,GAAG,EAAE,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,GAAG,MAAM,cAAc,CAAC;AAC/B,OAAO,IAAI,MAAM,eAAe,CAAC;AACjC,OAAO,GAAG,MAAM,cAAc,CAAC;AAC/B,OAAO,IAAI,MAAM,eAAe,CAAC;AAEjC,OAAO,KAAK,IAAI,MAAM,mBAAmB,CAAC;AAC1C,OAAO,KAAK,IAAI,MAAM,mBAAmB,CAAC;AAC1C,OAAO,KAAK,MAAM,MAAM,qBAAqB,CAAC;AAC9C,OAAO,KAAK,KAAK,MAAM,oBAAoB,CAAC;AAC5C,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,KAAK,MAAM,oBAAoB,CAAC;AAC5C,OAAO,KAAK,IAAI,MAAM,mBAAmB,CAAC;AAC1C,OAAO,KAAK,QAAQ,MAAM,uBAAuB,CAAC;AAClD,OAAO,KAAK,MAAM,MAAM,qBAAqB,CAAC;AAC9C,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,IAAI,MAAM,mBAAmB,CAAC;AAC1C,OAAO,KAAK,IAAI,MAAM,mBAAmB,CAAC;AAC1C,OAAO,KAAK,IAAI,MAAM,mBAAmB,CAAC;AAC1C,OAAO,KAAK,KAAK,MAAM,oBAAoB,CAAC;AAC5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O,EAAE,eAAe,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAOvE,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAClC,OAAO,EACL,SAAS,EACT,SAAS,EACT,SAAS,EACT,QAAQ,EACR,aAAa,GACd,MAAM,aAAa,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jimp",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"description": "An image processing library written entirely in JavaScript.",
|
|
6
6
|
"files": [
|
|
@@ -40,39 +40,39 @@
|
|
|
40
40
|
"author": "Andrew Lisowski <lisowski54@gmail.com>",
|
|
41
41
|
"license": "MIT",
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@jimp/core": "1.
|
|
44
|
-
"@jimp/diff": "1.
|
|
45
|
-
"@jimp/js-bmp": "1.
|
|
46
|
-
"@jimp/js-gif": "1.
|
|
47
|
-
"@jimp/js-jpeg": "1.
|
|
48
|
-
"@jimp/js-png": "1.
|
|
49
|
-
"@jimp/js-tiff": "1.
|
|
50
|
-
"@jimp/plugin-blit": "1.
|
|
51
|
-
"@jimp/plugin-blur": "1.
|
|
52
|
-
"@jimp/plugin-circle": "1.
|
|
53
|
-
"@jimp/plugin-color": "1.
|
|
54
|
-
"@jimp/plugin-contain": "1.
|
|
55
|
-
"@jimp/plugin-cover": "1.
|
|
56
|
-
"@jimp/plugin-crop": "1.
|
|
57
|
-
"@jimp/plugin-displace": "1.
|
|
58
|
-
"@jimp/plugin-dither": "1.
|
|
59
|
-
"@jimp/plugin-fisheye": "1.
|
|
60
|
-
"@jimp/plugin-flip": "1.
|
|
61
|
-
"@jimp/plugin-hash": "1.
|
|
62
|
-
"@jimp/plugin-mask": "1.
|
|
63
|
-
"@jimp/plugin-print": "1.
|
|
64
|
-
"@jimp/plugin-quantize": "1.
|
|
65
|
-
"@jimp/plugin-resize": "1.
|
|
66
|
-
"@jimp/plugin-rotate": "1.
|
|
67
|
-
"@jimp/plugin-threshold": "1.
|
|
68
|
-
"@jimp/types": "1.
|
|
69
|
-
"@jimp/utils": "1.
|
|
43
|
+
"@jimp/core": "1.3.0",
|
|
44
|
+
"@jimp/diff": "1.3.0",
|
|
45
|
+
"@jimp/js-bmp": "1.3.0",
|
|
46
|
+
"@jimp/js-gif": "1.3.0",
|
|
47
|
+
"@jimp/js-jpeg": "1.3.0",
|
|
48
|
+
"@jimp/js-png": "1.3.0",
|
|
49
|
+
"@jimp/js-tiff": "1.3.0",
|
|
50
|
+
"@jimp/plugin-blit": "1.3.0",
|
|
51
|
+
"@jimp/plugin-blur": "1.3.0",
|
|
52
|
+
"@jimp/plugin-circle": "1.3.0",
|
|
53
|
+
"@jimp/plugin-color": "1.3.0",
|
|
54
|
+
"@jimp/plugin-contain": "1.3.0",
|
|
55
|
+
"@jimp/plugin-cover": "1.3.0",
|
|
56
|
+
"@jimp/plugin-crop": "1.3.0",
|
|
57
|
+
"@jimp/plugin-displace": "1.3.0",
|
|
58
|
+
"@jimp/plugin-dither": "1.3.0",
|
|
59
|
+
"@jimp/plugin-fisheye": "1.3.0",
|
|
60
|
+
"@jimp/plugin-flip": "1.3.0",
|
|
61
|
+
"@jimp/plugin-hash": "1.3.0",
|
|
62
|
+
"@jimp/plugin-mask": "1.3.0",
|
|
63
|
+
"@jimp/plugin-print": "1.3.0",
|
|
64
|
+
"@jimp/plugin-quantize": "1.3.0",
|
|
65
|
+
"@jimp/plugin-resize": "1.3.0",
|
|
66
|
+
"@jimp/plugin-rotate": "1.3.0",
|
|
67
|
+
"@jimp/plugin-threshold": "1.3.0",
|
|
68
|
+
"@jimp/types": "1.3.0",
|
|
69
|
+
"@jimp/utils": "1.3.0"
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
|
-
"@jimp/config-eslint": "1.
|
|
73
|
-
"@jimp/config-typescript": "1.
|
|
74
|
-
"@jimp/config-vitest": "1.
|
|
75
|
-
"@jimp/test-utils": "1.
|
|
72
|
+
"@jimp/config-eslint": "1.3.0",
|
|
73
|
+
"@jimp/config-typescript": "1.3.0",
|
|
74
|
+
"@jimp/config-vitest": "1.3.0",
|
|
75
|
+
"@jimp/test-utils": "1.3.0",
|
|
76
76
|
"@rollup/plugin-alias": "^5.1.0",
|
|
77
77
|
"@rollup/plugin-commonjs": "^26.0.1",
|
|
78
78
|
"@rollup/plugin-inject": "^5.0.5",
|
|
@@ -142,5 +142,5 @@
|
|
|
142
142
|
"access": "public"
|
|
143
143
|
},
|
|
144
144
|
"module": "./dist/esm/index.js",
|
|
145
|
-
"gitHead": "
|
|
145
|
+
"gitHead": "fb52a357ac774d6314a319fe43f8d0d022ac214c"
|
|
146
146
|
}
|