infusion / jQuery-webcam

A webcam wrapper plugin for jQuery
http://www.xarg.org/project/jquery-webcam-plugin/
517 stars 273 forks source link

jQuery webcam plugin - how to output bigger images? #12

Closed phstc closed 12 years ago

phstc commented 12 years ago

Hey!

This issue is based on "jQuery webcam plugin - how to output bigger images?" on stackoverflow.

Could you change the hardcoded dimensions in the jscam.as as described in the answer 1?

// jscam.as
166. for (var i = 0; i < 240; ++i) {
becomes: for (var i = 0; i < Stage.height; ++i) {

169. for (var j=0; j < 320; ++j) {
becomes: for (var j=0; j < Stage.width; ++j) {

166. for (var i = 0; i < 240; ++i) {
becomes: for (var i = 0; i < Stage.height; ++i) {

169. for (var j=0; j < 320; ++j) {
becomes: for (var j=0; j < Stage.width; ++j) {

Cheers, Pablo Cantero

anguyen-elc commented 12 years ago

You need to recompile the jscam again after changing the resolution in the .xml and .as files. Search in the issues section and you will find this.