src/webm-writer-0.2.0.js
function renderAsWebP(canvas, quality) {
            var
                frame = canvas.toDataURL('image/webp', {quality: quality});
            
            return decodeBase64WebPDataURL(frame);
        }
function renderAsWebP(canvas, quality) {
            var
                frame = canvas.toDataURL('image/webp', {quality: quality});
            
            return decodeBase64WebPDataURL(frame);
        }
function renderAsWebP ( canvas , quality ) { var frame = canvas . toDataURL ( 'image/webp' , { quality : quality } ) ; return decodeBase64WebPDataURL ( frame ) ; }
Convert the given canvas to a WebP encoded image and return the image data as a string.
Convert the given canvas to a WebP encoded image and return the image data as a string .