Skip to content

Equivalent of System.Drawing.Bitmap.LockBits() in ImageSharp #1264

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

You must be logged in to vote

Yeah... 2018 is a long time ago in development years 😉

The pixel buffer in ImageSharp is laid out in memory in the manner dictated by the TPixel generic parameter which allows fast lock free access to the buffer.

https://docs.sixlabors.com/articles/imagesharp/pixelbuffers.html

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@kikootwo
Comment options

@kikootwo
Comment options

@JimBobSquarePants
Comment options

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