How to load picture from device srorage? #15732
Answered
by
thevortexcloud
DmitryBorodiy
asked this question in
Q&A
-
How I can load picture Bitmap from the disk and show it in Image using Avalonia? Should:
|
Beta Was this translation helpful? Give feedback.
Answered by
thevortexcloud
May 15, 2024
Replies: 1 comment 2 replies
-
Make an https://docs.avaloniaui.net/docs/concepts/services/storage-provider/ |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes. There is an example here: https://docs.avaloniaui.net/docs/tutorials/music-store-app/displaying-images
Otherwise just use the constructors:
https://reference.avaloniaui.net/api/Avalonia.Media.Imaging/Bitmap/CF219A66
https://reference.avaloniaui.net/api/Avalonia.Media.Imaging/Bitmap/EFE51BA5