@rajeev02/camera 0.1.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/lib/capture/index.d.ts +180 -0
- package/lib/capture/index.d.ts.map +1 -0
- package/lib/capture/index.js +190 -0
- package/lib/capture/index.js.map +1 -0
- package/lib/filters/index.d.ts +40 -0
- package/lib/filters/index.d.ts.map +1 -0
- package/lib/filters/index.js +281 -0
- package/lib/filters/index.js.map +1 -0
- package/lib/index.d.ts +15 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +24 -0
- package/lib/index.js.map +1 -0
- package/lib/photo-editor/index.d.ts +185 -0
- package/lib/photo-editor/index.d.ts.map +1 -0
- package/lib/photo-editor/index.js +279 -0
- package/lib/photo-editor/index.js.map +1 -0
- package/package.json +51 -0
- package/src/capture/index.ts +334 -0
- package/src/filters/index.ts +327 -0
- package/src/index.ts +47 -0
- package/src/photo-editor/index.ts +451 -0
|
@@ -0,0 +1,281 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* @rajeev02/camera — Photo Filters
|
|
4
|
+
* Preset filters (Instagram/Snapchat style) with adjustable intensity
|
|
5
|
+
*/
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.getBuiltInFilters = getBuiltInFilters;
|
|
8
|
+
exports.getFiltersByCategory = getFiltersByCategory;
|
|
9
|
+
exports.getFilterCategories = getFilterCategories;
|
|
10
|
+
/** Built-in filter presets */
|
|
11
|
+
function getBuiltInFilters() {
|
|
12
|
+
return [
|
|
13
|
+
// Natural
|
|
14
|
+
{
|
|
15
|
+
id: "original",
|
|
16
|
+
name: "Original",
|
|
17
|
+
category: "natural",
|
|
18
|
+
premium: false,
|
|
19
|
+
adjustments: {},
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
id: "vivid",
|
|
23
|
+
name: "Vivid",
|
|
24
|
+
category: "natural",
|
|
25
|
+
premium: false,
|
|
26
|
+
adjustments: { saturation: 30, contrast: 15, sharpness: 10 },
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
id: "natural_boost",
|
|
30
|
+
name: "Natural+",
|
|
31
|
+
category: "natural",
|
|
32
|
+
premium: false,
|
|
33
|
+
adjustments: { brightness: 5, saturation: 15, shadows: 10, sharpness: 8 },
|
|
34
|
+
},
|
|
35
|
+
// Warm
|
|
36
|
+
{
|
|
37
|
+
id: "golden_hour",
|
|
38
|
+
name: "Golden Hour",
|
|
39
|
+
category: "warm",
|
|
40
|
+
premium: false,
|
|
41
|
+
adjustments: {
|
|
42
|
+
warmth: 35,
|
|
43
|
+
brightness: 10,
|
|
44
|
+
saturation: 20,
|
|
45
|
+
highlights: 15,
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
id: "sunset",
|
|
50
|
+
name: "Sunset",
|
|
51
|
+
category: "warm",
|
|
52
|
+
premium: false,
|
|
53
|
+
adjustments: { warmth: 50, saturation: 25, contrast: 10, vignette: 15 },
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
id: "honey",
|
|
57
|
+
name: "Honey",
|
|
58
|
+
category: "warm",
|
|
59
|
+
premium: false,
|
|
60
|
+
adjustments: { warmth: 40, brightness: 8, fadeAmount: 10 },
|
|
61
|
+
},
|
|
62
|
+
// Cool
|
|
63
|
+
{
|
|
64
|
+
id: "arctic",
|
|
65
|
+
name: "Arctic",
|
|
66
|
+
category: "cool",
|
|
67
|
+
premium: false,
|
|
68
|
+
adjustments: {
|
|
69
|
+
warmth: -30,
|
|
70
|
+
brightness: 10,
|
|
71
|
+
contrast: 15,
|
|
72
|
+
saturation: -10,
|
|
73
|
+
},
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
id: "ocean",
|
|
77
|
+
name: "Ocean",
|
|
78
|
+
category: "cool",
|
|
79
|
+
premium: false,
|
|
80
|
+
adjustments: { warmth: -20, tint: -10, saturation: 15, shadows: -10 },
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
id: "moonlight",
|
|
84
|
+
name: "Moonlight",
|
|
85
|
+
category: "cool",
|
|
86
|
+
premium: false,
|
|
87
|
+
adjustments: { warmth: -25, brightness: -5, contrast: 20, vignette: 20 },
|
|
88
|
+
},
|
|
89
|
+
// Vintage
|
|
90
|
+
{
|
|
91
|
+
id: "retro",
|
|
92
|
+
name: "Retro",
|
|
93
|
+
category: "vintage",
|
|
94
|
+
premium: false,
|
|
95
|
+
adjustments: {
|
|
96
|
+
warmth: 20,
|
|
97
|
+
fadeAmount: 25,
|
|
98
|
+
grain: 20,
|
|
99
|
+
saturation: -15,
|
|
100
|
+
contrast: 15,
|
|
101
|
+
},
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
id: "polaroid",
|
|
105
|
+
name: "Polaroid",
|
|
106
|
+
category: "vintage",
|
|
107
|
+
premium: false,
|
|
108
|
+
adjustments: { warmth: 15, fadeAmount: 20, brightness: 10, vignette: 10 },
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
id: "sepia",
|
|
112
|
+
name: "Sepia",
|
|
113
|
+
category: "vintage",
|
|
114
|
+
premium: false,
|
|
115
|
+
adjustments: {
|
|
116
|
+
warmth: 40,
|
|
117
|
+
saturation: -60,
|
|
118
|
+
fadeAmount: 15,
|
|
119
|
+
contrast: 10,
|
|
120
|
+
},
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
id: "film_70s",
|
|
124
|
+
name: "70s Film",
|
|
125
|
+
category: "vintage",
|
|
126
|
+
premium: false,
|
|
127
|
+
adjustments: {
|
|
128
|
+
warmth: 25,
|
|
129
|
+
grain: 30,
|
|
130
|
+
fadeAmount: 20,
|
|
131
|
+
saturation: -10,
|
|
132
|
+
vignette: 25,
|
|
133
|
+
},
|
|
134
|
+
},
|
|
135
|
+
// Black & White
|
|
136
|
+
{
|
|
137
|
+
id: "bw_classic",
|
|
138
|
+
name: "B&W Classic",
|
|
139
|
+
category: "bw",
|
|
140
|
+
premium: false,
|
|
141
|
+
adjustments: { saturation: -100, contrast: 20, sharpness: 15 },
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
id: "bw_high_contrast",
|
|
145
|
+
name: "B&W Drama",
|
|
146
|
+
category: "bw",
|
|
147
|
+
premium: false,
|
|
148
|
+
adjustments: {
|
|
149
|
+
saturation: -100,
|
|
150
|
+
contrast: 50,
|
|
151
|
+
shadows: -20,
|
|
152
|
+
highlights: 20,
|
|
153
|
+
},
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
id: "bw_film_noir",
|
|
157
|
+
name: "Film Noir",
|
|
158
|
+
category: "bw",
|
|
159
|
+
premium: false,
|
|
160
|
+
adjustments: { saturation: -100, contrast: 40, vignette: 40, grain: 15 },
|
|
161
|
+
},
|
|
162
|
+
// Dramatic
|
|
163
|
+
{
|
|
164
|
+
id: "hdr",
|
|
165
|
+
name: "HDR",
|
|
166
|
+
category: "dramatic",
|
|
167
|
+
premium: false,
|
|
168
|
+
adjustments: {
|
|
169
|
+
contrast: 30,
|
|
170
|
+
highlights: -20,
|
|
171
|
+
shadows: 30,
|
|
172
|
+
sharpness: 25,
|
|
173
|
+
saturation: 15,
|
|
174
|
+
},
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
id: "moody",
|
|
178
|
+
name: "Moody",
|
|
179
|
+
category: "dramatic",
|
|
180
|
+
premium: false,
|
|
181
|
+
adjustments: {
|
|
182
|
+
contrast: 20,
|
|
183
|
+
brightness: -10,
|
|
184
|
+
saturation: -10,
|
|
185
|
+
vignette: 30,
|
|
186
|
+
tint: 5,
|
|
187
|
+
},
|
|
188
|
+
},
|
|
189
|
+
// Food
|
|
190
|
+
{
|
|
191
|
+
id: "foodie",
|
|
192
|
+
name: "Foodie",
|
|
193
|
+
category: "food",
|
|
194
|
+
premium: false,
|
|
195
|
+
adjustments: {
|
|
196
|
+
warmth: 15,
|
|
197
|
+
saturation: 25,
|
|
198
|
+
brightness: 10,
|
|
199
|
+
sharpness: 10,
|
|
200
|
+
vignette: 5,
|
|
201
|
+
},
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
id: "fresh",
|
|
205
|
+
name: "Fresh",
|
|
206
|
+
category: "food",
|
|
207
|
+
premium: false,
|
|
208
|
+
adjustments: {
|
|
209
|
+
saturation: 20,
|
|
210
|
+
brightness: 15,
|
|
211
|
+
warmth: 5,
|
|
212
|
+
contrast: 10,
|
|
213
|
+
sharpness: 12,
|
|
214
|
+
},
|
|
215
|
+
},
|
|
216
|
+
// Portrait
|
|
217
|
+
{
|
|
218
|
+
id: "glow",
|
|
219
|
+
name: "Glow",
|
|
220
|
+
category: "portrait",
|
|
221
|
+
premium: false,
|
|
222
|
+
adjustments: {
|
|
223
|
+
brightness: 10,
|
|
224
|
+
warmth: 10,
|
|
225
|
+
highlights: 15,
|
|
226
|
+
sharpness: -5,
|
|
227
|
+
fadeAmount: 8,
|
|
228
|
+
},
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
id: "soft_skin",
|
|
232
|
+
name: "Soft Skin",
|
|
233
|
+
category: "portrait",
|
|
234
|
+
premium: false,
|
|
235
|
+
adjustments: { brightness: 5, warmth: 8, sharpness: -10, contrast: -5 },
|
|
236
|
+
},
|
|
237
|
+
// Night
|
|
238
|
+
{
|
|
239
|
+
id: "neon",
|
|
240
|
+
name: "Neon",
|
|
241
|
+
category: "night",
|
|
242
|
+
premium: true,
|
|
243
|
+
adjustments: {
|
|
244
|
+
contrast: 30,
|
|
245
|
+
saturation: 40,
|
|
246
|
+
brightness: -10,
|
|
247
|
+
vignette: 20,
|
|
248
|
+
tint: 15,
|
|
249
|
+
},
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
id: "city_lights",
|
|
253
|
+
name: "City Lights",
|
|
254
|
+
category: "night",
|
|
255
|
+
premium: true,
|
|
256
|
+
adjustments: { contrast: 25, warmth: -10, highlights: 20, vignette: 15 },
|
|
257
|
+
},
|
|
258
|
+
];
|
|
259
|
+
}
|
|
260
|
+
/** Get filters by category */
|
|
261
|
+
function getFiltersByCategory(category) {
|
|
262
|
+
return getBuiltInFilters().filter((f) => f.category === category);
|
|
263
|
+
}
|
|
264
|
+
/** Get all filter categories */
|
|
265
|
+
function getFilterCategories() {
|
|
266
|
+
return [
|
|
267
|
+
{ id: "natural", label: "Natural" },
|
|
268
|
+
{ id: "warm", label: "Warm" },
|
|
269
|
+
{ id: "cool", label: "Cool" },
|
|
270
|
+
{ id: "vintage", label: "Vintage" },
|
|
271
|
+
{ id: "dramatic", label: "Dramatic" },
|
|
272
|
+
{ id: "bw", label: "B&W" },
|
|
273
|
+
{ id: "film", label: "Film" },
|
|
274
|
+
{ id: "portrait", label: "Portrait" },
|
|
275
|
+
{ id: "food", label: "Food" },
|
|
276
|
+
{ id: "landscape", label: "Landscape" },
|
|
277
|
+
{ id: "night", label: "Night" },
|
|
278
|
+
{ id: "artistic", label: "Artistic" },
|
|
279
|
+
];
|
|
280
|
+
}
|
|
281
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/filters/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;AA4CH,8CAgQC;AAGD,oDAEC;AAGD,kDAeC;AAxRD,8BAA8B;AAC9B,SAAgB,iBAAiB;IAC/B,OAAO;QACL,UAAU;QACV;YACE,EAAE,EAAE,UAAU;YACd,IAAI,EAAE,UAAU;YAChB,QAAQ,EAAE,SAAS;YACnB,OAAO,EAAE,KAAK;YACd,WAAW,EAAE,EAAE;SAChB;QACD;YACE,EAAE,EAAE,OAAO;YACX,IAAI,EAAE,OAAO;YACb,QAAQ,EAAE,SAAS;YACnB,OAAO,EAAE,KAAK;YACd,WAAW,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE;SAC7D;QACD;YACE,EAAE,EAAE,eAAe;YACn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,EAAE;QACvC,EAAE,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE;QAC/B,EAAE,EAAE,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE;KACtC,CAAC;AACJ,CAAC"}
|
package/lib/index.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @rajeev02/camera
|
|
3
|
+
* Advanced Camera & Photo Editor
|
|
4
|
+
* Capture, filters, crop, adjust, draw, text, stickers, blur, frames, beauty mode
|
|
5
|
+
*
|
|
6
|
+
* @author Rajeev Kumar Joshi
|
|
7
|
+
* @license MIT
|
|
8
|
+
*/
|
|
9
|
+
export { CameraController } from "./capture";
|
|
10
|
+
export type { CameraConfig, CameraFacing, FlashMode, CaptureMode, AspectRatio, GridType, VideoResolution, CapturedMedia, ExifData, FocusPoint, CameraCapabilities, CameraEvent, } from "./capture";
|
|
11
|
+
export { PhotoEditorController, getCropPresets } from "./photo-editor";
|
|
12
|
+
export type { EditTool, CropPreset, AdjustmentValues, DrawConfig, TextOverlay, StickerOverlay, BlurRegion, FrameConfig, EditAction, } from "./photo-editor";
|
|
13
|
+
export { getBuiltInFilters, getFiltersByCategory, getFilterCategories, } from "./filters";
|
|
14
|
+
export type { PhotoFilter, FilterCategory, FilterAdjustments } from "./filters";
|
|
15
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAC7C,YAAY,EACV,YAAY,EACZ,YAAY,EACZ,SAAS,EACT,WAAW,EACX,WAAW,EACX,QAAQ,EACR,eAAe,EACf,aAAa,EACb,QAAQ,EACR,UAAU,EACV,kBAAkB,EAClB,WAAW,GACZ,MAAM,WAAW,CAAC;AAGnB,OAAO,EAAE,qBAAqB,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AACvE,YAAY,EACV,QAAQ,EACR,UAAU,EACV,gBAAgB,EAChB,UAAU,EACV,WAAW,EACX,cAAc,EACd,UAAU,EACV,WAAW,EACX,UAAU,GACX,MAAM,gBAAgB,CAAC;AAGxB,OAAO,EACL,iBAAiB,EACjB,oBAAoB,EACpB,mBAAmB,GACpB,MAAM,WAAW,CAAC;AACnB,YAAY,EAAE,WAAW,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC"}
|
package/lib/index.js
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* @rajeev02/camera
|
|
4
|
+
* Advanced Camera & Photo Editor
|
|
5
|
+
* Capture, filters, crop, adjust, draw, text, stickers, blur, frames, beauty mode
|
|
6
|
+
*
|
|
7
|
+
* @author Rajeev Kumar Joshi
|
|
8
|
+
* @license MIT
|
|
9
|
+
*/
|
|
10
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
+
exports.getFilterCategories = exports.getFiltersByCategory = exports.getBuiltInFilters = exports.getCropPresets = exports.PhotoEditorController = exports.CameraController = void 0;
|
|
12
|
+
// Camera Capture
|
|
13
|
+
var capture_1 = require("./capture");
|
|
14
|
+
Object.defineProperty(exports, "CameraController", { enumerable: true, get: function () { return capture_1.CameraController; } });
|
|
15
|
+
// Photo Editor
|
|
16
|
+
var photo_editor_1 = require("./photo-editor");
|
|
17
|
+
Object.defineProperty(exports, "PhotoEditorController", { enumerable: true, get: function () { return photo_editor_1.PhotoEditorController; } });
|
|
18
|
+
Object.defineProperty(exports, "getCropPresets", { enumerable: true, get: function () { return photo_editor_1.getCropPresets; } });
|
|
19
|
+
// Filters
|
|
20
|
+
var filters_1 = require("./filters");
|
|
21
|
+
Object.defineProperty(exports, "getBuiltInFilters", { enumerable: true, get: function () { return filters_1.getBuiltInFilters; } });
|
|
22
|
+
Object.defineProperty(exports, "getFiltersByCategory", { enumerable: true, get: function () { return filters_1.getFiltersByCategory; } });
|
|
23
|
+
Object.defineProperty(exports, "getFilterCategories", { enumerable: true, get: function () { return filters_1.getFilterCategories; } });
|
|
24
|
+
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;GAOG;;;AAEH,iBAAiB;AACjB,qCAA6C;AAApC,2GAAA,gBAAgB,OAAA;AAgBzB,eAAe;AACf,+CAAuE;AAA9D,qHAAA,qBAAqB,OAAA;AAAE,8GAAA,cAAc,OAAA;AAa9C,UAAU;AACV,qCAImB;AAHjB,4GAAA,iBAAiB,OAAA;AACjB,+GAAA,oBAAoB,OAAA;AACpB,8GAAA,mBAAmB,OAAA"}
|
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @rajeev02/camera — Photo Editor
|
|
3
|
+
* Full photo editing: crop, rotate, adjust, draw, text, stickers, blur, frames, heal, collage
|
|
4
|
+
*/
|
|
5
|
+
export type EditTool = "crop" | "rotate" | "flip" | "adjust" | "filter" | "draw" | "text" | "sticker" | "blur" | "frame" | "vignette" | "sharpen" | "heal" | "red_eye" | "perspective" | "collage" | "background_remove" | "resize";
|
|
6
|
+
export interface CropPreset {
|
|
7
|
+
id: string;
|
|
8
|
+
label: string;
|
|
9
|
+
aspectRatio: number | null;
|
|
10
|
+
}
|
|
11
|
+
export interface AdjustmentValues {
|
|
12
|
+
brightness: number;
|
|
13
|
+
contrast: number;
|
|
14
|
+
saturation: number;
|
|
15
|
+
exposure: number;
|
|
16
|
+
highlights: number;
|
|
17
|
+
shadows: number;
|
|
18
|
+
warmth: number;
|
|
19
|
+
tint: number;
|
|
20
|
+
sharpness: number;
|
|
21
|
+
grain: number;
|
|
22
|
+
vignette: number;
|
|
23
|
+
clarity: number;
|
|
24
|
+
fadeAmount: number;
|
|
25
|
+
hue: number;
|
|
26
|
+
}
|
|
27
|
+
export interface DrawConfig {
|
|
28
|
+
color: string;
|
|
29
|
+
brushSize: number;
|
|
30
|
+
brushType: "pen" | "marker" | "pencil" | "spray" | "neon" | "eraser" | "blur_brush";
|
|
31
|
+
opacity: number;
|
|
32
|
+
}
|
|
33
|
+
export interface TextOverlay {
|
|
34
|
+
id: string;
|
|
35
|
+
text: string;
|
|
36
|
+
fontFamily: string;
|
|
37
|
+
fontSize: number;
|
|
38
|
+
color: string;
|
|
39
|
+
backgroundColor?: string;
|
|
40
|
+
bold: boolean;
|
|
41
|
+
italic: boolean;
|
|
42
|
+
underline: boolean;
|
|
43
|
+
alignment: "left" | "center" | "right";
|
|
44
|
+
rotation: number;
|
|
45
|
+
position: {
|
|
46
|
+
x: number;
|
|
47
|
+
y: number;
|
|
48
|
+
};
|
|
49
|
+
opacity: number;
|
|
50
|
+
shadow?: {
|
|
51
|
+
color: string;
|
|
52
|
+
offsetX: number;
|
|
53
|
+
offsetY: number;
|
|
54
|
+
blur: number;
|
|
55
|
+
};
|
|
56
|
+
outline?: {
|
|
57
|
+
color: string;
|
|
58
|
+
width: number;
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
export interface StickerOverlay {
|
|
62
|
+
id: string;
|
|
63
|
+
source: string;
|
|
64
|
+
position: {
|
|
65
|
+
x: number;
|
|
66
|
+
y: number;
|
|
67
|
+
};
|
|
68
|
+
scale: number;
|
|
69
|
+
rotation: number;
|
|
70
|
+
opacity: number;
|
|
71
|
+
flipHorizontal: boolean;
|
|
72
|
+
}
|
|
73
|
+
export interface BlurRegion {
|
|
74
|
+
id: string;
|
|
75
|
+
type: "circle" | "rectangle" | "freeform";
|
|
76
|
+
center: {
|
|
77
|
+
x: number;
|
|
78
|
+
y: number;
|
|
79
|
+
};
|
|
80
|
+
radius?: number;
|
|
81
|
+
width?: number;
|
|
82
|
+
height?: number;
|
|
83
|
+
intensity: number;
|
|
84
|
+
blurType: "gaussian" | "motion" | "radial" | "pixelate";
|
|
85
|
+
/** Freeform path points */
|
|
86
|
+
path?: {
|
|
87
|
+
x: number;
|
|
88
|
+
y: number;
|
|
89
|
+
}[];
|
|
90
|
+
}
|
|
91
|
+
export interface FrameConfig {
|
|
92
|
+
id: string;
|
|
93
|
+
type: "solid" | "gradient" | "pattern" | "rounded" | "polaroid" | "film_strip" | "torn_paper";
|
|
94
|
+
color?: string;
|
|
95
|
+
width: number;
|
|
96
|
+
cornerRadius?: number;
|
|
97
|
+
innerPadding?: number;
|
|
98
|
+
}
|
|
99
|
+
export interface EditAction {
|
|
100
|
+
id: string;
|
|
101
|
+
tool: EditTool;
|
|
102
|
+
timestamp: number;
|
|
103
|
+
params: Record<string, unknown>;
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* Photo Editor Controller — manages edit state, history, undo/redo
|
|
107
|
+
*/
|
|
108
|
+
export declare class PhotoEditorController {
|
|
109
|
+
private sourceUri;
|
|
110
|
+
private adjustments;
|
|
111
|
+
private textOverlays;
|
|
112
|
+
private stickerOverlays;
|
|
113
|
+
private blurRegions;
|
|
114
|
+
private drawPaths;
|
|
115
|
+
private frame;
|
|
116
|
+
private cropRegion;
|
|
117
|
+
private rotation;
|
|
118
|
+
private flipH;
|
|
119
|
+
private flipV;
|
|
120
|
+
private history;
|
|
121
|
+
private historyIndex;
|
|
122
|
+
private activeFilter;
|
|
123
|
+
private listeners;
|
|
124
|
+
constructor(sourceUri: string);
|
|
125
|
+
setCrop(x: number, y: number, width: number, height: number): void;
|
|
126
|
+
rotate(degrees: number): void;
|
|
127
|
+
rotateLeft(): void;
|
|
128
|
+
rotateRight(): void;
|
|
129
|
+
flipHorizontal(): void;
|
|
130
|
+
flipVertical(): void;
|
|
131
|
+
straighten(degrees: number): void;
|
|
132
|
+
setPerspective(topLeft: {
|
|
133
|
+
x: number;
|
|
134
|
+
y: number;
|
|
135
|
+
}, topRight: {
|
|
136
|
+
x: number;
|
|
137
|
+
y: number;
|
|
138
|
+
}, bottomLeft: {
|
|
139
|
+
x: number;
|
|
140
|
+
y: number;
|
|
141
|
+
}, bottomRight: {
|
|
142
|
+
x: number;
|
|
143
|
+
y: number;
|
|
144
|
+
}): void;
|
|
145
|
+
setAdjustment(key: keyof AdjustmentValues, value: number): void;
|
|
146
|
+
resetAdjustments(): void;
|
|
147
|
+
getAdjustments(): AdjustmentValues;
|
|
148
|
+
applyFilter(filterId: string): void;
|
|
149
|
+
removeFilter(): void;
|
|
150
|
+
getActiveFilter(): string | null;
|
|
151
|
+
addText(overlay: Omit<TextOverlay, "id">): string;
|
|
152
|
+
updateText(id: string, updates: Partial<TextOverlay>): void;
|
|
153
|
+
removeText(id: string): void;
|
|
154
|
+
getTextOverlays(): TextOverlay[];
|
|
155
|
+
addSticker(sticker: Omit<StickerOverlay, "id">): string;
|
|
156
|
+
updateSticker(id: string, updates: Partial<StickerOverlay>): void;
|
|
157
|
+
removeSticker(id: string): void;
|
|
158
|
+
getStickers(): StickerOverlay[];
|
|
159
|
+
startDrawPath(config: DrawConfig): void;
|
|
160
|
+
addDrawPoint(x: number, y: number): void;
|
|
161
|
+
endDrawPath(): void;
|
|
162
|
+
clearDrawing(): void;
|
|
163
|
+
getDrawPaths(): typeof this.drawPaths;
|
|
164
|
+
addBlurRegion(region: Omit<BlurRegion, "id">): string;
|
|
165
|
+
removeBlurRegion(id: string): void;
|
|
166
|
+
getBlurRegions(): BlurRegion[];
|
|
167
|
+
setFrame(frame: FrameConfig): void;
|
|
168
|
+
removeFrame(): void;
|
|
169
|
+
getFrame(): FrameConfig | null;
|
|
170
|
+
undo(): boolean;
|
|
171
|
+
redo(): boolean;
|
|
172
|
+
canUndo(): boolean;
|
|
173
|
+
canRedo(): boolean;
|
|
174
|
+
getHistoryCount(): number;
|
|
175
|
+
getEditState(): Record<string, unknown>;
|
|
176
|
+
/** Reset all edits */
|
|
177
|
+
resetAll(): void;
|
|
178
|
+
on(listener: (event: string) => void): () => void;
|
|
179
|
+
private addToHistory;
|
|
180
|
+
private emit;
|
|
181
|
+
private getDefaultAdjustments;
|
|
182
|
+
}
|
|
183
|
+
/** Standard crop presets */
|
|
184
|
+
export declare function getCropPresets(): CropPreset[];
|
|
185
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/photo-editor/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,MAAM,QAAQ,GAChB,MAAM,GACN,QAAQ,GACR,MAAM,GACN,QAAQ,GACR,QAAQ,GACR,MAAM,GACN,MAAM,GACN,SAAS,GACT,MAAM,GACN,OAAO,GACP,UAAU,GACV,SAAS,GACT,MAAM,GACN,SAAS,GACT,aAAa,GACb,SAAS,GACT,mBAAmB,GACnB,QAAQ,CAAC;AAEb,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B;AAED,MAAM,WAAW,gBAAgB;IAC/B,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EACL,KAAK,GACL,QAAQ,GACR,QAAQ,GACR,OAAO,G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