revert colorspace change

This commit is contained in:
mertalev 2026-04-22 16:05:04 -04:00
parent 246df2ad16
commit 6d81bb60b4
No known key found for this signature in database
GPG Key ID: 0603AE056AA39037

View File

@ -290,8 +290,7 @@ export class MetadataService extends BaseService {
orientation: validate(exifTags.Orientation)?.toString() ?? null,
projectionType: exifTags.ProjectionType ? String(exifTags.ProjectionType).toUpperCase() : null,
bitsPerSample: this.getBitsPerSample(exifTags),
colorspace:
asset.type !== AssetType.Image || exifTags.ColorSpace === undefined ? null : String(exifTags.ColorSpace),
colorspace: exifTags.ColorSpace === undefined ? null : String(exifTags.ColorSpace),
// camera
make: