fix(server): extract image description (#6344)

This commit is contained in:
Tom Vincent
2024-01-15 16:19:41 +00:00
committed by GitHub
parent 4f021a74ed
commit 984feafb90
3 changed files with 5 additions and 0 deletions
@@ -456,6 +456,7 @@ export class MetadataService {
bitsPerSample: this.getBitsPerSample(tags),
colorspace: tags.ColorSpace ?? null,
dateTimeOriginal: this.getDateTimeOriginal(tags) ?? asset.fileCreatedAt,
description: (tags.ImageDescription || tags.Description) ?? '',
exifImageHeight: validate(tags.ImageHeight),
exifImageWidth: validate(tags.ImageWidth),
exposureTime: tags.ExposureTime ?? null,