Replies: 2 comments 5 replies
-
Another hook could be an extension method that does something similar to the approach that I use in Magick.NET: https://github.com/dlemstra/Magick.NET/blob/c7c98835b017277820884b574823f6da049db5ef/src/Magick.NET.SystemWindowsMedia/IMagickImageExtentions.cs. This copies the pixels to from the image to a |
Beta Was this translation helpful? Give feedback.
-
@jhwheuer also check out the usage example in #1419 This is about 3rd UWP-interop request I see in the past month. If you manage to figure it out, any chance you can post a code example? @Sergio0694 any interest to contribute such examples to https://github.com/SixLabors/Samples ? |
Beta Was this translation helpful? Give feedback.
-
Since shoveling bitmap arrays between file and memory is a bit cumbersome (not to say painful with the UWP disk-IO framework), I would like to be able to export the result of an Image manipulation to a
Windows.Graphics.Imaging.SoftwareBitmap
or aWindows.UI.Xaml.Media.Imaging.WriteableBitmap
.Any idea how to do that, or where to put a hook?
I could envision an Encoder that does something with this kind of approach... https://docs.microsoft.com/en-us/uwp/api/windows.ui.xaml.media.imaging.writeablebitmap.pixelbuffer?view=winrt-19041
Beta Was this translation helpful? Give feedback.
All reactions