Skip to content

SVG optimization/conversion fails in Firefox #35

@Wohma

Description

@Wohma

Describe the bug
When using Mazanoke to optimize/convert SVGs in Firefox or Zen Browser, it fails with "OffscreenCanvas.convertToBlob: Cannot get blob from empty canvas."

To Reproduce
Steps to reproduce the behavior:

  1. Open Mazanoke in Firefox/Zen
  2. Upload an SVG file (seems to be regardless of settings)
  3. No image is produced, error in console is thrown

Expected behavior
Image gets optimized and is ready for download.

Screenshots
Image

Desktop (please complete the following information):

  • OS: Fedora 42
  • Browser Firefox/Zen (tested in both)
  • Version 140.0 / 1.14.2b

Additional context
Conversion in Chrome seems fine.
Example svg that fails: https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/adobe.svg

On a side note:

  • It would be great to list supported browsers
  • If the conversion fails, it should not fail silently but at least some error should be displayed to the user.

Thanks in advance!

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions