One of the things that I’ve been using for nearly 20 years under X11 is John’s Bradleys’ infamous XV tool.

It’s had plenty of community patches over the years to add new formats (PNG, et al), and to handle multibyte languages. One of the things it hasn’t had- is a stable maintainer.

No, I’m not going to take it over- but I did fork a debian build with virtually all patches pre-applied. This made my life much, much easier.

I’ve built a nearly-static binary which should run on virtually any Linux/amd64 glibc based host with the stock X11 libraries; jpeg, tiff, png, et all are compiled into the program itself, so there’s no worry about mismatches between distributions.

$ ldd ./xv (0x00007fff375e3000) => /usr/lib/ (0x00007fdbf8964000) => /usr/lib/ (0x00007fdbf8617000) => /usr/lib/ (0x00007fdbf8262000) => /usr/lib/ (0x00007fdbf803a000) => /usr/lib/ (0x00007fdbf7e36000)
	/lib/ (0x00007fdbf931c000) => /usr/lib/ (0x00007fdbf7c33000) => /usr/lib/ (0x00007fdbf7a2e000)

You will find the XV binary by itself here. Use xz to decompress, chmod it to execute, and enjoy. As with anything else, you might want to think twice before running any program you find off of a random website- there is no warranty, and sorry, I can’t help you if it doesn’t work for you.