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

Image lost on window resize #235

Open
danilokujacic1 opened this issue Jan 3, 2025 · 1 comment
Open

Image lost on window resize #235

danilokujacic1 opened this issue Jan 3, 2025 · 1 comment

Comments

@danilokujacic1
Copy link

On window resize when i try to save an image as base64 it always gives me this "data:," instead of image base64, but the data is there.

@mostafazke
Copy link
Owner

Hi @danilokujacic1,

Could you elaborate a bit more on the issue? I tried reproducing it using the basic example:
https://mostafazke.github.io/ng-whiteboard/examples

I resized the browser window and then pressed "Save as -> Base64." The string was successfully copied, with a string like this: data:image/png;base64,XXXXXXXXXXXXX.

It would be helpful if you could share more details.

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

No branches or pull requests

2 participants