Replies: 1 comment 1 reply
-
I don't know how to do this myself, but you can probably do it with Skia if Avalonia can't do it. Avalonia uses Skia for its backend on most platforms so you should already have a dependency for it without bringing in any extra library. https://learn.microsoft.com/en-us/dotnet/api/skiasharp.skbitmap?view=skiasharp-2.88 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How to read gray images?
“ public Bitmap(string fileName) ” This method reads images in 4-channel format, even if the original image is a single channel gray image
Beta Was this translation helpful? Give feedback.
All reactions