Integrating BFS into a WPF project (C#)
AnsweredHi, I have been trying to display an IManagedImage from my BFS camera in WPF. So far WPF requires a bitmapSource Object or a WritableBitmap Object to update an image source. And when I tried to use the ConvertToBitMapSource or ConverToWritableBitmap. I get this error saying I am not able to do this. When using the same ImanagedImage as the destination. And When I use a space IManagedImage I get another error. Is there a .dll File that I am missing for this execution or a logical misstep I have?
-
Official comment
Hello,
We do have a simple Managed example that works with bitmap images in a PictureBox. That should be able to get you to the bitmap acquisition and hopefully allow you to do what you want.
You can find our SpinDotNet_PictureBox example in our github repo at https://github.com/Teledyne-MV/Spinnaker-Examples
If you are having an exception in your code, I think it is best to send it to us in a ticket so we can see what could be going on. I believe you have opened a support ticket with us for this already, we can work through your code off-line, and post the final result here after it is resolved.
Thank you,
Demos
Please sign in to leave a comment.
Comments
1 comment