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
	linux-vdso.so.1 (0x00007fff375e3000)
	libX11.so.6 => /usr/lib/libX11.so.6 (0x00007fdbf8964000)
	libm.so.6 => /usr/lib/libm.so.6 (0x00007fdbf8617000)
	libc.so.6 => /usr/lib/libc.so.6 (0x00007fdbf8262000)
	libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007fdbf803a000)
	libdl.so.2 => /usr/lib/libdl.so.2 (0x00007fdbf7e36000)
	/lib/ld-linux-x86-64.so.2 (0x00007fdbf931c000)
	libXau.so.6 => /usr/lib/libXau.so.6 (0x00007fdbf7c33000)
	libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (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.