diff --git a/ExifLibrary/JPEGFile.cs b/ExifLibrary/JPEGFile.cs index 8cc6496..84e9b28 100644 --- a/ExifLibrary/JPEGFile.cs +++ b/ExifLibrary/JPEGFile.cs @@ -705,7 +705,8 @@ private bool WriteExifApp1(bool preserveMakerNote) if (ifdzeroth.Count == 0 && ifdgps.Count == 0 && ifdinterop.Count == 0 && ifdfirst.Count == 0 && Thumbnail == null) { - // Nothing to write + // Nothing to write to App1 section + exifApp1.Header = new byte[0]; return false; }