Skip to content

Exporting large diagrams to PNG or to clipboard does not work. #177

@alennartz

Description

@alennartz

not sure what the size threshold is for this, maybe some number of pixel or elements, but export to png and clipboard starts to break at that point i get either an empty png or one with like 5% of the items rendered (but correct canvas size).

I have also seen it where the export works at 1x scale but not 2x scale as in this example. (rename to .excalidraw if you want the extension to pick it up)

temp.json

This leads me to believe it's related to pixel size. along with the fact that SVG appears to work fine (i don't really use it so haven't tested extensively)

If i copy paste the contents of my diagram to the excalidraw website then export it works as expected and this is what I am currently using as a workaround.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions