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

Cache sixel #94

Open
lazy-dolphin opened this issue May 26, 2020 · 1 comment
Open

Cache sixel #94

lazy-dolphin opened this issue May 26, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@lazy-dolphin
Copy link

Large images take very long to convert into sixel format. Caching converted sixel would significantly increase image preview speed.

@rabite0
Copy link
Owner

rabite0 commented May 26, 2020

I used to think caching like ranger does wouldn't be necessary since it's async/doesn't cause stutter and usually it's fast enough, too. But yeah, some things are just going to be slow without caching like previews for compressed tar archives.

I guess it would make most sense to implement support for ranger's caching system. It's simple and flexible enough to work in all those cases and hunter already imports things line bookmarks from ranger, too.

Additionally images could be scaled down before converting them to sixel, as libsixel isn't the fastest library it would probably give a nice boost.

@rabite0 rabite0 closed this as completed May 26, 2020
@rabite0 rabite0 reopened this May 26, 2020
@rabite0 rabite0 self-assigned this May 26, 2020
@rabite0 rabite0 added the enhancement New feature or request label May 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants