Skip to content

Generate image on save #1

Description

@sspaink

Currently on save the user will be directed to a URL with a pregenerated image created by a local utility and uploaded to github. This might cause issues with github repo storage limits, could upload to a paid storage solution but...

Luckily the package rfd now supports save_file for wasm: PolyMeilex/rfd#134
This could be used to generate the image on save and allow the user to save it locally.

Looked into it briefly, not sure how this can be used with image::save_buffer because it seems the dialog only triggers with a call to write and doesn't return a path which image::save_buffer expects as one of its arguments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions