Merge remote-tracking branch 'refs/remotes/origin/main'
This commit is contained in:
commit
d505dfa092
@ -16,8 +16,8 @@ export const getOffsetFromExif = (
|
|||||||
exif: ExifData,
|
exif: ExifData,
|
||||||
exifr: any,
|
exifr: any,
|
||||||
) => (
|
) => (
|
||||||
Object.values(exif.tags as any).find(isValueOffset) ||
|
Object.values(exif?.tags ?? {}).find(isValueOffset) ||
|
||||||
Object.values(exifr).find(isValueOffset)
|
Object.values(exifr ?? {}).find(isValueOffset)
|
||||||
) as string | undefined;
|
) as string | undefined;
|
||||||
|
|
||||||
export const getDimensionsFromExif = (
|
export const getDimensionsFromExif = (
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user