Open cviebrock opened 13 years ago
It's enough to comment out
var e = new JPGEncoder(quality);
and comment in the return false. A recompilation generates the canvas-only version because all dependencies are not embedded.
Robert
hi cviebrock ,
were u able to compile it for different dimension ? i tried as infusion said above but no luck .
if (file) {
// i commented the below line
/var e = new JPGEncoder(quality);/
var sal = {};
sal.sendAndLoad = XML.prototype.sendAndLoad;
sal.contentType = "image/jpeg";
sal.toString = function() {
return e.encode(JSCam.buffer);
}
var doc = new XML();
doc.onLoad = function(success) {
ExternalInterface.call("webcam.onSave", "done", this.toString());
}
sal.sendAndLoad(file, doc);
/ ExternalInterface.call('webcam.debug', "error", "No save mode compiled in."); return false; / // and added the below line return false;
}
if you can compile for me at 480*480 dimensions , will really appreciate . :
Can you give some tips on make-ing a canvas-only version of the Flash file? I just want to recompile to change the cam dimensions.
Thanks!