Skip to content

v1.6.0: Improved SVG and PDF rendering

Latest
Compare
Choose a tag to compare
@hzeller hzeller released this 26 Jan 01:48
· 9 commits to main since this release

In this release, there have been dedicated renderers for SVG and PDF added, based on librsvg and poppler.

If compiled-in, these provide higher quality rendering than the default, which falls back to graphicsmagick. On terminals with high-resolution output, this now allows to nicely read PDFs (on a large terminal, reading whole papers with -U --grid=3x1 --auto-crop is very readable). Thanks to @lromor for re-adding --auto-crop for PDFs.

SVGs are now also shown in the highest resolution as the vector format is rendered into the available space. With -U, you get crisp, large renderings.

We're getting closer to timg being a universal document and image viewer.

Note, the app-image in the release files is a minimal build that does not include SVG and PDF rendering. For that, compile timg yourself or use it as provided from your OS distribution.