-
-
Notifications
You must be signed in to change notification settings - Fork 438
Closed
Milestone
Description
Magick.NET version
Magick.NET-Q8-OpenMP-x64 14.3.0
Environment (Operating system, version and so on)
Windows 11
Description
When initially loading a particular image, the image.GetExifProfile() returns a profile correctly. However, if I write that image to a memory stream and then reload it, the image2.GetExifProfile() returns null. This is a reversion from 14.2, which works as expected.
Steps to Reproduce
var fileStream = File.OpenRead(@"C:\cover-original.jpg");
using var image1 = new MagickImage(fileStream);
var exifProfile1 = image1.GetExifProfile(); // Gets the exif profile
var outputStream = new MemoryStream();
image1.Write(outputStream);
outputStream.Seek(0, SeekOrigin.Begin);
using var image2 = new MagickImage(outputStream);
var exifProfile2 = image2.GetExifProfile(); // Returns null
Images
Metadata
Metadata
Assignees
Labels
No labels
