How to convert the BitmapImage to Image<Rgb24> in c# ? #1605
-
hi there. i'm newbie in ImageSharp. This is the sample code(c#) I want to change the input data part. because my Image type is the BitmapImage Class (using System.Windows.Media.Imaging;) So, How can i change from the BitmapImage(bitmap_image) to ImageSharp Image ??? Have a wonderful day |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
@gitcheol can you be more specific what is not working and what you are doing? I was able to run the sample project from the tutorial you have posted using ImageSharp. |
Beta Was this translation helpful? Give feedback.
-
@brianpopow I think the core of the question is about converting between WPF's @gitcheol not familiar enough with WPF image sources, but I recommend to pull down and try the following project, it should contain working code for this: Also check the discussion under #531. |
Beta Was this translation helpful? Give feedback.
@brianpopow I think the core of the question is about converting between WPF's
BitmapImage
and ImageSharp image, so then the sample code can be tried on it.@gitcheol not familiar enough with WPF image sources, but I recommend to pull down and try the following project, it should contain working code for this:
https://github.com/jongleur1983/SharpImageSource
Also check the discussion under #531.