Sevki
Sevki

Reputation: 3682

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.

Upvotes: 2

Views: 2020

Answers (2)

Pygmy
Pygmy

Reputation: 1268

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.

Upvotes: 0

Ian Griffiths
Ian Griffiths

Reputation: 14537

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.

Upvotes: 1

Related Questions