Skip to content

Fixed a issue where a browser error was thrown when a svg was passed into canvasToBlob#38

Merged
p2r3 merged 1 commit intop2r3:masterfrom
Timmindstorms:master
Feb 16, 2026
Merged

Fixed a issue where a browser error was thrown when a svg was passed into canvasToBlob#38
p2r3 merged 1 commit intop2r3:masterfrom
Timmindstorms:master

Conversation

@Timmindstorms
Copy link
Copy Markdown
Contributor

This fixes a issue where SecurityError: Failed to execute 'toBlob' on 'HTMLCanvasElement': Tainted canvases may not be exported. was thrown when a SVG was passed into the canvasToBlob handler.

To fixe the issue SVG files are converted into a DataURL instead of a ObjectURL.

@p2r3 p2r3 merged commit 63808f7 into p2r3:master Feb 16, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants