Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Offload image manipulation to Rust #12

Open
mazipan opened this issue Jan 10, 2025 · 0 comments
Open

Offload image manipulation to Rust #12

mazipan opened this issue Jan 10, 2025 · 0 comments

Comments

@mazipan
Copy link
Owner

mazipan commented Jan 10, 2025

Currently we convert the dom to image in React. Then download/save it using Tauri plugin.

I believe it will be better if we move this task to Rust instead.

But the challenge is I still can not figure out how to manipulate the image as we did in the DOM.

At least we need to:

  • Add border radius from existing image
  • Add padding to the backdrop background
  • Add background backdrop from existing image (should we use 2 image and merge it?)

Image manipulation in Rust is not an easy task 😭

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant