Skip to content

Commit 7449f42

Browse files
committed
add compositeTags to expandedTags and testfile
1 parent c0dcd21 commit 7449f42

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

exif-reader.d.ts

+1
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@ export interface ExpandedTags {
208208
gps?: GpsTags
209209
photoshop?: PhotoshopTags;
210210
makerNotes?: CanonTags;
211+
composite?: CompositeTags;
211212
}
212213

213214
interface GpsTags {

test/types/exif-reader.ts

+7
Original file line numberDiff line numberDiff line change
@@ -238,3 +238,10 @@ expandedTags.makerNotes?.["AutoRotate"]?.value === 1;
238238
expandedTags.makerNotes?.["AutoRotate"]?.description === 'Rotate 90 CW';
239239
tags["AutoRotate"]?.value === 1;
240240
tags["AutoRotate"]?.description === 'Rotate 90 CW';
241+
242+
//////////////
243+
// Composite
244+
expandedTags.composite?.["FieldOfView"]?.value === 42;
245+
expandedTags.composite?.["FieldOfView"]?.description === '42 deg';
246+
tags["FieldOfView"]?.value === 42;
247+
tags["FieldOfView"]?.description === '42 deg';

0 commit comments

Comments
 (0)