MDN Canvas toBlob
Use the Canvas toBlob API to encode a bitmap in the browser.
Preparing your comprehensive developer toolkit
Practical Guide
Re-encode JPEG, PNG or WebP locally to remove embedded metadata. Compare the file sizes and preview the result before downloading.
Re-encode JPEG, PNG or WebP locally to remove embedded metadata. Compare the file sizes and preview the result before downloading.
Use the Canvas toBlob API to encode a bitmap in the browser.
Re-encode JPEG, PNG or WebP locally to remove embedded metadata. Compare the file sizes and preview the result before downloading.
Choose a JPEG, PNG or WebP up to 25 MiB or load the sample. Check the output preview, dimensions and file size before downloading.
Choose a JPEG, PNG or WebP up to 25 MiB or load the sample. Check the output preview, dimensions and file size before downloading.
The data is processed in your browser and is not uploaded by this tool.
Choose a JPEG, PNG or WebP up to 25 MiB or load the sample. Check the output preview, dimensions and file size before downloading.
Use the Canvas toBlob API to encode a bitmap in the browser.
Open the tool to try these features.