@digipair/skill-sharp 0.94.0-3 → 0.94.0-8

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.
@@ -1 +1,2 @@
1
1
  export * from './lib/skill-sharp';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC"}
@@ -19,3 +19,4 @@ export declare const png: (params: any, pinsSettingsList: PinsSettings[], contex
19
19
  export declare const webp: (params: any, pinsSettingsList: PinsSettings[], context: any) => Promise<string>;
20
20
  export declare const avif: (params: any, pinsSettingsList: PinsSettings[], context: any) => Promise<string>;
21
21
  export declare const composite: (params: any, pinsSettingsList: PinsSettings[], context: any) => Promise<string>;
22
+ //# sourceMappingURL=skill-sharp.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"skill-sharp.d.ts","sourceRoot":"","sources":["../../../src/lib/skill-sharp.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AA0KhD,eAAO,MAAM,QAAQ,GAAI,QAAQ,GAAG,EAAE,kBAAkB,YAAY,EAAE,EAAE,SAAS,GAAG,iBACpB,CAAC;AAEjE,eAAO,MAAM,KAAK,GAAI,QAAQ,GAAG,EAAE,kBAAkB,YAAY,EAAE,EAAE,SAAS,GAAG,iBACpB,CAAC;AAE9D,eAAO,MAAM,GAAG,GAAI,QAAQ,GAAG,EAAE,kBAAkB,YAAY,EAAE,EAAE,SAAS,GAAG,iBACpB,CAAC;AAE5D,eAAO,MAAM,MAAM,GAAI,QAAQ,GAAG,EAAE,kBAAkB,YAAY,EAAE,EAAE,SAAS,GAAG,oBACpB,CAAC;AAE/D,eAAO,MAAM,MAAM,GAAI,QAAQ,GAAG,EAAE,kBAAkB,YAAY,EAAE,EAAE,SAAS,GAAG,oBACpB,CAAC;AAE/D,eAAO,MAAM,OAAO,GAAI,QAAQ,GAAG,EAAE,kBAAkB,YAAY,EAAE,EAAE,SAAS,GAAG,oBACpB,CAAC;AAEhE,eAAO,MAAM,IAAI,GAAI,QAAQ,GAAG,EAAE,kBAAkB,YAAY,EAAE,EAAE,SAAS,GAAG,oBACpB,CAAC;AAE7D,eAAO,MAAM,IAAI,GAAI,QAAQ,GAAG,EAAE,kBAAkB,YAAY,EAAE,EAAE,SAAS,GAAG,oBACpB,CAAC;AAE7D,eAAO,MAAM,SAAS,GAAI,QAAQ,GAAG,EAAE,kBAAkB,YAAY,EAAE,EAAE,SAAS,GAAG,oBACpB,CAAC;AAElE,eAAO,MAAM,MAAM,GAAI,QAAQ,GAAG,EAAE,kBAAkB,YAAY,EAAE,EAAE,SAAS,GAAG,oBACpB,CAAC;AAE/D,eAAO,MAAM,IAAI,GAAI,QAAQ,GAAG,EAAE,kBAAkB,YAAY,EAAE,EAAE,SAAS,GAAG,oBACpB,CAAC;AAE7D,eAAO,MAAM,QAAQ,GAAI,QAAQ,GAAG,EAAE,kBAAkB,YAAY,EAAE,EAAE,SAAS,GAAG,oBACpB,CAAC;AAEjE,eAAO,MAAM,IAAI,GAAI,QAAQ,GAAG,EAAE,kBAAkB,YAAY,EAAE,EAAE,SAAS,GAAG,oBACpB,CAAC;AAE7D,eAAO,MAAM,OAAO,GAAI,QAAQ,GAAG,EAAE,kBAAkB,YAAY,EAAE,EAAE,SAAS,GAAG,oBACpB,CAAC;AAEhE,eAAO,MAAM,QAAQ,GAAI,QAAQ,GAAG,EAAE,kBAAkB,YAAY,EAAE,EAAE,SAAS,GAAG,oBACpB,CAAC;AAEjE,eAAO,MAAM,IAAI,GAAI,QAAQ,GAAG,EAAE,kBAAkB,YAAY,EAAE,EAAE,SAAS,GAAG,oBACpB,CAAC;AAE7D,eAAO,MAAM,GAAG,GAAI,QAAQ,GAAG,EAAE,kBAAkB,YAAY,EAAE,EAAE,SAAS,GAAG,oBACpB,CAAC;AAE5D,eAAO,MAAM,IAAI,GAAI,QAAQ,GAAG,EAAE,kBAAkB,YAAY,EAAE,EAAE,SAAS,GAAG,oBACpB,CAAC;AAE7D,eAAO,MAAM,IAAI,GAAI,QAAQ,GAAG,EAAE,kBAAkB,YAAY,EAAE,EAAE,SAAS,GAAG,oBACpB,CAAC;AAE7D,eAAO,MAAM,SAAS,GAAI,QAAQ,GAAG,EAAE,kBAAkB,YAAY,EAAE,EAAE,SAAS,GAAG,oBACpB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=skill-sharp.spec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"skill-sharp.spec.d.ts","sourceRoot":"","sources":["../../../src/lib/skill-sharp.spec.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,14 +1,28 @@
1
1
  {
2
2
  "name": "@digipair/skill-sharp",
3
- "version": "0.94.0-3",
3
+ "version": "0.94.0-8",
4
+ "main": "./dist/index.cjs.js",
5
+ "module": "./dist/index.esm.js",
6
+ "types": "./dist/index.d.ts",
4
7
  "keywords": [
5
8
  "digipair",
6
9
  "service",
7
10
  "tool"
8
11
  ],
9
- "dependencies": {
10
- "sharp": "^0.34.1"
12
+ "exports": {
13
+ "./package.json": "./package.json",
14
+ ".": {
15
+ "types": "./dist/index.d.ts",
16
+ "import": "./dist/index.esm.js",
17
+ "default": "./dist/index.cjs.js"
18
+ }
11
19
  },
12
- "main": "./index.cjs.js",
13
- "module": "./index.esm.js"
14
- }
20
+ "files": [
21
+ "dist",
22
+ "!**/*.tsbuildinfo"
23
+ ],
24
+ "nx": {
25
+ "name": "skill-sharp"
26
+ },
27
+ "dependencies": {}
28
+ }
package/index.cjs.js DELETED
@@ -1,218 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var sharp = require('sharp');
6
-
7
- function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
-
9
- var sharp__default = /*#__PURE__*/_interopDefaultLegacy(sharp);
10
-
11
- let SharpService = class SharpService {
12
- async loadImage(content) {
13
- const matches = content.match(/^data:(image\/[a-zA-Z]+);base64,(.+)$/);
14
- if (!matches) throw new Error('Invalid base64 image format');
15
- const [, mimeType, base64Data] = matches;
16
- const buffer = Buffer.from(base64Data, 'base64');
17
- return {
18
- image: sharp__default["default"](buffer),
19
- mimeType
20
- };
21
- }
22
- async toBase64(image, outputMime) {
23
- const buffer = await image.toBuffer();
24
- return `data:${outputMime};base64,${buffer.toString('base64')}`;
25
- }
26
- async metadata(params, _pinsSettingsList, _context) {
27
- const { content } = params;
28
- const { image } = await this.loadImage(content);
29
- return image.metadata();
30
- }
31
- async stats(params, _pinsSettingsList, _context) {
32
- const { content } = params;
33
- const { image } = await this.loadImage(content);
34
- return image.stats();
35
- }
36
- async raw(params, _pinsSettingsList, _context) {
37
- const { content } = params;
38
- const { image } = await this.loadImage(content);
39
- const buffer = await image.raw().toBuffer();
40
- return buffer.toString('base64');
41
- }
42
- async resize(params, _pinsSettingsList, _context) {
43
- const { content, width, height } = params;
44
- const { image, mimeType } = await this.loadImage(content);
45
- image.resize(width, height);
46
- return this.toBase64(image, mimeType);
47
- }
48
- async rotate(params, _pinsSettingsList, _context) {
49
- const { content, angle } = params;
50
- const { image, mimeType } = await this.loadImage(content);
51
- if (typeof angle === 'number') {
52
- image.rotate(angle);
53
- } else {
54
- image.rotate(); // auto based on EXIF
55
- }
56
- return this.toBase64(image, mimeType);
57
- }
58
- async extract(params, _pinsSettingsList, _context) {
59
- const { content, left, top, width, height } = params;
60
- const { image, mimeType } = await this.loadImage(content);
61
- image.extract({
62
- left,
63
- top,
64
- width,
65
- height
66
- });
67
- return this.toBase64(image, mimeType);
68
- }
69
- async flip(params, _pinsSettingsList, _context) {
70
- const { content } = params;
71
- const { image, mimeType } = await this.loadImage(content);
72
- image.flip();
73
- return this.toBase64(image, mimeType);
74
- }
75
- async flop(params, _pinsSettingsList, _context) {
76
- const { content } = params;
77
- const { image, mimeType } = await this.loadImage(content);
78
- image.flop();
79
- return this.toBase64(image, mimeType);
80
- }
81
- async grayscale(params, _pinsSettingsList, _context) {
82
- const { content } = params;
83
- const { image, mimeType } = await this.loadImage(content);
84
- image.grayscale();
85
- return this.toBase64(image, mimeType);
86
- }
87
- async negate(params, _pinsSettingsList, _context) {
88
- const { content } = params;
89
- const { image, mimeType } = await this.loadImage(content);
90
- image.negate();
91
- return this.toBase64(image, mimeType);
92
- }
93
- async tint(params, _pinsSettingsList, _context) {
94
- const { content, r, g, b } = params;
95
- const { image, mimeType } = await this.loadImage(content);
96
- image.tint({
97
- r,
98
- g,
99
- b
100
- });
101
- return this.toBase64(image, mimeType);
102
- }
103
- async modulate(params, _pinsSettingsList, _context) {
104
- const { content, brightness, saturation, hue } = params;
105
- const { image, mimeType } = await this.loadImage(content);
106
- image.modulate({
107
- brightness,
108
- saturation,
109
- hue
110
- });
111
- return this.toBase64(image, mimeType);
112
- }
113
- async blur(params, _pinsSettingsList, _context) {
114
- const { content, radius } = params;
115
- const { image, mimeType } = await this.loadImage(content);
116
- image.blur(radius);
117
- return this.toBase64(image, mimeType);
118
- }
119
- async sharpen(params, _pinsSettingsList, _context) {
120
- const { content } = params;
121
- const { image, mimeType } = await this.loadImage(content);
122
- image.sharpen();
123
- return this.toBase64(image, mimeType);
124
- }
125
- async toFormat(params, _pinsSettingsList, _context) {
126
- const { content, format } = params;
127
- const { image } = await this.loadImage(content);
128
- image.toFormat(format);
129
- return this.toBase64(image, `image/${format}`);
130
- }
131
- async jpeg(params, _pinsSettingsList, _context) {
132
- const { content, quality = 80 } = params;
133
- const { image } = await this.loadImage(content);
134
- image.jpeg({
135
- quality
136
- });
137
- return this.toBase64(image, 'image/jpeg');
138
- }
139
- async png(params, _pinsSettingsList, _context) {
140
- const { content, compressionLevel = 6 } = params;
141
- const { image } = await this.loadImage(content);
142
- image.png({
143
- compressionLevel
144
- });
145
- return this.toBase64(image, 'image/png');
146
- }
147
- async webp(params, _pinsSettingsList, _context) {
148
- const { content, quality = 80 } = params;
149
- const { image } = await this.loadImage(content);
150
- image.webp({
151
- quality
152
- });
153
- return this.toBase64(image, 'image/webp');
154
- }
155
- async avif(params, _pinsSettingsList, _context) {
156
- const { content, quality = 50 } = params;
157
- const { image } = await this.loadImage(content);
158
- image.avif({
159
- quality
160
- });
161
- return this.toBase64(image, 'image/avif');
162
- }
163
- async composite(params, _pinsSettingsList, _context) {
164
- const { content, overlays } = params;
165
- const { image, mimeType } = await this.loadImage(content);
166
- const inputs = await Promise.all(overlays.map(async (overlay)=>{
167
- const buffer = Buffer.from(overlay.input.replace(/^data:.*;base64,/, ''), 'base64');
168
- return {
169
- input: buffer,
170
- top: overlay.top,
171
- left: overlay.left
172
- };
173
- }));
174
- image.composite(inputs);
175
- return this.toBase64(image, mimeType);
176
- }
177
- };
178
- const metadata = (params, pinsSettingsList, context)=>new SharpService().metadata(params, pinsSettingsList, context);
179
- const stats = (params, pinsSettingsList, context)=>new SharpService().stats(params, pinsSettingsList, context);
180
- const raw = (params, pinsSettingsList, context)=>new SharpService().raw(params, pinsSettingsList, context);
181
- const resize = (params, pinsSettingsList, context)=>new SharpService().resize(params, pinsSettingsList, context);
182
- const rotate = (params, pinsSettingsList, context)=>new SharpService().rotate(params, pinsSettingsList, context);
183
- const extract = (params, pinsSettingsList, context)=>new SharpService().extract(params, pinsSettingsList, context);
184
- const flip = (params, pinsSettingsList, context)=>new SharpService().flip(params, pinsSettingsList, context);
185
- const flop = (params, pinsSettingsList, context)=>new SharpService().flop(params, pinsSettingsList, context);
186
- const grayscale = (params, pinsSettingsList, context)=>new SharpService().grayscale(params, pinsSettingsList, context);
187
- const negate = (params, pinsSettingsList, context)=>new SharpService().negate(params, pinsSettingsList, context);
188
- const tint = (params, pinsSettingsList, context)=>new SharpService().tint(params, pinsSettingsList, context);
189
- const modulate = (params, pinsSettingsList, context)=>new SharpService().modulate(params, pinsSettingsList, context);
190
- const blur = (params, pinsSettingsList, context)=>new SharpService().blur(params, pinsSettingsList, context);
191
- const sharpen = (params, pinsSettingsList, context)=>new SharpService().sharpen(params, pinsSettingsList, context);
192
- const toFormat = (params, pinsSettingsList, context)=>new SharpService().toFormat(params, pinsSettingsList, context);
193
- const jpeg = (params, pinsSettingsList, context)=>new SharpService().jpeg(params, pinsSettingsList, context);
194
- const png = (params, pinsSettingsList, context)=>new SharpService().png(params, pinsSettingsList, context);
195
- const webp = (params, pinsSettingsList, context)=>new SharpService().webp(params, pinsSettingsList, context);
196
- const avif = (params, pinsSettingsList, context)=>new SharpService().avif(params, pinsSettingsList, context);
197
- const composite = (params, pinsSettingsList, context)=>new SharpService().composite(params, pinsSettingsList, context);
198
-
199
- exports.avif = avif;
200
- exports.blur = blur;
201
- exports.composite = composite;
202
- exports.extract = extract;
203
- exports.flip = flip;
204
- exports.flop = flop;
205
- exports.grayscale = grayscale;
206
- exports.jpeg = jpeg;
207
- exports.metadata = metadata;
208
- exports.modulate = modulate;
209
- exports.negate = negate;
210
- exports.png = png;
211
- exports.raw = raw;
212
- exports.resize = resize;
213
- exports.rotate = rotate;
214
- exports.sharpen = sharpen;
215
- exports.stats = stats;
216
- exports.tint = tint;
217
- exports.toFormat = toFormat;
218
- exports.webp = webp;
package/index.d.ts DELETED
@@ -1 +0,0 @@
1
- export * from './libs/skill-sharp/src/index';
package/index.esm.js DELETED
@@ -1,191 +0,0 @@
1
- import sharp from 'sharp';
2
-
3
- let SharpService = class SharpService {
4
- async loadImage(content) {
5
- const matches = content.match(/^data:(image\/[a-zA-Z]+);base64,(.+)$/);
6
- if (!matches) throw new Error('Invalid base64 image format');
7
- const [, mimeType, base64Data] = matches;
8
- const buffer = Buffer.from(base64Data, 'base64');
9
- return {
10
- image: sharp(buffer),
11
- mimeType
12
- };
13
- }
14
- async toBase64(image, outputMime) {
15
- const buffer = await image.toBuffer();
16
- return `data:${outputMime};base64,${buffer.toString('base64')}`;
17
- }
18
- async metadata(params, _pinsSettingsList, _context) {
19
- const { content } = params;
20
- const { image } = await this.loadImage(content);
21
- return image.metadata();
22
- }
23
- async stats(params, _pinsSettingsList, _context) {
24
- const { content } = params;
25
- const { image } = await this.loadImage(content);
26
- return image.stats();
27
- }
28
- async raw(params, _pinsSettingsList, _context) {
29
- const { content } = params;
30
- const { image } = await this.loadImage(content);
31
- const buffer = await image.raw().toBuffer();
32
- return buffer.toString('base64');
33
- }
34
- async resize(params, _pinsSettingsList, _context) {
35
- const { content, width, height } = params;
36
- const { image, mimeType } = await this.loadImage(content);
37
- image.resize(width, height);
38
- return this.toBase64(image, mimeType);
39
- }
40
- async rotate(params, _pinsSettingsList, _context) {
41
- const { content, angle } = params;
42
- const { image, mimeType } = await this.loadImage(content);
43
- if (typeof angle === 'number') {
44
- image.rotate(angle);
45
- } else {
46
- image.rotate(); // auto based on EXIF
47
- }
48
- return this.toBase64(image, mimeType);
49
- }
50
- async extract(params, _pinsSettingsList, _context) {
51
- const { content, left, top, width, height } = params;
52
- const { image, mimeType } = await this.loadImage(content);
53
- image.extract({
54
- left,
55
- top,
56
- width,
57
- height
58
- });
59
- return this.toBase64(image, mimeType);
60
- }
61
- async flip(params, _pinsSettingsList, _context) {
62
- const { content } = params;
63
- const { image, mimeType } = await this.loadImage(content);
64
- image.flip();
65
- return this.toBase64(image, mimeType);
66
- }
67
- async flop(params, _pinsSettingsList, _context) {
68
- const { content } = params;
69
- const { image, mimeType } = await this.loadImage(content);
70
- image.flop();
71
- return this.toBase64(image, mimeType);
72
- }
73
- async grayscale(params, _pinsSettingsList, _context) {
74
- const { content } = params;
75
- const { image, mimeType } = await this.loadImage(content);
76
- image.grayscale();
77
- return this.toBase64(image, mimeType);
78
- }
79
- async negate(params, _pinsSettingsList, _context) {
80
- const { content } = params;
81
- const { image, mimeType } = await this.loadImage(content);
82
- image.negate();
83
- return this.toBase64(image, mimeType);
84
- }
85
- async tint(params, _pinsSettingsList, _context) {
86
- const { content, r, g, b } = params;
87
- const { image, mimeType } = await this.loadImage(content);
88
- image.tint({
89
- r,
90
- g,
91
- b
92
- });
93
- return this.toBase64(image, mimeType);
94
- }
95
- async modulate(params, _pinsSettingsList, _context) {
96
- const { content, brightness, saturation, hue } = params;
97
- const { image, mimeType } = await this.loadImage(content);
98
- image.modulate({
99
- brightness,
100
- saturation,
101
- hue
102
- });
103
- return this.toBase64(image, mimeType);
104
- }
105
- async blur(params, _pinsSettingsList, _context) {
106
- const { content, radius } = params;
107
- const { image, mimeType } = await this.loadImage(content);
108
- image.blur(radius);
109
- return this.toBase64(image, mimeType);
110
- }
111
- async sharpen(params, _pinsSettingsList, _context) {
112
- const { content } = params;
113
- const { image, mimeType } = await this.loadImage(content);
114
- image.sharpen();
115
- return this.toBase64(image, mimeType);
116
- }
117
- async toFormat(params, _pinsSettingsList, _context) {
118
- const { content, format } = params;
119
- const { image } = await this.loadImage(content);
120
- image.toFormat(format);
121
- return this.toBase64(image, `image/${format}`);
122
- }
123
- async jpeg(params, _pinsSettingsList, _context) {
124
- const { content, quality = 80 } = params;
125
- const { image } = await this.loadImage(content);
126
- image.jpeg({
127
- quality
128
- });
129
- return this.toBase64(image, 'image/jpeg');
130
- }
131
- async png(params, _pinsSettingsList, _context) {
132
- const { content, compressionLevel = 6 } = params;
133
- const { image } = await this.loadImage(content);
134
- image.png({
135
- compressionLevel
136
- });
137
- return this.toBase64(image, 'image/png');
138
- }
139
- async webp(params, _pinsSettingsList, _context) {
140
- const { content, quality = 80 } = params;
141
- const { image } = await this.loadImage(content);
142
- image.webp({
143
- quality
144
- });
145
- return this.toBase64(image, 'image/webp');
146
- }
147
- async avif(params, _pinsSettingsList, _context) {
148
- const { content, quality = 50 } = params;
149
- const { image } = await this.loadImage(content);
150
- image.avif({
151
- quality
152
- });
153
- return this.toBase64(image, 'image/avif');
154
- }
155
- async composite(params, _pinsSettingsList, _context) {
156
- const { content, overlays } = params;
157
- const { image, mimeType } = await this.loadImage(content);
158
- const inputs = await Promise.all(overlays.map(async (overlay)=>{
159
- const buffer = Buffer.from(overlay.input.replace(/^data:.*;base64,/, ''), 'base64');
160
- return {
161
- input: buffer,
162
- top: overlay.top,
163
- left: overlay.left
164
- };
165
- }));
166
- image.composite(inputs);
167
- return this.toBase64(image, mimeType);
168
- }
169
- };
170
- const metadata = (params, pinsSettingsList, context)=>new SharpService().metadata(params, pinsSettingsList, context);
171
- const stats = (params, pinsSettingsList, context)=>new SharpService().stats(params, pinsSettingsList, context);
172
- const raw = (params, pinsSettingsList, context)=>new SharpService().raw(params, pinsSettingsList, context);
173
- const resize = (params, pinsSettingsList, context)=>new SharpService().resize(params, pinsSettingsList, context);
174
- const rotate = (params, pinsSettingsList, context)=>new SharpService().rotate(params, pinsSettingsList, context);
175
- const extract = (params, pinsSettingsList, context)=>new SharpService().extract(params, pinsSettingsList, context);
176
- const flip = (params, pinsSettingsList, context)=>new SharpService().flip(params, pinsSettingsList, context);
177
- const flop = (params, pinsSettingsList, context)=>new SharpService().flop(params, pinsSettingsList, context);
178
- const grayscale = (params, pinsSettingsList, context)=>new SharpService().grayscale(params, pinsSettingsList, context);
179
- const negate = (params, pinsSettingsList, context)=>new SharpService().negate(params, pinsSettingsList, context);
180
- const tint = (params, pinsSettingsList, context)=>new SharpService().tint(params, pinsSettingsList, context);
181
- const modulate = (params, pinsSettingsList, context)=>new SharpService().modulate(params, pinsSettingsList, context);
182
- const blur = (params, pinsSettingsList, context)=>new SharpService().blur(params, pinsSettingsList, context);
183
- const sharpen = (params, pinsSettingsList, context)=>new SharpService().sharpen(params, pinsSettingsList, context);
184
- const toFormat = (params, pinsSettingsList, context)=>new SharpService().toFormat(params, pinsSettingsList, context);
185
- const jpeg = (params, pinsSettingsList, context)=>new SharpService().jpeg(params, pinsSettingsList, context);
186
- const png = (params, pinsSettingsList, context)=>new SharpService().png(params, pinsSettingsList, context);
187
- const webp = (params, pinsSettingsList, context)=>new SharpService().webp(params, pinsSettingsList, context);
188
- const avif = (params, pinsSettingsList, context)=>new SharpService().avif(params, pinsSettingsList, context);
189
- const composite = (params, pinsSettingsList, context)=>new SharpService().composite(params, pinsSettingsList, context);
190
-
191
- export { avif, blur, composite, extract, flip, flop, grayscale, jpeg, metadata, modulate, negate, png, raw, resize, rotate, sharpen, stats, tint, toFormat, webp };
File without changes
File without changes
File without changes