AS3 How do you scale video down?
I have a webcam capturing video at a certain resolution, but I want to display it at a lower resolution for preview purposes.
When I scale the video down using another another video object set at this lower r开发者_如何转开发es, the image quality seems to be quite bad.
What is the best way of doing this?
On the video object set
video.smoothing = true;
set smoothing
to true and change the scaleX
and scaleY
properties.
myVideo.smoothing = true;
myVideo.scaleX = myVideo.scaleY = 0.5;
精彩评论