mirror of
https://github.com/NickeManarin/ScreenToGif.git
synced 2026-04-25 23:25:52 +03:00
[GH-ISSUE #251] [Feature request] Copy GIF animations to clipboard #1575
Labels
No labels
copy cats
duplicated
future feature
pull-request
⬜ Accepted
⬜ Completed
⬜ Help Wanted 💪
⬜ In Progress
⬜ Missing Details
⬜ Pending
⬜ Waiting For Answer ⏳
🆕 feature preview
🔷 Bug 🐛
🔷 Out Of Scope
🔷 Out Of Scope
🔷 Question
🔷Enhancement
🔷Enhancement
🔷Invalid / External
🔷Knowledge Base
🔷Won't Fix
🕑 High
🕑 High
🕑 High
🕕 Medium
🕙 Low
🕛 Critical
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ScreenToGif#1575
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @EirikBirkeland on GitHub (Feb 3, 2018).
Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/251
I'd like to be able to quickly copy/paste animations into Github -- currently, the clipboard content seems to contain an image only.
As Nicke explained to me, this may not be possible to implement under current framework/OS constraints.
Maybe a super-long-term goal?
@ashleedawg commented on GitHub (May 6, 2018):
@EirikBirkeland - I believe what Nick would have meant is that what you're asking isn't possible because of how Windows Clipboard is designed. Without getting into an explanation of why, trust me: there are a number of reasons that it is very unlikely that Microsoft would ever make the changes necessary to provide support for what you're asking.
I must admit I'm a curious where you are copying from (ie., online vs. specific app vs. Windows filesystem), and how often you're doing it, that makes a couple clicks an inconvenience? Perhaps you're not aware of how easy it already is to insert an Animated GIF from elsewhere (without copy/paste):
To copy an Animated GIF from a website:
Screen2Gif, hit Ctrl+Shift+O or click Media under File menu..To insert a copy of an Animated GIF from a file:
Even if what you're suggesting can be done, it would take a ton of work and redesign, which isn't a reasonable expectation from a one-man team providing a free piece of awesome software -- especially for such negligible user benefit (to occasionally save a couple clicks). Alternatively, this is an open project if you want to hire a developer... 😉
Side note: the
label that you used is incorrect in this case. A bug would be when the software produces an incorrect or unexpected result, or to behave in unintended ways contrary to how the developer intended it to operate. I think a more accurate label would be
.
@TomasHubelbauer commented on GitHub (May 6, 2018):
Excuse my ignorance, but couldn't you, upon clipboard keystroke, generate a temporary file with the animation and then copy that as a file rather than as a bitmap so when the user goes to insert something into the GitHub editor, they have just a generic file in the clipboard? I am not sure how GitHub deals with the past if it's a file (maybe it turns it into an attachment), but otherwise I think this could work.
@EirikBirkeland commented on GitHub (May 6, 2018):
@ashleedawg I didn't label anything, Nicke did.
I like to optimize my personal work processes. If you don't like my issue, just close it and focus on what you think matters.
Hire a developer? Who do you think I am?
I don't have "expectations", just some innocent requests. According to your logic, I should first learn C# and consider whether a request may be realistic before filing an issue? Oh, I'm sorry that my Windows clipboard knowledge is inadequate! Please educate me, oh mighty one!
Honestly I don't really care. ScreenToGif is nice as-is. I was just going through a short period of heavy use, hence why I went out of my way to file some possible enhancements based on my experience at the time.
You win the year's smugness award. Bye.
@NickeManarin commented on GitHub (May 6, 2018):
Yes, that's what I said to Eirik and that's what he cited, on the second paragraph.
It was me. I thought I was doing something wrong while loading the gif into the clipboard and I thought that I could do it differently.
So, this is a valid issue ticket.
@trustserve commented on GitHub (May 27, 2019):
Currently you can copy a link to clipboard for imagr. would love to see ability to copy richtext embed of that link to allow pasting image into any richtext window like gmail but others as well. i know screencastomatic does this to very good effect. its a much beloved feature that this does not have.
@dozd commented on GitHub (May 26, 2021):
This is the feature I am really missing. I am using windows
snip & sketchto share portions of my screen a lot and I would like same workflow with ScreenToGif.Just fast capture my screen, ctrl+c and share on whenever I want. I know I can save and than share, but that one step is really downgrade in terms of efficiency ;).
@NickeManarin commented on GitHub (May 26, 2021):
Not possible and not my fault :P
If apps behaved like Telegram (which is able to load files copied from Windows Explorer), that would be possible.
@dozd commented on GitHub (May 26, 2021):
It's like you cannot create a temp file or something and put it in clipboard? Or windows can't support gif in clipboard?
@NickeManarin commented on GitHub (May 26, 2021):
The issue is with the Windows API.
To be able to paste something like in Discord or even in here, you need to "copy as image". Literally
Clipboard.SetImage().The issue is that the method only supports BMP/PNG images.
Gif frames are lost on the conversion (that happens inside
SetImage()), only the first frame being pasted.@snorga commented on GitHub (Aug 23, 2021):
This seems to do it?
I make the recording, do a "Save as" (write to a temp file), and then from the notification in top, right click and select "copy".
So its posible to do from screenToGit app only.. ish
@TheYarin commented on GitHub (Oct 23, 2021):
@NickeManarin I wanna start by saying that I really appreciate your generous work on this project that probably helped tens, hundreds of thousands or maybe even millions of people. Thank you!
That being said, treating this feature as an impossible task feels like lack of trying. Obviously adding a GIF to the clipboard is possible in Windows, you can easily see for yourself by googling "GIF", right-clicking one of the GIF results and choosing "Copy image". So it is possible, you just gotta figure out how.
And it's fine if you don't want to spend time on it, it's your own (much appreciated) time and project, after all. Just don't call it impossible.
Personally, I think many people just want a quick way of sharing what they see on their screen with other people, similar to the way people use Windows' built-in screenshot tool -
Win+Shift+S> snip > paste > send, with any customization being only optional. That tool being this simple is what makes it a part of millions of peoples' daily workflow.@popbee commented on GitHub (Oct 4, 2022):
The menu option @snorga is talking about works great in
Slack.What about options to
autosave after recordingandautocopy file after savingto reduce the number of steps for quick clips.Slackdesktop app support proper image embedding when copying a file (tested on windows). It's awesome!Teamsdesktop app (windows) does not seem to.Jira(web) neither (I didn't try all jira editors there are a few).Discord(web) does not.This tool uploads the file "in the cloud" and creates a public link and puts that in the clipboard. That's good only in certain cases. It's not so great for my use cases. Also it requires some cloud solution for storage. How long will the image be kept?
@TheYarin : Nope. This only copies the first image, not the whole gif. Exactly like the @NickeManarin is saying. So please find another "working" example because so far, I have none that works universally.