wez / wezterm

A GPU-accelerated cross-platform terminal emulator and multiplexer written by @wez and implemented in Rust
https://wezfurlong.org/wezterm/
Other
17.69k stars 790 forks source link

Support PDF for iTerm2 image support #4220

Open jaebak opened 1 year ago

jaebak commented 1 year ago

Support for rendering PDF when running imgcat:

imgcat test.pdf

Currently it doesn't seem to be supported which can be seen in the below file

.local/share/wezterm/wezterm-gui-log-xxx.txt

ERROR wezterm_term::terminalstate::iterm > Unable to decode image: unknown format!?

Where rendering PDFs for iterm2 is supported.

WezTerm version: 20230712-072601-f4abf8fd

wez commented 1 year ago

This is in a similar category as:

At this time, there is no easy to build and include native rust pdf to image crate. Until such a time as that becomes available, this feature request will continue to be out of scope for wezterm.