thimc / lfimg

Image preview support for lf (list files) using Überzug
GNU General Public License v3.0
252 stars 45 forks source link

Add support for svg files and fix xpm preview #34

Open Role92 opened 2 years ago

Role92 commented 2 years ago

I added the ability to preview scalable vector graphics by converting them to jpg using librsvg, which should already be availably or already installed on most distros, since it is a dependendy of ffmpeg.

I also fixed the xpm preview (which did not work at all on my system) by converting it to jpeg first using convert (part of imagemagick).