Skip to content

Commit

Permalink
Patch for #496
Browse files Browse the repository at this point in the history
Fix canon metadata date/time issue.

Also, pull latest base image with imagemagick and HEIC fix.
  • Loading branch information
Webreaper authored Oct 7, 2023
1 parent cdd2e12 commit a1d31bc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Damselfly.Core/Services/MetaDataService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,9 @@ private bool GetImageMetaData(ref ImageMetaData imgMetaData, out string[] keywor

if ( IfdDirectory != null )
{
if ( imgMetaData.DateTaken == DateTime.MinValue )
imgMetaData.DateTaken = IfdDirectory.SafeGetExifDateTime(ExifDirectoryBase.TagDateTime);

var exifDesc = IfdDirectory.SafeExifGetString(ExifDirectoryBase.TagImageDescription).SafeTrim();
imgMetaData.Description = FilteredDescription(exifDesc);

Expand Down Expand Up @@ -1091,4 +1094,4 @@ public static void GetImageSize(string fullPath, out int width, out int height)
}

#endregion
}
}

0 comments on commit a1d31bc

Please sign in to comment.