Skip to content

Commit

Permalink
fixed #1478 - NEF orientation
Browse files Browse the repository at this point in the history
  • Loading branch information
d2phap committed May 25, 2023
1 parent 4d31efd commit 5d7b9b4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1098,7 +1098,7 @@ private static MagickImage FilterColorChannel(MagickImage imgM, ColorChannel cha
/// <param name="profile"></param>
private static void ApplyRotation(IMagickImage imgM, IExifProfile? profile, string ext)
{
if (ext == ".TGA")
if (ext == ".TGA" || ext == ".NEF" || ext == ".DNG")
{
imgM.AutoOrient();
return;
Expand Down

0 comments on commit 5d7b9b4

Please sign in to comment.