Integrated 24-bit and 32-bit pixel interface? #2472
-
Like this interface IPixel24
{
public byte R;
public byte G;
public byte B;
}
interface IPixel32
{
public byte A;
public byte R;
public byte G;
public byte B;
}
|
Beta Was this translation helpful? Give feedback.
Answered by
JimBobSquarePants
Jun 9, 2023
Replies: 1 comment 8 replies
-
What's your use case that would require such functionality? Do you have an example of what you are trying to do? |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That’s a terrible benchmark not comparing what I mean at all.
use
Image.Load<Rgba32>
for both images. No need to clone anything.