iron-software / IronSoftware.System.Drawing

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

Memory Improvements #90

Closed djrecipe closed 9 months ago

djrecipe commented 10 months ago

Memory Improvements

Span is a bit slower but uses much less memory. It's optional.

ReadOnlySpan Gains

devenv_crWylrUHYM devenv_g9lJ8i0NIu

Tiff Gains

olde newe

Type of change

Please select the relevant option by placing an 'x' inside the brackets, like this: [x].

How Has This Been Tested?

Locally, see above images

Checklist:

Please run through the checklist as much as possible and mark the items completed by placing an 'x' inside the brackets, like this: [x].

djrecipe commented 10 months ago

added tiff improvements; removed detrimental in keywords (I thought it caused them to be passed by ref but now I understand the use)

jordi-ironsoftware commented 9 months ago

This is related to #57