1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00

changed orientation to const

This commit is contained in:
gras 2024-03-30 14:13:47 +01:00
parent 1514662b8d
commit a8b00d549b

View File

@ -312,7 +312,7 @@ export class MetadataLoader {
exif['xmp'] = exif['xap']; exif['xmp'] = exif['xap'];
delete exif['xap']; delete exif['xap'];
} }
let orientation = MetadataLoader.getOrientation(exif); const orientation = MetadataLoader.getOrientation(exif);
MetadataLoader.mapImageDimensions(metadata, exif, orientation); MetadataLoader.mapImageDimensions(metadata, exif, orientation);
MetadataLoader.mapKeywords(metadata, exif); MetadataLoader.mapKeywords(metadata, exif);
MetadataLoader.mapTimestampAndOffset(metadata, exif); MetadataLoader.mapTimestampAndOffset(metadata, exif);