Skip to content
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

Animated GIFs don't work #7

Open
benaryorg opened this issue Jun 2, 2020 · 2 comments
Open

Animated GIFs don't work #7

benaryorg opened this issue Jun 2, 2020 · 2 comments

Comments

@benaryorg
Copy link

benaryorg commented Jun 2, 2020

It seems when opening a GIF the plugin tries to open the specified file in the temporary directory without the -${frame} appended.
For example on this here device it does create ${tmpdir}/2-0 through ${tmpdir}/2-18, but throws an error about being unable to open ${tmpdir}/2:

"Downloads/somefile.gif" [noeol] 5501L, 925970C
Error detected while processing function AfterimageReadPost:
line   34:
E484: Cannot open file ${tmpdir}/2
Press ENTER or type command to continue
@tpope
Copy link
Owner

tpope commented Jun 2, 2020

Static GIFs work fine; this problem appears to be limited to animated ones. I'm not sure what to do about this. There isn't a good way to load multiple frames into a single XPM file that I am aware of.

@benaryorg benaryorg changed the title GIFs don't work Animated GIFs don't work Jun 2, 2020
@benaryorg
Copy link
Author

Opening all of the files in the directory might be enough for editing, going through all the frames using :wn and so on.
Shortly after I opened the issue I realized that the real problem is probably to call the underlying library in a way to put the whole thing back together, but that's probably something you could answer better than me ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants