mbrlabs / Lorien

Infinite canvas drawing/whiteboarding app for Windows, Linux and macOS. Made with Godot.
MIT License
5.5k stars 237 forks source link

Support for pasting images #100

Open voithos opened 2 years ago

voithos commented 2 years ago

It'd be really nice if Lorien supported pasting in images (and moving / resizing them). This would be useful in augmenting the free-form brainstorming that's already possible with some specific images/screenshots.

Thanks again for the cool tool. :)

hansemro commented 2 years ago

I started working on adding image-paste support via external C++ library clip since Godot can only retrieve text from clipboard. Currently, I have only tested on Linux since I do not have macOS or Windows development environments ready.

GDClip demo

Lorien Paste POC

mbrlabs commented 2 years ago

@hansemro impressive! We can use this when we add full image support ;)

I would have just started with dragging images into the app window (which you can do with Godot) and then implement everything based on that. But unfortunally i'm very busy right now, so i'm of very little help for such a big new feature :/

hansemro commented 2 years ago

I am nearly finished with clipboard support using GDClip (which is ready). Current status: https://github.com/hansemro/Lorien/issues/1

Let me know if you are interested in a merge request (without super-eraser + debug stuff)

Added builds for Windows/macOS/Linux: https://github.com/hansemro/Lorien/releases/tag/v0.5.0-gdclip-super-eraser-dev-r1