jgraph / drawio-desktop

Official electron build of draw.io
https://www.diagrams.net
Apache License 2.0
47.87k stars 4.82k forks source link

Support exporting to WebP via the CLI #1652

Open marto55555 opened 3 months ago

marto55555 commented 3 months ago

Is your feature request related to a problem? Please describe. I'd like to export diagrams as WebP images via the command line interface, but it's currently only possible through the GUI. The CLI supports these formats only: pdf, png, jpg, svg, vsdx, and xml

Describe the solution you'd like draw.io.exe diagram.drawio -x -o image.webp to work

Additional context Exporting to WebP via the GUI was recently added: https://github.com/jgraph/drawio/issues/553

m-mohamedin commented 1 month ago

It's not possible to generate Webp images from electron https://github.com/electron/electron/issues/42034