-
Notifications
You must be signed in to change notification settings - Fork 209
zxing:CameraBarcodeReaderView does not have zoom capability #196
Copy link
Copy link
Open
Description
Issue Description
As the issue title says, there is no way to zoom the CameraBarcodeReaderView component.
Expected Behaviour/Functionality
Ideally, the camera view would have a "pinch to zoom"-like feature but it's understandable if that is out of the scope of this issue. Realistically, the CameraBarcodeReaderView control should have a CurrentZoom, MinimumZoom, and MaximumZoom bindable property which takes the device's zoom limits into account and enables camera zooming.
The Maui Community Toolkit has recently added a CameraView control which is capable of zooming. See the related docs here https://learn.microsoft.com/en-us/dotnet/communitytoolkit/maui/views/camera-view?tabs=windows#control-zoom .
A similar feature is desirable.
Expected usage example
<!--SomePage.xaml-->
...
xmlns:zxing="clr-namespace:ZXing.Net.Maui.Controls;assembly=ZXing.Net.MAUI.Controls"
...
<zxing:CameraBarcodeReaderView
x:Name="cameraBarcodeReaderView"
BarcodesDetected="OnBarcodesDetected"
CurrentZoom="1.0"
MinimumZoom="0.5"
MaximumZoom="10.0"
IsDetecting="True" />
...Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels