2 ms·
Browsers already have to include an encoder for JPEG and PNG. They need that anyway for things like toDataURL(), see https://developer.mozilla.org/en-US/docs/
by jonsneyers 5y ago
Browsers already have to include an encoder for JPEG and PNG. They need that anyway for things like toDataURL(), see
https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/toDataURL https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasE...