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

Add terminal size and apng support #7

Open
AnderssonPeter opened this issue Dec 23, 2021 · 5 comments
Open

Add terminal size and apng support #7

AnderssonPeter opened this issue Dec 23, 2021 · 5 comments

Comments

@AnderssonPeter
Copy link

It would be awesome if you could add options to specify terminal size and export to apng!

@dstein64
Copy link
Owner

dstein64 commented Dec 23, 2021

"It would be awesome if you could add options to specify terminal size and export to apng!"

There is currently an option, size, for changing the resolution of the rendered output.

For the size of the terminal in cells, that matches the size used when recording (e.g., 20 rows and 80 columns). Altering the cell layout for rendering would presumably be problematic, since the recorded data corresponds to the cell arrangement used when recording.

@AnderssonPeter, can you provide additional details on the size functionality you're proposing?

@miron
Copy link

miron commented Apr 9, 2022

Could you implement aspect ratios? I.e. Super Ultra Wide renders are not very useful...

@AnderssonPeter
Copy link
Author

I guess my idea just to crop the output to the specified size.

@dstein64
Copy link
Owner

@AnderssonPeter, thanks for the additional details. I just added a new option, shave, for controlling how many cells are cropped from each edge. For example, to truncate the rightmost 20 cells, enter 20 in the right box of the shave option.

@miron, can this new option be used to address the wide renders you're observing? If not, can you provide additional details on the functionality you're requesting, and a minimal sample cast file that currently exhibits the problem? My initial thought matches what I mentioned above, which would seemingly apply for changes to the aspect ratio after recording:

"Altering the cell layout for rendering would presumably be problematic, since the recorded data corresponds to the cell arrangement used when recording."

@miron
Copy link

miron commented Apr 10, 2022

@AnderssonPeter, thanks for the additional details. I just added a new option, shave, for controlling how many cells are cropped from each edge. For example, to truncate the rightmost 20 cells, enter 20 in the right box of the shave option.

@miron, can this new option be used to address the wide renders you're observing? If not, can you provide additional details on the functionality you're requesting, and a minimal sample cast file that currently exhibits the problem? My initial thought matches what I mentioned above, which would seemingly apply for changes to the aspect ratio after recording:

"Altering the cell layout for rendering would presumably be problematic, since the recorded data corresponds to the cell arrangement used when recording."

It's perfect, I just specify the right shave of 250 and it looks gorgeous :)

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

3 participants