RebusMediaJTH opened a new issue #659:
URL: https://github.com/apache/cordova-plugin-camera/issues/659


   ## Information
   In CameraProxy.js, whenever `canvas.toDataURL` is called, you can specify 
the quality for JPEG.
   
   `canvas.toDataURL('image/jpeg', 0.75);` (Basically, the quality / 100)
   
   Also, whenever `image.onload` is handled, it should also be handling 
`image.onerror`
    
   At the moment, if there's an error at this point, onload is not called and 
no callback is made. (A way to test this is to suffix something like a text or 
pdf file with .png or .jpeg).
   
   
   
   ### Environment, Platform, Device
   Windows 10 desktop
   
   ### Version information
   Latest
   
   ## Checklist
   
   - [ x] I searched for existing GitHub issues
   - [ x] I updated all Cordova tooling to most recent version
   - [ x] I included all the necessary information above
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to