@oh-my-pi/pi-coding-agent 5.6.70 → 5.7.67
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/CHANGELOG.md +6 -22
- package/package.json +5 -6
- package/src/utils/image-convert.ts +1 -1
- package/src/utils/image-resize.ts +2 -2
- package/src/vendor/photon/LICENSE.md +201 -0
- package/src/vendor/photon/README.md +158 -0
- package/src/vendor/photon/index.d.ts +3013 -0
- package/src/vendor/photon/index.js +4459 -0
- package/src/vendor/photon/photon_rs_bg.wasm +0 -0
- package/src/vendor/photon/photon_rs_bg.wasm.d.ts +193 -0
|
Binary file
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
export const memory: WebAssembly.Memory;
|
|
4
|
+
export const adjust_brightness: (a: number, b: number) => void;
|
|
5
|
+
export const adjust_contrast: (a: number, b: number) => void;
|
|
6
|
+
export const color_horizontal_strips: (a: number, b: number, c: number) => void;
|
|
7
|
+
export const color_vertical_strips: (a: number, b: number, c: number) => void;
|
|
8
|
+
export const colorize: (a: number) => void;
|
|
9
|
+
export const dec_brightness: (a: number, b: number) => void;
|
|
10
|
+
export const dither: (a: number, b: number) => void;
|
|
11
|
+
export const duotone: (a: number, b: number, c: number) => void;
|
|
12
|
+
export const frosted_glass: (a: number) => void;
|
|
13
|
+
export const halftone: (a: number) => void;
|
|
14
|
+
export const horizontal_strips: (a: number, b: number) => void;
|
|
15
|
+
export const inc_brightness: (a: number, b: number) => void;
|
|
16
|
+
export const multiple_offsets: (a: number, b: number, c: number, d: number) => void;
|
|
17
|
+
export const normalize: (a: number) => void;
|
|
18
|
+
export const offset: (a: number, b: number, c: number) => void;
|
|
19
|
+
export const offset_blue: (a: number, b: number) => void;
|
|
20
|
+
export const offset_green: (a: number, b: number) => void;
|
|
21
|
+
export const offset_red: (a: number, b: number) => void;
|
|
22
|
+
export const oil: (a: number, b: number, c: number) => void;
|
|
23
|
+
export const pixelize: (a: number, b: number) => void;
|
|
24
|
+
export const primary: (a: number) => void;
|
|
25
|
+
export const solarize: (a: number) => void;
|
|
26
|
+
export const solarize_retimg: (a: number) => number;
|
|
27
|
+
export const tint: (a: number, b: number, c: number, d: number) => void;
|
|
28
|
+
export const vertical_strips: (a: number, b: number) => void;
|
|
29
|
+
export const apply_gradient: (a: number) => void;
|
|
30
|
+
export const blend: (a: number, b: number, c: number, d: number) => void;
|
|
31
|
+
export const create_gradient: (a: number, b: number) => number;
|
|
32
|
+
export const watermark: (a: number, b: number, c: bigint, d: bigint) => void;
|
|
33
|
+
export const b_grayscale: (a: number) => void;
|
|
34
|
+
export const darken_hsl: (a: number, b: number) => void;
|
|
35
|
+
export const darken_hsluv: (a: number, b: number) => void;
|
|
36
|
+
export const darken_hsv: (a: number, b: number) => void;
|
|
37
|
+
export const darken_lch: (a: number, b: number) => void;
|
|
38
|
+
export const decompose_max: (a: number) => void;
|
|
39
|
+
export const decompose_min: (a: number) => void;
|
|
40
|
+
export const desaturate: (a: number) => void;
|
|
41
|
+
export const desaturate_hsl: (a: number, b: number) => void;
|
|
42
|
+
export const desaturate_hsluv: (a: number, b: number) => void;
|
|
43
|
+
export const desaturate_hsv: (a: number, b: number) => void;
|
|
44
|
+
export const desaturate_lch: (a: number, b: number) => void;
|
|
45
|
+
export const draw_text: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
46
|
+
export const draw_text_with_border: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
47
|
+
export const g_grayscale: (a: number) => void;
|
|
48
|
+
export const gamma_correction: (a: number, b: number, c: number, d: number) => void;
|
|
49
|
+
export const grayscale: (a: number) => void;
|
|
50
|
+
export const grayscale_human_corrected: (a: number) => void;
|
|
51
|
+
export const grayscale_shades: (a: number, b: number) => void;
|
|
52
|
+
export const hsl: (a: number, b: number, c: number, d: number) => void;
|
|
53
|
+
export const hsluv: (a: number, b: number, c: number, d: number) => void;
|
|
54
|
+
export const hsv: (a: number, b: number, c: number, d: number) => void;
|
|
55
|
+
export const hue_rotate_hsl: (a: number, b: number) => void;
|
|
56
|
+
export const hue_rotate_hsluv: (a: number, b: number) => void;
|
|
57
|
+
export const hue_rotate_hsv: (a: number, b: number) => void;
|
|
58
|
+
export const hue_rotate_lch: (a: number, b: number) => void;
|
|
59
|
+
export const lch: (a: number, b: number, c: number, d: number) => void;
|
|
60
|
+
export const lighten_hsl: (a: number, b: number) => void;
|
|
61
|
+
export const lighten_hsluv: (a: number, b: number) => void;
|
|
62
|
+
export const lighten_hsv: (a: number, b: number) => void;
|
|
63
|
+
export const lighten_lch: (a: number, b: number) => void;
|
|
64
|
+
export const mix_with_colour: (a: number, b: number, c: number) => void;
|
|
65
|
+
export const monochrome: (a: number, b: number, c: number, d: number) => void;
|
|
66
|
+
export const r_grayscale: (a: number) => void;
|
|
67
|
+
export const saturate_hsl: (a: number, b: number) => void;
|
|
68
|
+
export const saturate_hsluv: (a: number, b: number) => void;
|
|
69
|
+
export const saturate_hsv: (a: number, b: number) => void;
|
|
70
|
+
export const saturate_lch: (a: number, b: number) => void;
|
|
71
|
+
export const sepia: (a: number) => void;
|
|
72
|
+
export const single_channel_grayscale: (a: number, b: number) => void;
|
|
73
|
+
export const threshold: (a: number, b: number) => void;
|
|
74
|
+
export const crop: (a: number, b: number, c: number, d: number, e: number) => number;
|
|
75
|
+
export const crop_img_browser: (a: any, b: number, c: number, d: number, e: number) => any;
|
|
76
|
+
export const fliph: (a: number) => void;
|
|
77
|
+
export const flipv: (a: number) => void;
|
|
78
|
+
export const padding_bottom: (a: number, b: number, c: number) => number;
|
|
79
|
+
export const padding_left: (a: number, b: number, c: number) => number;
|
|
80
|
+
export const padding_right: (a: number, b: number, c: number) => number;
|
|
81
|
+
export const padding_top: (a: number, b: number, c: number) => number;
|
|
82
|
+
export const padding_uniform: (a: number, b: number, c: number) => number;
|
|
83
|
+
export const resample: (a: number, b: number, c: number) => number;
|
|
84
|
+
export const resize: (a: number, b: number, c: number, d: number) => number;
|
|
85
|
+
export const resize_img_browser: (a: number, b: number, c: number, d: number) => any;
|
|
86
|
+
export const rotate: (a: number, b: number) => number;
|
|
87
|
+
export const seam_carve: (a: number, b: number, c: number) => number;
|
|
88
|
+
export const shearx: (a: number, b: number) => number;
|
|
89
|
+
export const sheary: (a: number, b: number) => number;
|
|
90
|
+
export const __wbg_photonimage_free: (a: number, b: number) => void;
|
|
91
|
+
export const __wbg_rgb_free: (a: number, b: number) => void;
|
|
92
|
+
export const __wbg_rgba_free: (a: number, b: number) => void;
|
|
93
|
+
export const base64_to_image: (a: number, b: number) => number;
|
|
94
|
+
export const base64_to_vec: (a: number, b: number) => [number, number];
|
|
95
|
+
export const get_image_data: (a: any, b: any) => any;
|
|
96
|
+
export const open_image: (a: any, b: any) => number;
|
|
97
|
+
export const photonimage_get_base64: (a: number) => [number, number];
|
|
98
|
+
export const photonimage_get_bytes: (a: number) => [number, number];
|
|
99
|
+
export const photonimage_get_bytes_jpeg: (a: number, b: number) => [number, number];
|
|
100
|
+
export const photonimage_get_bytes_webp: (a: number) => [number, number];
|
|
101
|
+
export const photonimage_get_estimated_filesize: (a: number) => bigint;
|
|
102
|
+
export const photonimage_get_height: (a: number) => number;
|
|
103
|
+
export const photonimage_get_image_data: (a: number) => any;
|
|
104
|
+
export const photonimage_get_raw_pixels: (a: number) => [number, number];
|
|
105
|
+
export const photonimage_get_width: (a: number) => number;
|
|
106
|
+
export const photonimage_new: (a: number, b: number, c: number, d: number) => number;
|
|
107
|
+
export const photonimage_new_from_blob: (a: any) => number;
|
|
108
|
+
export const photonimage_new_from_byteslice: (a: number, b: number) => number;
|
|
109
|
+
export const photonimage_new_from_image: (a: any) => number;
|
|
110
|
+
export const photonimage_set_imgdata: (a: number, b: any) => void;
|
|
111
|
+
export const putImageData: (a: any, b: any, c: number) => void;
|
|
112
|
+
export const rgb_get_blue: (a: number) => number;
|
|
113
|
+
export const rgb_get_green: (a: number) => number;
|
|
114
|
+
export const rgb_get_red: (a: number) => number;
|
|
115
|
+
export const rgb_new: (a: number, b: number, c: number) => number;
|
|
116
|
+
export const rgb_set_blue: (a: number, b: number) => void;
|
|
117
|
+
export const rgb_set_green: (a: number, b: number) => void;
|
|
118
|
+
export const rgb_set_red: (a: number, b: number) => void;
|
|
119
|
+
export const rgba_get_alpha: (a: number) => number;
|
|
120
|
+
export const rgba_new: (a: number, b: number, c: number, d: number) => number;
|
|
121
|
+
export const rgba_set_alpha: (a: number, b: number) => void;
|
|
122
|
+
export const run: () => [number, number];
|
|
123
|
+
export const to_image_data: (a: number) => any;
|
|
124
|
+
export const to_raw_pixels: (a: any) => [number, number];
|
|
125
|
+
export const rgba_get_blue: (a: number) => number;
|
|
126
|
+
export const rgba_get_green: (a: number) => number;
|
|
127
|
+
export const rgba_get_red: (a: number) => number;
|
|
128
|
+
export const photonimage_new_from_base64: (a: number, b: number) => number;
|
|
129
|
+
export const rgba_set_blue: (a: number, b: number) => void;
|
|
130
|
+
export const rgba_set_green: (a: number, b: number) => void;
|
|
131
|
+
export const rgba_set_red: (a: number, b: number) => void;
|
|
132
|
+
export const box_blur: (a: number) => void;
|
|
133
|
+
export const detect_135_deg_lines: (a: number) => void;
|
|
134
|
+
export const detect_45_deg_lines: (a: number) => void;
|
|
135
|
+
export const detect_horizontal_lines: (a: number) => void;
|
|
136
|
+
export const detect_vertical_lines: (a: number) => void;
|
|
137
|
+
export const edge_detection: (a: number) => void;
|
|
138
|
+
export const edge_one: (a: number) => void;
|
|
139
|
+
export const emboss: (a: number) => void;
|
|
140
|
+
export const gaussian_blur: (a: number, b: number) => void;
|
|
141
|
+
export const identity: (a: number) => void;
|
|
142
|
+
export const laplace: (a: number) => void;
|
|
143
|
+
export const noise_reduction: (a: number) => void;
|
|
144
|
+
export const prewitt_horizontal: (a: number) => void;
|
|
145
|
+
export const sharpen: (a: number) => void;
|
|
146
|
+
export const sobel_global: (a: number) => void;
|
|
147
|
+
export const sobel_horizontal: (a: number) => void;
|
|
148
|
+
export const sobel_vertical: (a: number) => void;
|
|
149
|
+
export const add_noise_rand: (a: number) => void;
|
|
150
|
+
export const alter_blue_channel: (a: number, b: number) => void;
|
|
151
|
+
export const alter_channel: (a: number, b: number, c: number) => void;
|
|
152
|
+
export const alter_channels: (a: number, b: number, c: number, d: number) => void;
|
|
153
|
+
export const alter_green_channel: (a: number, b: number) => void;
|
|
154
|
+
export const alter_red_channel: (a: number, b: number) => void;
|
|
155
|
+
export const alter_two_channels: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
156
|
+
export const cali: (a: number) => void;
|
|
157
|
+
export const dramatic: (a: number) => void;
|
|
158
|
+
export const duotone_horizon: (a: number) => void;
|
|
159
|
+
export const duotone_lilac: (a: number) => void;
|
|
160
|
+
export const duotone_ochre: (a: number) => void;
|
|
161
|
+
export const duotone_tint: (a: number, b: number) => void;
|
|
162
|
+
export const duotone_violette: (a: number) => void;
|
|
163
|
+
export const filter: (a: number, b: number, c: number) => void;
|
|
164
|
+
export const firenze: (a: number) => void;
|
|
165
|
+
export const golden: (a: number) => void;
|
|
166
|
+
export const invert: (a: number) => void;
|
|
167
|
+
export const lix: (a: number) => void;
|
|
168
|
+
export const lofi: (a: number) => void;
|
|
169
|
+
export const monochrome_tint: (a: number, b: number) => void;
|
|
170
|
+
export const neue: (a: number) => void;
|
|
171
|
+
export const obsidian: (a: number) => void;
|
|
172
|
+
export const pastel_pink: (a: number) => void;
|
|
173
|
+
export const pink_noise: (a: number) => void;
|
|
174
|
+
export const remove_blue_channel: (a: number, b: number) => void;
|
|
175
|
+
export const remove_channel: (a: number, b: number, c: number) => void;
|
|
176
|
+
export const remove_green_channel: (a: number, b: number) => void;
|
|
177
|
+
export const remove_red_channel: (a: number, b: number) => void;
|
|
178
|
+
export const ryo: (a: number) => void;
|
|
179
|
+
export const selective_color_convert: (a: number, b: number, c: number, d: number) => void;
|
|
180
|
+
export const selective_desaturate: (a: number, b: number, c: number) => void;
|
|
181
|
+
export const selective_greyscale: (a: number, b: number) => void;
|
|
182
|
+
export const selective_hue_rotate: (a: number, b: number, c: number) => void;
|
|
183
|
+
export const selective_lighten: (a: number, b: number, c: number) => void;
|
|
184
|
+
export const selective_saturate: (a: number, b: number, c: number) => void;
|
|
185
|
+
export const swap_channels: (a: number, b: number, c: number) => void;
|
|
186
|
+
export const __wbindgen_malloc: (a: number, b: number) => number;
|
|
187
|
+
export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
188
|
+
export const __wbindgen_exn_store: (a: number) => void;
|
|
189
|
+
export const __externref_table_alloc: () => number;
|
|
190
|
+
export const __wbindgen_externrefs: WebAssembly.Table;
|
|
191
|
+
export const __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
192
|
+
export const __externref_table_dealloc: (a: number) => void;
|
|
193
|
+
export const __wbindgen_start: () => void;
|