@capawesome/capacitor-exif 0.0.1
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/CapawesomeCapacitorExif.podspec +17 -0
- package/LICENSE +21 -0
- package/Package.swift +28 -0
- package/README.md +322 -0
- package/android/build.gradle +60 -0
- package/android/src/main/AndroidManifest.xml +2 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/exif/Exif.java +289 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/exif/ExifPlugin.java +120 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/exif/classes/CustomException.java +20 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/exif/classes/CustomExceptions.java +27 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/exif/classes/options/ReadExifOptions.java +36 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/exif/classes/options/RemoveExifOptions.java +43 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/exif/classes/options/WriteExifOptions.java +185 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/exif/classes/results/ReadExifResult.java +152 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/exif/interfaces/Callback.java +5 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/exif/interfaces/EmptyCallback.java +5 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/exif/interfaces/NonEmptyResultCallback.java +7 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/exif/interfaces/Result.java +7 -0
- package/android/src/main/res/.gitkeep +0 -0
- package/dist/docs.json +746 -0
- package/dist/esm/definitions.d.ts +375 -0
- package/dist/esm/definitions.js +32 -0
- package/dist/esm/definitions.js.map +1 -0
- package/dist/esm/index.d.ts +4 -0
- package/dist/esm/index.js +7 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/web.d.ts +7 -0
- package/dist/esm/web.js +13 -0
- package/dist/esm/web.js.map +1 -0
- package/dist/plugin.cjs.js +59 -0
- package/dist/plugin.cjs.js.map +1 -0
- package/dist/plugin.js +62 -0
- package/dist/plugin.js.map +1 -0
- package/ios/Plugin/Classes/Options/ReadExifOptions.swift +20 -0
- package/ios/Plugin/Classes/Options/RemoveExifOptions.swift +12 -0
- package/ios/Plugin/Classes/Options/WriteExifOptions.swift +49 -0
- package/ios/Plugin/Classes/Results/ReadExifResult.swift +75 -0
- package/ios/Plugin/Enums/CustomError.swift +54 -0
- package/ios/Plugin/Exif.swift +219 -0
- package/ios/Plugin/ExifPlugin.swift +83 -0
- package/ios/Plugin/Info.plist +24 -0
- package/ios/Plugin/Protocols/Result.swift +5 -0
- package/package.json +97 -0
package/dist/docs.json
ADDED
|
@@ -0,0 +1,746 @@
|
|
|
1
|
+
{
|
|
2
|
+
"api": {
|
|
3
|
+
"name": "ExifPlugin",
|
|
4
|
+
"slug": "exifplugin",
|
|
5
|
+
"docs": "",
|
|
6
|
+
"tags": [],
|
|
7
|
+
"methods": [
|
|
8
|
+
{
|
|
9
|
+
"name": "readExif",
|
|
10
|
+
"signature": "(options: ReadExifOptions) => Promise<ReadExifResult>",
|
|
11
|
+
"parameters": [
|
|
12
|
+
{
|
|
13
|
+
"name": "options",
|
|
14
|
+
"docs": "",
|
|
15
|
+
"type": "ReadExifOptions"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"returns": "Promise<ReadExifResult>",
|
|
19
|
+
"tags": [
|
|
20
|
+
{
|
|
21
|
+
"name": "since",
|
|
22
|
+
"text": "0.1.0"
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"docs": "Read the EXIF metadata of an image file.\n\nOnly available on Android and iOS.",
|
|
26
|
+
"complexTypes": [
|
|
27
|
+
"ReadExifResult",
|
|
28
|
+
"ReadExifOptions"
|
|
29
|
+
],
|
|
30
|
+
"slug": "readexif"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "removeExif",
|
|
34
|
+
"signature": "(options: RemoveExifOptions) => Promise<void>",
|
|
35
|
+
"parameters": [
|
|
36
|
+
{
|
|
37
|
+
"name": "options",
|
|
38
|
+
"docs": "",
|
|
39
|
+
"type": "RemoveExifOptions"
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
"returns": "Promise<void>",
|
|
43
|
+
"tags": [
|
|
44
|
+
{
|
|
45
|
+
"name": "since",
|
|
46
|
+
"text": "0.1.0"
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
"docs": "Remove the EXIF metadata from an image file in place.\n\nThe pixel data is never re-encoded, so the image quality\nis not affected.\n\nOnly available on Android and iOS.",
|
|
50
|
+
"complexTypes": [
|
|
51
|
+
"RemoveExifOptions"
|
|
52
|
+
],
|
|
53
|
+
"slug": "removeexif"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"name": "writeExif",
|
|
57
|
+
"signature": "(options: WriteExifOptions) => Promise<void>",
|
|
58
|
+
"parameters": [
|
|
59
|
+
{
|
|
60
|
+
"name": "options",
|
|
61
|
+
"docs": "",
|
|
62
|
+
"type": "WriteExifOptions"
|
|
63
|
+
}
|
|
64
|
+
],
|
|
65
|
+
"returns": "Promise<void>",
|
|
66
|
+
"tags": [
|
|
67
|
+
{
|
|
68
|
+
"name": "since",
|
|
69
|
+
"text": "0.1.0"
|
|
70
|
+
}
|
|
71
|
+
],
|
|
72
|
+
"docs": "Write EXIF metadata to an image file in place.\n\nOnly the provided tags are updated. All other tags remain unchanged.\nThe pixel data is never re-encoded, so the image quality\nis not affected.\n\nOnly available on Android and iOS.",
|
|
73
|
+
"complexTypes": [
|
|
74
|
+
"WriteExifOptions"
|
|
75
|
+
],
|
|
76
|
+
"slug": "writeexif"
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
"properties": []
|
|
80
|
+
},
|
|
81
|
+
"interfaces": [
|
|
82
|
+
{
|
|
83
|
+
"name": "ReadExifResult",
|
|
84
|
+
"slug": "readexifresult",
|
|
85
|
+
"docs": "",
|
|
86
|
+
"tags": [
|
|
87
|
+
{
|
|
88
|
+
"text": "0.1.0",
|
|
89
|
+
"name": "since"
|
|
90
|
+
}
|
|
91
|
+
],
|
|
92
|
+
"methods": [],
|
|
93
|
+
"properties": [
|
|
94
|
+
{
|
|
95
|
+
"name": "tags",
|
|
96
|
+
"tags": [
|
|
97
|
+
{
|
|
98
|
+
"text": "0.1.0",
|
|
99
|
+
"name": "since"
|
|
100
|
+
}
|
|
101
|
+
],
|
|
102
|
+
"docs": "The EXIF tags that were read from the image file.",
|
|
103
|
+
"complexTypes": [
|
|
104
|
+
"ExifTags"
|
|
105
|
+
],
|
|
106
|
+
"type": "ExifTags"
|
|
107
|
+
}
|
|
108
|
+
]
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"name": "ExifTags",
|
|
112
|
+
"slug": "exiftags",
|
|
113
|
+
"docs": "The EXIF tags of an image file.\n\nEvery property is optional and only present if the tag\nexists in the file.",
|
|
114
|
+
"tags": [
|
|
115
|
+
{
|
|
116
|
+
"text": "0.1.0",
|
|
117
|
+
"name": "since"
|
|
118
|
+
}
|
|
119
|
+
],
|
|
120
|
+
"methods": [],
|
|
121
|
+
"properties": [
|
|
122
|
+
{
|
|
123
|
+
"name": "dateTimeOriginal",
|
|
124
|
+
"tags": [
|
|
125
|
+
{
|
|
126
|
+
"text": "0.1.0",
|
|
127
|
+
"name": "since"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"text": "'2026:01:15 10:30:00'",
|
|
131
|
+
"name": "example"
|
|
132
|
+
}
|
|
133
|
+
],
|
|
134
|
+
"docs": "The date and time when the image was originally captured\nin the EXIF date format `YYYY:MM:DD HH:MM:SS`.",
|
|
135
|
+
"complexTypes": [],
|
|
136
|
+
"type": "string | undefined"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"name": "exposureTime",
|
|
140
|
+
"tags": [
|
|
141
|
+
{
|
|
142
|
+
"text": "0.1.0",
|
|
143
|
+
"name": "since"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"text": "0.008",
|
|
147
|
+
"name": "example"
|
|
148
|
+
}
|
|
149
|
+
],
|
|
150
|
+
"docs": "The exposure time in seconds.",
|
|
151
|
+
"complexTypes": [],
|
|
152
|
+
"type": "number | undefined"
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"name": "fNumber",
|
|
156
|
+
"tags": [
|
|
157
|
+
{
|
|
158
|
+
"text": "0.1.0",
|
|
159
|
+
"name": "since"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"text": "1.8",
|
|
163
|
+
"name": "example"
|
|
164
|
+
}
|
|
165
|
+
],
|
|
166
|
+
"docs": "The F number (aperture) of the lens.",
|
|
167
|
+
"complexTypes": [],
|
|
168
|
+
"type": "number | undefined"
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"name": "flash",
|
|
172
|
+
"tags": [
|
|
173
|
+
{
|
|
174
|
+
"text": "0.1.0",
|
|
175
|
+
"name": "since"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"text": "true",
|
|
179
|
+
"name": "example"
|
|
180
|
+
}
|
|
181
|
+
],
|
|
182
|
+
"docs": "Whether or not the flash fired when the image was captured.",
|
|
183
|
+
"complexTypes": [],
|
|
184
|
+
"type": "boolean | undefined"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"name": "focalLength",
|
|
188
|
+
"tags": [
|
|
189
|
+
{
|
|
190
|
+
"text": "0.1.0",
|
|
191
|
+
"name": "since"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"text": "26",
|
|
195
|
+
"name": "example"
|
|
196
|
+
}
|
|
197
|
+
],
|
|
198
|
+
"docs": "The focal length of the lens in millimeters.",
|
|
199
|
+
"complexTypes": [],
|
|
200
|
+
"type": "number | undefined"
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"name": "gpsAltitude",
|
|
204
|
+
"tags": [
|
|
205
|
+
{
|
|
206
|
+
"text": "0.1.0",
|
|
207
|
+
"name": "since"
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"text": "11.5",
|
|
211
|
+
"name": "example"
|
|
212
|
+
}
|
|
213
|
+
],
|
|
214
|
+
"docs": "The altitude in meters above (positive) or below (negative) sea level.",
|
|
215
|
+
"complexTypes": [],
|
|
216
|
+
"type": "number | undefined"
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"name": "gpsLatitude",
|
|
220
|
+
"tags": [
|
|
221
|
+
{
|
|
222
|
+
"text": "0.1.0",
|
|
223
|
+
"name": "since"
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"text": "51.503364",
|
|
227
|
+
"name": "example"
|
|
228
|
+
}
|
|
229
|
+
],
|
|
230
|
+
"docs": "The latitude in signed decimal degrees.\n\nPositive values are north of the equator, negative values are south.",
|
|
231
|
+
"complexTypes": [],
|
|
232
|
+
"type": "number | undefined"
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"name": "gpsLongitude",
|
|
236
|
+
"tags": [
|
|
237
|
+
{
|
|
238
|
+
"text": "0.1.0",
|
|
239
|
+
"name": "since"
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"text": "-0.127625",
|
|
243
|
+
"name": "example"
|
|
244
|
+
}
|
|
245
|
+
],
|
|
246
|
+
"docs": "The longitude in signed decimal degrees.\n\nPositive values are east of the prime meridian, negative values are west.",
|
|
247
|
+
"complexTypes": [],
|
|
248
|
+
"type": "number | undefined"
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"name": "iso",
|
|
252
|
+
"tags": [
|
|
253
|
+
{
|
|
254
|
+
"text": "0.1.0",
|
|
255
|
+
"name": "since"
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"text": "125",
|
|
259
|
+
"name": "example"
|
|
260
|
+
}
|
|
261
|
+
],
|
|
262
|
+
"docs": "The ISO speed rating (photographic sensitivity).",
|
|
263
|
+
"complexTypes": [],
|
|
264
|
+
"type": "number | undefined"
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"name": "lensModel",
|
|
268
|
+
"tags": [
|
|
269
|
+
{
|
|
270
|
+
"text": "0.1.0",
|
|
271
|
+
"name": "since"
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
"text": "'iPhone 15 Pro back triple camera 6.765mm f/1.78'",
|
|
275
|
+
"name": "example"
|
|
276
|
+
}
|
|
277
|
+
],
|
|
278
|
+
"docs": "The model of the lens.",
|
|
279
|
+
"complexTypes": [],
|
|
280
|
+
"type": "string | undefined"
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"name": "make",
|
|
284
|
+
"tags": [
|
|
285
|
+
{
|
|
286
|
+
"text": "0.1.0",
|
|
287
|
+
"name": "since"
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
"text": "'Apple'",
|
|
291
|
+
"name": "example"
|
|
292
|
+
}
|
|
293
|
+
],
|
|
294
|
+
"docs": "The manufacturer of the camera.",
|
|
295
|
+
"complexTypes": [],
|
|
296
|
+
"type": "string | undefined"
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"name": "model",
|
|
300
|
+
"tags": [
|
|
301
|
+
{
|
|
302
|
+
"text": "0.1.0",
|
|
303
|
+
"name": "since"
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"text": "'iPhone 15 Pro'",
|
|
307
|
+
"name": "example"
|
|
308
|
+
}
|
|
309
|
+
],
|
|
310
|
+
"docs": "The model of the camera.",
|
|
311
|
+
"complexTypes": [],
|
|
312
|
+
"type": "string | undefined"
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"name": "orientation",
|
|
316
|
+
"tags": [
|
|
317
|
+
{
|
|
318
|
+
"text": "0.1.0",
|
|
319
|
+
"name": "since"
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
"text": "6",
|
|
323
|
+
"name": "example"
|
|
324
|
+
}
|
|
325
|
+
],
|
|
326
|
+
"docs": "The orientation of the image as defined by the EXIF specification (1-8).",
|
|
327
|
+
"complexTypes": [],
|
|
328
|
+
"type": "number | undefined"
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
"name": "pixelHeight",
|
|
332
|
+
"tags": [
|
|
333
|
+
{
|
|
334
|
+
"text": "0.1.0",
|
|
335
|
+
"name": "since"
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
"text": "480",
|
|
339
|
+
"name": "example"
|
|
340
|
+
}
|
|
341
|
+
],
|
|
342
|
+
"docs": "The height of the image in pixels.",
|
|
343
|
+
"complexTypes": [],
|
|
344
|
+
"type": "number | undefined"
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
"name": "pixelWidth",
|
|
348
|
+
"tags": [
|
|
349
|
+
{
|
|
350
|
+
"text": "0.1.0",
|
|
351
|
+
"name": "since"
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
"text": "640",
|
|
355
|
+
"name": "example"
|
|
356
|
+
}
|
|
357
|
+
],
|
|
358
|
+
"docs": "The width of the image in pixels.",
|
|
359
|
+
"complexTypes": [],
|
|
360
|
+
"type": "number | undefined"
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
"name": "software",
|
|
364
|
+
"tags": [
|
|
365
|
+
{
|
|
366
|
+
"text": "0.1.0",
|
|
367
|
+
"name": "since"
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
"text": "'Adobe Photoshop'",
|
|
371
|
+
"name": "example"
|
|
372
|
+
}
|
|
373
|
+
],
|
|
374
|
+
"docs": "The name of the software that was used to create or edit the image.",
|
|
375
|
+
"complexTypes": [],
|
|
376
|
+
"type": "string | undefined"
|
|
377
|
+
}
|
|
378
|
+
]
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
"name": "ReadExifOptions",
|
|
382
|
+
"slug": "readexifoptions",
|
|
383
|
+
"docs": "",
|
|
384
|
+
"tags": [
|
|
385
|
+
{
|
|
386
|
+
"text": "0.1.0",
|
|
387
|
+
"name": "since"
|
|
388
|
+
}
|
|
389
|
+
],
|
|
390
|
+
"methods": [],
|
|
391
|
+
"properties": [
|
|
392
|
+
{
|
|
393
|
+
"name": "path",
|
|
394
|
+
"tags": [
|
|
395
|
+
{
|
|
396
|
+
"text": "0.1.0",
|
|
397
|
+
"name": "since"
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
"text": "'/data/user/0/dev.robingenz.capacitor.plugindemo/cache/photo.jpg'",
|
|
401
|
+
"name": "example"
|
|
402
|
+
}
|
|
403
|
+
],
|
|
404
|
+
"docs": "The path to the image file to read the EXIF metadata from.\n\nLocal file paths and `file://` URIs are supported.",
|
|
405
|
+
"complexTypes": [],
|
|
406
|
+
"type": "string"
|
|
407
|
+
}
|
|
408
|
+
]
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
"name": "RemoveExifOptions",
|
|
412
|
+
"slug": "removeexifoptions",
|
|
413
|
+
"docs": "",
|
|
414
|
+
"tags": [
|
|
415
|
+
{
|
|
416
|
+
"text": "0.1.0",
|
|
417
|
+
"name": "since"
|
|
418
|
+
}
|
|
419
|
+
],
|
|
420
|
+
"methods": [],
|
|
421
|
+
"properties": [
|
|
422
|
+
{
|
|
423
|
+
"name": "keepOrientation",
|
|
424
|
+
"tags": [
|
|
425
|
+
{
|
|
426
|
+
"text": "0.1.0",
|
|
427
|
+
"name": "since"
|
|
428
|
+
},
|
|
429
|
+
{
|
|
430
|
+
"text": "true",
|
|
431
|
+
"name": "default"
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
"text": "false",
|
|
435
|
+
"name": "example"
|
|
436
|
+
}
|
|
437
|
+
],
|
|
438
|
+
"docs": "Whether or not to keep the orientation tag when removing\nthe EXIF metadata.\n\nThis is enabled by default so that images are not suddenly\ndisplayed rotated after the metadata has been removed.",
|
|
439
|
+
"complexTypes": [],
|
|
440
|
+
"type": "boolean | undefined"
|
|
441
|
+
},
|
|
442
|
+
{
|
|
443
|
+
"name": "path",
|
|
444
|
+
"tags": [
|
|
445
|
+
{
|
|
446
|
+
"text": "0.1.0",
|
|
447
|
+
"name": "since"
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
"text": "'/data/user/0/dev.robingenz.capacitor.plugindemo/cache/photo.jpg'",
|
|
451
|
+
"name": "example"
|
|
452
|
+
}
|
|
453
|
+
],
|
|
454
|
+
"docs": "The path to the image file to remove the EXIF metadata from.\n\nLocal file paths and `file://` URIs are supported.",
|
|
455
|
+
"complexTypes": [],
|
|
456
|
+
"type": "string"
|
|
457
|
+
}
|
|
458
|
+
]
|
|
459
|
+
},
|
|
460
|
+
{
|
|
461
|
+
"name": "WriteExifOptions",
|
|
462
|
+
"slug": "writeexifoptions",
|
|
463
|
+
"docs": "",
|
|
464
|
+
"tags": [
|
|
465
|
+
{
|
|
466
|
+
"text": "0.1.0",
|
|
467
|
+
"name": "since"
|
|
468
|
+
}
|
|
469
|
+
],
|
|
470
|
+
"methods": [],
|
|
471
|
+
"properties": [
|
|
472
|
+
{
|
|
473
|
+
"name": "path",
|
|
474
|
+
"tags": [
|
|
475
|
+
{
|
|
476
|
+
"text": "0.1.0",
|
|
477
|
+
"name": "since"
|
|
478
|
+
},
|
|
479
|
+
{
|
|
480
|
+
"text": "'/data/user/0/dev.robingenz.capacitor.plugindemo/cache/photo.jpg'",
|
|
481
|
+
"name": "example"
|
|
482
|
+
}
|
|
483
|
+
],
|
|
484
|
+
"docs": "The path to the image file to write the EXIF metadata to.\n\nLocal file paths and `file://` URIs are supported.",
|
|
485
|
+
"complexTypes": [],
|
|
486
|
+
"type": "string"
|
|
487
|
+
},
|
|
488
|
+
{
|
|
489
|
+
"name": "tags",
|
|
490
|
+
"tags": [
|
|
491
|
+
{
|
|
492
|
+
"text": "0.1.0",
|
|
493
|
+
"name": "since"
|
|
494
|
+
}
|
|
495
|
+
],
|
|
496
|
+
"docs": "The EXIF tags to write to the image file.\n\nOnly the provided tags are updated. All other tags remain unchanged.",
|
|
497
|
+
"complexTypes": [
|
|
498
|
+
"WritableExifTags"
|
|
499
|
+
],
|
|
500
|
+
"type": "WritableExifTags"
|
|
501
|
+
}
|
|
502
|
+
]
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
"name": "WritableExifTags",
|
|
506
|
+
"slug": "writableexiftags",
|
|
507
|
+
"docs": "The writable subset of the EXIF tags.",
|
|
508
|
+
"tags": [
|
|
509
|
+
{
|
|
510
|
+
"text": "0.1.0",
|
|
511
|
+
"name": "since"
|
|
512
|
+
}
|
|
513
|
+
],
|
|
514
|
+
"methods": [],
|
|
515
|
+
"properties": [
|
|
516
|
+
{
|
|
517
|
+
"name": "dateTimeOriginal",
|
|
518
|
+
"tags": [
|
|
519
|
+
{
|
|
520
|
+
"text": "0.1.0",
|
|
521
|
+
"name": "since"
|
|
522
|
+
},
|
|
523
|
+
{
|
|
524
|
+
"text": "'2026:01:15 10:30:00'",
|
|
525
|
+
"name": "example"
|
|
526
|
+
}
|
|
527
|
+
],
|
|
528
|
+
"docs": "The date and time when the image was originally captured\nin the EXIF date format `YYYY:MM:DD HH:MM:SS`.",
|
|
529
|
+
"complexTypes": [],
|
|
530
|
+
"type": "string | undefined"
|
|
531
|
+
},
|
|
532
|
+
{
|
|
533
|
+
"name": "exposureTime",
|
|
534
|
+
"tags": [
|
|
535
|
+
{
|
|
536
|
+
"text": "0.1.0",
|
|
537
|
+
"name": "since"
|
|
538
|
+
},
|
|
539
|
+
{
|
|
540
|
+
"text": "0.008",
|
|
541
|
+
"name": "example"
|
|
542
|
+
}
|
|
543
|
+
],
|
|
544
|
+
"docs": "The exposure time in seconds.",
|
|
545
|
+
"complexTypes": [],
|
|
546
|
+
"type": "number | undefined"
|
|
547
|
+
},
|
|
548
|
+
{
|
|
549
|
+
"name": "fNumber",
|
|
550
|
+
"tags": [
|
|
551
|
+
{
|
|
552
|
+
"text": "0.1.0",
|
|
553
|
+
"name": "since"
|
|
554
|
+
},
|
|
555
|
+
{
|
|
556
|
+
"text": "1.8",
|
|
557
|
+
"name": "example"
|
|
558
|
+
}
|
|
559
|
+
],
|
|
560
|
+
"docs": "The F number (aperture) of the lens.",
|
|
561
|
+
"complexTypes": [],
|
|
562
|
+
"type": "number | undefined"
|
|
563
|
+
},
|
|
564
|
+
{
|
|
565
|
+
"name": "flash",
|
|
566
|
+
"tags": [
|
|
567
|
+
{
|
|
568
|
+
"text": "0.1.0",
|
|
569
|
+
"name": "since"
|
|
570
|
+
},
|
|
571
|
+
{
|
|
572
|
+
"text": "true",
|
|
573
|
+
"name": "example"
|
|
574
|
+
}
|
|
575
|
+
],
|
|
576
|
+
"docs": "Whether or not the flash fired when the image was captured.",
|
|
577
|
+
"complexTypes": [],
|
|
578
|
+
"type": "boolean | undefined"
|
|
579
|
+
},
|
|
580
|
+
{
|
|
581
|
+
"name": "focalLength",
|
|
582
|
+
"tags": [
|
|
583
|
+
{
|
|
584
|
+
"text": "0.1.0",
|
|
585
|
+
"name": "since"
|
|
586
|
+
},
|
|
587
|
+
{
|
|
588
|
+
"text": "26",
|
|
589
|
+
"name": "example"
|
|
590
|
+
}
|
|
591
|
+
],
|
|
592
|
+
"docs": "The focal length of the lens in millimeters.",
|
|
593
|
+
"complexTypes": [],
|
|
594
|
+
"type": "number | undefined"
|
|
595
|
+
},
|
|
596
|
+
{
|
|
597
|
+
"name": "gpsAltitude",
|
|
598
|
+
"tags": [
|
|
599
|
+
{
|
|
600
|
+
"text": "0.1.0",
|
|
601
|
+
"name": "since"
|
|
602
|
+
},
|
|
603
|
+
{
|
|
604
|
+
"text": "11.5",
|
|
605
|
+
"name": "example"
|
|
606
|
+
}
|
|
607
|
+
],
|
|
608
|
+
"docs": "The altitude in meters above (positive) or below (negative) sea level.",
|
|
609
|
+
"complexTypes": [],
|
|
610
|
+
"type": "number | undefined"
|
|
611
|
+
},
|
|
612
|
+
{
|
|
613
|
+
"name": "gpsLatitude",
|
|
614
|
+
"tags": [
|
|
615
|
+
{
|
|
616
|
+
"text": "0.1.0",
|
|
617
|
+
"name": "since"
|
|
618
|
+
},
|
|
619
|
+
{
|
|
620
|
+
"text": "51.503364",
|
|
621
|
+
"name": "example"
|
|
622
|
+
}
|
|
623
|
+
],
|
|
624
|
+
"docs": "The latitude in signed decimal degrees.\n\nPositive values are north of the equator, negative values are south.\nMust be provided together with `gpsLongitude`.",
|
|
625
|
+
"complexTypes": [],
|
|
626
|
+
"type": "number | undefined"
|
|
627
|
+
},
|
|
628
|
+
{
|
|
629
|
+
"name": "gpsLongitude",
|
|
630
|
+
"tags": [
|
|
631
|
+
{
|
|
632
|
+
"text": "0.1.0",
|
|
633
|
+
"name": "since"
|
|
634
|
+
},
|
|
635
|
+
{
|
|
636
|
+
"text": "-0.127625",
|
|
637
|
+
"name": "example"
|
|
638
|
+
}
|
|
639
|
+
],
|
|
640
|
+
"docs": "The longitude in signed decimal degrees.\n\nPositive values are east of the prime meridian, negative values are west.\nMust be provided together with `gpsLatitude`.",
|
|
641
|
+
"complexTypes": [],
|
|
642
|
+
"type": "number | undefined"
|
|
643
|
+
},
|
|
644
|
+
{
|
|
645
|
+
"name": "iso",
|
|
646
|
+
"tags": [
|
|
647
|
+
{
|
|
648
|
+
"text": "0.1.0",
|
|
649
|
+
"name": "since"
|
|
650
|
+
},
|
|
651
|
+
{
|
|
652
|
+
"text": "125",
|
|
653
|
+
"name": "example"
|
|
654
|
+
}
|
|
655
|
+
],
|
|
656
|
+
"docs": "The ISO speed rating (photographic sensitivity).",
|
|
657
|
+
"complexTypes": [],
|
|
658
|
+
"type": "number | undefined"
|
|
659
|
+
},
|
|
660
|
+
{
|
|
661
|
+
"name": "lensModel",
|
|
662
|
+
"tags": [
|
|
663
|
+
{
|
|
664
|
+
"text": "0.1.0",
|
|
665
|
+
"name": "since"
|
|
666
|
+
},
|
|
667
|
+
{
|
|
668
|
+
"text": "'iPhone 15 Pro back triple camera 6.765mm f/1.78'",
|
|
669
|
+
"name": "example"
|
|
670
|
+
}
|
|
671
|
+
],
|
|
672
|
+
"docs": "The model of the lens.",
|
|
673
|
+
"complexTypes": [],
|
|
674
|
+
"type": "string | undefined"
|
|
675
|
+
},
|
|
676
|
+
{
|
|
677
|
+
"name": "make",
|
|
678
|
+
"tags": [
|
|
679
|
+
{
|
|
680
|
+
"text": "0.1.0",
|
|
681
|
+
"name": "since"
|
|
682
|
+
},
|
|
683
|
+
{
|
|
684
|
+
"text": "'Apple'",
|
|
685
|
+
"name": "example"
|
|
686
|
+
}
|
|
687
|
+
],
|
|
688
|
+
"docs": "The manufacturer of the camera.",
|
|
689
|
+
"complexTypes": [],
|
|
690
|
+
"type": "string | undefined"
|
|
691
|
+
},
|
|
692
|
+
{
|
|
693
|
+
"name": "model",
|
|
694
|
+
"tags": [
|
|
695
|
+
{
|
|
696
|
+
"text": "0.1.0",
|
|
697
|
+
"name": "since"
|
|
698
|
+
},
|
|
699
|
+
{
|
|
700
|
+
"text": "'iPhone 15 Pro'",
|
|
701
|
+
"name": "example"
|
|
702
|
+
}
|
|
703
|
+
],
|
|
704
|
+
"docs": "The model of the camera.",
|
|
705
|
+
"complexTypes": [],
|
|
706
|
+
"type": "string | undefined"
|
|
707
|
+
},
|
|
708
|
+
{
|
|
709
|
+
"name": "orientation",
|
|
710
|
+
"tags": [
|
|
711
|
+
{
|
|
712
|
+
"text": "0.1.0",
|
|
713
|
+
"name": "since"
|
|
714
|
+
},
|
|
715
|
+
{
|
|
716
|
+
"text": "6",
|
|
717
|
+
"name": "example"
|
|
718
|
+
}
|
|
719
|
+
],
|
|
720
|
+
"docs": "The orientation of the image as defined by the EXIF specification (1-8).",
|
|
721
|
+
"complexTypes": [],
|
|
722
|
+
"type": "number | undefined"
|
|
723
|
+
},
|
|
724
|
+
{
|
|
725
|
+
"name": "software",
|
|
726
|
+
"tags": [
|
|
727
|
+
{
|
|
728
|
+
"text": "0.1.0",
|
|
729
|
+
"name": "since"
|
|
730
|
+
},
|
|
731
|
+
{
|
|
732
|
+
"text": "'Adobe Photoshop'",
|
|
733
|
+
"name": "example"
|
|
734
|
+
}
|
|
735
|
+
],
|
|
736
|
+
"docs": "The name of the software that was used to create or edit the image.",
|
|
737
|
+
"complexTypes": [],
|
|
738
|
+
"type": "string | undefined"
|
|
739
|
+
}
|
|
740
|
+
]
|
|
741
|
+
}
|
|
742
|
+
],
|
|
743
|
+
"enums": [],
|
|
744
|
+
"typeAliases": [],
|
|
745
|
+
"pluginConfigs": []
|
|
746
|
+
}
|