-
Notifications
You must be signed in to change notification settings - Fork 12
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
Create a panel to display last 10 images from clipboard stored locally #13
Comments
Related to (feat) Alert before paste & screenshot history #1 |
Hello @ekqt I've been thinking about how we can accomplish this feature, I still feel like the local storage idea could work, but after doing a few tests and research I've found out that huge images could take a while to be converted and use up to megabytes each in storage. I thought about using the browser's native file API, so we can load and reference the images locally from the users drive. To provide a better UX, we could then take a snapshot the latest state that the user left the image and downscale to a very low res thumbnail and that could be converted to a Base64 string of maybe 30 to 50 kilobyes, along with the settings parameters. This would allow the user to have the last 10 images with a small preview plus the saved state of them. Please let me know how do you feel about this. |
Hey, @mateusabelli I'm open for this. Sounds like an interesting proposal, if there is anything I can do to help, please let me know! |
That's cool, thank you for assigning me @ekqt. I'll be opening a draft PR as soon as possible to further test the implementation. |
We think it would be useful to have access to the last 10 images that have been pasted from the clipboard. So I'm figuring that after successfully pasting an image we can store in the local storage. @mateusabelli gave this suggestion:
The text was updated successfully, but these errors were encountered: