public void Encode_IgnoreMetadataIsFalse_ExifProfileIsWritten() { JpegEncoder options = new JpegEncoder() { IgnoreMetadata = false }; TestFile testFile = TestFile.Create(TestImages.Jpeg.Baseline.Floorplan); using (Image <Rgba32> input = testFile.CreateImage()) { using (MemoryStream memStream = new MemoryStream()) { input.Save(memStream, options); memStream.Position = 0; using (Image <Rgba32> output = Image.Load <Rgba32>(memStream)) { Assert.NotNull(output.MetaData.ExifProfile); } } } }