imagecapture-polyfill icon indicating copy to clipboard operation
imagecapture-polyfill copied to clipboard

fix: use image/jpeg as the target format

Open mweibel opened this issue 5 years ago • 3 comments

when using the Chrome's native ImageCapture it outputs a JPEG. Default HTMLCanvasElement.toBlob() outputs a png unless otherwise specified. This change aligns those two implementations.

mweibel avatar Aug 28 '20 08:08 mweibel

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

:memo: Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here with @googlebot I signed it! and we'll verify it.


What to do if you already signed the CLA

Individual signers
Corporate signers

ℹ️ Googlers: Go here for more info.

googlebot avatar Aug 28 '20 08:08 googlebot

@googlebot I signed it!

mweibel avatar Aug 28 '20 08:08 mweibel

CLAs look good, thanks!

ℹ️ Googlers: Go here for more info.

googlebot avatar Aug 28 '20 08:08 googlebot