Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show big black background in Camera #17

Open
xugangbbs opened this issue Aug 21, 2019 · 1 comment
Open

Show big black background in Camera #17

xugangbbs opened this issue Aug 21, 2019 · 1 comment

Comments

@xugangbbs
Copy link

xugangbbs commented Aug 21, 2019

if i use CameraControl, it is not show a big black background in the video's top and bottom. but if i use Camera in the picturebox, it's show a big black background in the video's top and bottom.
why? I can't find some setting in the CameraControl.
image

@free5lot
Copy link
Owner

Probably when you use PictureBox - it has bigger height, so you get extra black fields (because library preserves the correct aspect ration. Try to change the picture height to the video resolution's height and there will be no need to add black parts.
And I would recommend to use CameraControl anyway, it's more convenient.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants