Closed djrecipe closed 9 months ago
AnyBitmap.FromSpan()
AnyBitmap
ReadOnlySpan<byte>
Image.DetectFormat()
Span is a bit slower but uses much less memory. It's optional.
ReadOnlySpan Gains
Tiff Gains
Please select the relevant option by placing an 'x' inside the brackets, like this: [x].
Locally, see above images
Please run through the checklist as much as possible and mark the items completed by placing an 'x' inside the brackets, like this: [x].
added tiff improvements; removed detrimental in keywords (I thought it caused them to be passed by ref but now I understand the use)
in
This is related to #57
Memory Improvements
AnyBitmap.FromSpan()
and newAnyBitmap
constructor both which takeReadOnlySpan<byte>
Image.DetectFormat()
to avoid trying to load Tiffs (saves some time and memory)Span is a bit slower but uses much less memory. It's optional.
ReadOnlySpan Gains
Tiff Gains
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].