-
-
Notifications
You must be signed in to change notification settings - Fork 98
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
🚀 - Scale when copy to clipboard #509
Comments
Hi @goncy, this is something I would like to add with priority, and with the ui kit update it's something that may be achieved easily. I was thinking to refactor all of these buttons with a What do you think about it? (screenshots is just an example). The button option could be available for "Copy to clipboard", "Open" and "Export" action. The configuration may also be shared and persisted locally in order to remember the settings. Anyway, I can release this feature with the end of April deploy which will contains also the Preset and the new UI update in case you can see the preview here, but options are not working at the moment |
SGTM 🤝
|
I haven't forgotten about this but I had so many things to do 😫 This feature should be almost done (just a working preview https://codeimage-31mbaxp2m-riccardoperra.vercel.app). Both copy-to-clipboard and Open actions will use options from the new export settings button, which will be also persisted locally in order to not lose that settings with refresh I also added a new scale (6x) that should be enough for most of cases..unless you need images with 10_000x8000 resolution 😅 I think I can finish the last few things this week and deploy all the new features in production |
Done and to be deployed in 1.4.0 |
Live with 1.4.0 |
Which @codeimage/* package(s) are relevant/releated to the feature request?
codeimage
Description
When exporting, you have the ability to scale before saving. But when you copy to the clipboard you only get 1x images that are low-res for slides. Can the resolution of the copied one be increased/configured?
A small hack I found is just override the devicePixelRatio so the image upscales when copied to clipboard:
Which works because of this
The text was updated successfully, but these errors were encountered: