You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Image<TPixel> comes with an indexer so you do not need to create a new array. You are also not using tha alpha component of the Rgba32 struct so you might as well save another 25% memory by ignoring it and using the Rgb24 struct instead.
Image<TPixel>
comes with an indexer so you do not need to create a new array. You are also not using tha alpha component of theRgba32
struct so you might as well save another 25% memory by ignoring it and using theRgb24
struct instead.https://github.com/MaitreDede/RaspberryPi.Libs/blob/758a849be16ade461ef1e4be8218aaf78627ac6b/RaspberryPi.LibLedMatrix.ImageSharp/LedCanvasExtensions.cs#L20
Could be:
The text was updated successfully, but these errors were encountered: