I need a WPF control开发者_如何学Go with zooming enabled? I am currently using WPFmediakit and it works good but is there a way to do zoom using multiples of doubles.
You should be able to use WPF's built-in ScaleTransform. WPF already has the built-in ability to scale anything, so you shouldn't need the VideoCaptureElement control from the media kit to provide any zooming support of its own.
I think you need to be more clear about what it exactly is you want. If you want to use the camera's (optionally) built-in zoom then that has nothing to do with WPF. If on the other hand you want to zoom in on the image-output (Framebuffer) of the camera, you can just use WPF's ScaleTransform.
精彩评论