Can the dimensions of the camera scanner become smaller when in a smaller View?
See original GitHub issueI have added the QRCodeScanner inside a View which is around 1/3 of the page height (and almost 100% of the page width).
I noticed that the marker
is still large and that the detection of the QR is better on a corner than in the middle. Also the scanner requires more space and makes the ScrollView have a scrollbar.
I added width, height props to cameraStyle
, is this the correct approach? The marker is still very large (part of it shows out of the view). Is the QR detection depended on that?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:5
- Comments:9 (1 by maintainers)
Top Results From Across the Web
How to reduce the size of scanned images in Preview - CNET
If you have previously scanned documents that you would like to reduce in size, open them with Preview and then save them as...
Read more >How to decrease the file size of scanned document in Control ...
Are your files too large when you scan them? Here's some easy instructions on how to make the file size small on our...
Read more >Understanding 3D Scanners: Field of View Explained and ...
A 3D scanner that uses two cameras produces more reliable and accurate 3D measurements compared to a 3D scanner that uses only one...
Read more >Sample Scans - Understanding Image Quality vs. File Size
Sample Document - demonstrates color and smaller print, Color and gray images saved JPEG, ... Balancing image quality to file size can be...
Read more >Scan a document or image in Preview on Mac - Apple Support
You can scan several smaller images at once, save each image in its own file, and straighten any images that were crooked on...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m struggling with this too, added height and width to cameraStyle but it seems to do nothing, it’s still overly large and covering other content outside of the view it’s in.
After having various sizing/styling issues with this package, I switched to https://github.com/react-native-community/react-native-camera which also supports (qr|bar)code scanning. Might be worth a try @YogeshYo .