Skip to content

ImageSharp #17

Jul 6, 2022 · 1 comments · 7 replies
Discussion options

You must be logged in to vote

Hi, interesting idea.
You could do that by implementing your own IRenderTarget. For that, please see the Readme and this Avalonia-specific sample implementation:
https://github.com/MarcusWichelmann/MarcusW.VncClient/blob/master/src/MarcusW.VncClient.Avalonia/RfbRenderTarget.cs#L31

You would only have to implement the GrabFramebufferReference method. As you can see, there it creates a WriteableBitmap, which is also Avalonia-specific, but could be any other Bitmap implementation. All the VNC-Client implementation needs, is a pointer to the memory, where whatever Bitmap implementation stores its image.

So after looking at the ImageSharp documentation, your best bet would probably be, to allo…

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@elijahr2411
Comment options

@elijahr2411
Comment options

@MarcusWichelmann
Comment options

@elijahr2411
Comment options

@MarcusWichelmann
Comment options

Answer selected by MarcusWichelmann
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
Converted from issue

This discussion was converted from issue #16 on July 08, 2022 07:24.