简体   繁体   中英

Is there a wpf webcam control with zoom feature?

I need a WPF control 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM