This is the testing Godot forums! All forum posts unique to this forum will be deleted! Please use the main forums here for any posts you want to keep. All forum rules still apply.

image to send clipboard OS and call back

VolkovinoVolkovino Posts: 1Member

There is data communication between GDScript and OS via HARD DISK. For the clipboard "STRING" content, there is a way between them using OS.get/set_clipboard() methods via RAM. However, for the clipboard "IMAGE/TEXTURE" content, i could not find a way to communicate via RAM.

For instance, godot has such capability to get screenshot using "get_viewport().get_texture().get_data()". But it is only for GdScript internal use. 

I believe Godot , which is flexible structure, must have this very basic method.

I am working on a narrow scope word processing software project which will include rich text editing, graph editing (graph nodes etc.) and image transfers from/to OS, I have checked Emilio's base studies concerning those subject 

(https://www.youtube.com/watch?v=nk0YQGb08IA&list=PLQsiR7DILTczMLsN8qmMym7pYfJXynzK0&index=1)

But I could not find any clue regarding my issue. If godot can not provide such a service. I need to change my path soon.

Am I incompetent to find an available service or gdscript has not a method for such thing?

Thanks for any guiding in advance...

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.