An open-source System.Drawing.Common replacement for .NET 5 and above on all platforms. Bringing together System.Drawing, Maui, and ImageSharp's Bitmap, Image, Font, and Shape types via an agnostic free NuGet package.
Other
120
stars
19
forks
source link
Updates AnyBitmap implicit casting XML Comments #65
From memory leak which @djrecipe raise on Friday.
The source object can't Dispose() when finished casting because it may lead to another issue.
In this PR add the XML comment to AnyBitmap and implicit casting to describe the source image object should be dispose by themself.
Type of change
Please select the relevant option by placing an 'x' inside the brackets, like this: [x].
[ ] 🐛 Bug fix (non-breaking change which fixes an issue)
[ ] ✨ New feature (non-breaking change which adds functionality)
[ ] 💥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] 🏗️ Internal/structural update (non-breaking change that improves code quality, organization, or performance)
Description
From memory leak which @djrecipe raise on Friday. The source object can't
Dispose()
when finished casting because it may lead to another issue. In this PR add the XML comment toAnyBitmap
andimplicit casting
to describe the source image object should be dispose by themself.Type of change
Please select the relevant option by placing an 'x' inside the brackets, like this: [x].