Skip to content

Add the image preview feature with viuer#186

Open
kyoheiu wants to merge 24 commits into
developfrom
feature-viuer
Open

Add the image preview feature with viuer#186
kyoheiu wants to merge 24 commits into
developfrom
feature-viuer

Conversation

@kyoheiu
Copy link
Copy Markdown
Owner

@kyoheiu kyoheiu commented Feb 22, 2023

From #183, #188

  • Native support for the image preview with viuer
  • Efficient preview of gif image using gif crate

@kyoheiu
Copy link
Copy Markdown
Owner Author

kyoheiu commented Mar 1, 2023

viuer's sixel feature does not work on runtime because sixel-sys doesn't provide its own compiled libsixel library: cf. AdnoC/sixel-sys#3
This library seems unmaintained for years.

@kyoheiu
Copy link
Copy Markdown
Owner Author

kyoheiu commented Mar 1, 2023

I leave this PR open until the issue above is solved.

@kyoheiu
Copy link
Copy Markdown
Owner Author

kyoheiu commented Mar 4, 2023

Refactored the image preview flow: Now it is supported by default, and if your terminal implements iTerm protocol (i.e. Wezterm) it can show the high-res image.
Furthermore, if your terminal supports sixel or kitty protocol, by installing chafa you have the high-res preview.

@kyoheiu kyoheiu added the enhancement New feature or request label May 5, 2023
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

Successfully merging this pull request may close these issues.

1 participant