GetPixelSpan is removed without any release note? #1263
-
I just migrate my project form 0007beta to rc3. I dont find GetPixelSpan() any more. From git I only find references where devs speak about moving to GetPixelSpan() but not any mention of moving out from it. Any ideas why I dont find it any more? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Hi @burner-
The method is documented in our API documentation |
Beta Was this translation helpful? Give feedback.
-
Depending on use-case, #1258, and my #1258 (comment) might be also interesting/important. |
Beta Was this translation helpful? Give feedback.
Hi @burner-
GetPixelSpan()
was replaced byTryGetPixelSpan(out Span<TPixel> pixels)
in the RC1 release as part of #1109 where we introduced the ability to handle multi megapixel images via discontiguous buffers.The method is documented in our API documentation
https://docs.sixlabors.com/api/ImageSharp/SixLabors.ImageSharp.Image-1.html#SixLabors_ImageSharp_Image_1_TryGetSinglePixelSpan_System_Span__0___