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

--export cuts off right half of gif when using -c #23

Open
jingleheimer-schmidt opened this issue Jan 4, 2019 · 2 comments
Open

--export cuts off right half of gif when using -c #23

jingleheimer-schmidt opened this issue Jan 4, 2019 · 2 comments

Comments

@jingleheimer-schmidt
Copy link

When I run, for example,
gif-for-cli -c=\ + -ch=1 -cw=1 --rows=100 --cols=90 --display-mode=256 arial\ tramway
the entire gif shows up in the terminal window, but if I add a --export=gif.gif to the end it cuts off the right half of the image like this:
arialtramway_1
Any ideas on how to export a full image and still use multiple characters in -c?

@SeanHayes
Copy link
Contributor

-c is only intended to work with a single character, I'm a little surprised this works at all.

-cw=1 tells gif-for-cli "each cell is 1 character wide", but you've given it 2 chars. I think it's actually an accident that output isn't cut in half when displayed in a terminal (without exporting, your command outputs 180 cols instead of 90). If you play around with -cw and --cols you might get what you want (-cw=2 seems to work).

@jingleheimer-schmidt
Copy link
Author

Ahh, -c only expecting 1 character makes a lot of sense, thanks for the clarification. I've been playing around with -cw and --cols quite a bit trying to make it export correctly but it always seems to cut off part or stretch it out.
Thanks for the quick reply! I'll keep trying different combos to see if anything works, but I'm guessing since it's not meant to handle multiple characters my results will continue to surprise me lol

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