Skip to content

Getting A pointer to the first Pixel of the Image without Instantiating a Collection #1786

Answered by dlemstra
jdmsolarius asked this question in General
Discussion options

You must be logged in to vote

There is no iteration happening. You are only getting an api to access the pixels. I have now tried to explain this multiple times but I am not sure what kind of wording I should use to make this clear to you. The PixelCollection is IEnumerable but the pixels will only be iterated when you are doing that yourself. The GetAreaPointer method returns your a pointer to the native pixel area that you specified.

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@jdmsolarius
Comment options

@dlemstra
Comment options

@jdmsolarius
Comment options

@dlemstra
Comment options

Answer selected by jdmsolarius
@jdmsolarius
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants