'Image' does not contain a definition for 'GetPixelMemoryGroup' #1336
-
Hello all,
What am I missing here? Seems like right out of the docs :) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
You need to specify the pixel type to access the pixel buffers. The Use |
Beta Was this translation helpful? Give feedback.
-
Thank you very much! |
Beta Was this translation helpful? Give feedback.
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 anImage<TPixel>
, the extension method is defined over that type.