Get and set image from and to clipboard?
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- NetherGranite
- Prole
- Posts: 30
- Joined: Wed Jul 11, 2018 11:08 pm
Get and set image from and to clipboard?
There are functions available for getting and setting text from and to the clipboard, but is there similar functionality for images? If not, is there a hacky way to do it?
- zorg
- Party member
- Posts: 3449
- Joined: Thu Dec 13, 2012 2:55 pm
- Location: Absurdistan, Hungary
- Contact:
Re: Get and set image from and to clipboard?
Well, you can make it work at least one way, from löve to the clipboard; there's a function to convert an image into a string.
That said, it may contain chars that aren't printable so it may or may not work.
That said, i think at least windows has separate clipboard space for different types of data? Not sure if SDL'd be able to access the non-text ones :v
That said, it may contain chars that aren't printable so it may or may not work.
That said, i think at least windows has separate clipboard space for different types of data? Not sure if SDL'd be able to access the non-text ones :v
Me and my stuff True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
Who is online
Users browsing this forum: Bing [Bot] and 6 guests