Skip to content

GetPixelSpan is removed without any release note? #1263

Answered by JimBobSquarePants
burner- asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @burner-

GetPixelSpan() was replaced by TryGetPixelSpan(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___

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by burner-
Comment options

You must be logged in to vote
4 replies
@burner-
Comment options

@antonfirsov
Comment options

@burner-
Comment options

@antonfirsov
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants