Skip to content

'Image' does not contain a definition for 'GetPixelMemoryGroup' #1336

Answered by antonfirsov
georgekosmidis asked this question in Q&A
Discussion options

You must be logged in to vote

You need to specify the pixel type to access the pixel buffers. The Image base type is intended to be agnostic of the underlying representation, since we plan to decode images in their native format for better perf.

Use Image.Load<Rgba32>(...) (or other pixel type), that will load an Image<TPixel>, the extension method is defined over that type.

Replies: 2 comments

Comment options

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

You must be logged in to vote
0 replies
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