Hi, I'm trying to create an application where I create a jpeg image of my webcam stream and then save it to the server using amfphp.
I've got it all working but the image is incredibly small even though I have explicitly set the image width and height.
This is my code:
video.width = 523; video.height = 392; var snapshot:BitmapData = new BitmapData(523, 392); var m:Matrix = new Matrix(); snapshot.draw(video,m);
I noticed I had this same problem when displaying the video in a videoDisplay component but I was able to fix the problem by explicitly stating the dimensions of the video, this time I am not so lucky...