Skip to content

Update existing image from byte array with raw image data #1682

Answered by JimBobSquarePants
ggolda asked this question in Q&A
Discussion options

You must be logged in to vote

Yep. That's something a few people have asked for over the years.

Image.WrapMemory

var memory = new Memory<Rgba32>(array);
using Image<Rgba32> image = Image.WrapMemory(memory, width, height);

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@antonfirsov
Comment options

@ggolda
Comment options

Answer selected by ggolda
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants