# Poor webcam quality

**URL:** <https://forum.kirupa.com/t/poor-webcam-quality/240621>\
**Category:** Uncategorized\
**Created:** [October 4, 2007, 3:00pm UTC](https://forum.kirupa.com/t/poor-webcam-quality/240621 "2007-10-04T15:00:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![RvdHanenberg](https://avatars.discourse-cdn.com/v4/letter/r/d6d6ee/32.png) [@RvdHanenberg](https://forum.kirupa.com/u/RvdHanenberg)\
**Post date:** [October 4, 2007, 3:00pm UTC](https://forum.kirupa.com/t/poor-webcam-quality/240621/1 "2007-10-04T15:00:57Z")

</div>

I’m using the script below to show input from mij webcam. As long as I keep the video-instance small, no worries. But when I use a larger instance (eg. 400by300) , the quality of the footage drops big time. My webcam (iMac, internal) can do way better than that.

```auto

[LEFT][COLOR=#000084]var[/COLOR] my_cam:Camera = Camera.[COLOR=#000084]get[/COLOR]();
[COLOR=#000084]var[/COLOR] my_video:[COLOR=#000084]Video[/COLOR];
my_video.[COLOR=#000084]attachVideo[/COLOR](my_cam);
my_video.[COLOR=#000084]_width[/COLOR]=400;
my_video.[COLOR=#000084]_height[/COLOR]=300;
my_cam.setQuality(0, 100);

```

What am I doing wrong?[/LEFT]
