Magick.NET version
14.16
Environment (Operating system, version and so on)
Windows 11
Description
Calling MagickImageCollection.ReadAsync appends to the collection instead of replacing it.
Steps to Reproduce
var filePath = @$"C:\my\photo.tif"; // 2 pages
var imgColl = new MagickImageCollection();
imgColl.Ping(filePath); // => ✅ imgColl.Count = 2
imgColl.Read(filePath); // => ✅ imgColl.Count = 2
await imgColl.ReadAsync(filePath); // => ❌ imgColl.Count = 4


Images
Note: This sample TIF contains 7 pages
Multipage TIFF Sample_.tif
Magick.NET version
14.16
Environment (Operating system, version and so on)
Windows 11
Description
Calling
MagickImageCollection.ReadAsyncappends to the collection instead of replacing it.Steps to Reproduce
Images
Note: This sample TIF contains 7 pages
Multipage TIFF Sample_.tif