canvas.convertToBlob() doesn't throw on a format it can't encode. It hands you a PNG. August 24, 2026 · Dev.to Read full story at source