Save RenderTargetBitmap to MemoryStream #18028
Unanswered
Switch0621
asked this question in
Q&A
Replies: 2 comments
-
Try seeking the stream back to 0 before passing it into the |
Beta Was this translation helpful? Give feedback.
0 replies
-
Yes. You need to seek stream to beginning before using it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the bug
Hi all!
I trying to save RenderTargetBitmap to MemoryStream and after that create Bitmap from the stream, but have exception. (Win10 x64 22H2)
What i did wrong?
P.S. RenderTargetBitmap.CreateScaledBitmap has exception too
To Reproduce
Expected behavior
No response
Avalonia version
11.2.3
OS
No response
Additional context
Beta Was this translation helpful? Give feedback.
All reactions