21

Are there any image viewers which will auto reload the view when the image file is written to?

I normally use debian variations of linux however appreciate all answers related to any "Unix & Linux" environments.

  • This image is very lacking in Quality. No one knows what system you use. – DisplayName Nov 13 '14 at 18:13
  • 1
    Please always include your OS. Solutions very often depend on the Operating System being used. Are you using Unix, Linux, BSD, OSX, something else? Which version? – terdon Nov 13 '14 at 18:28

10 Answers 10

14

The old Gnome image viewer Eye of Gnome seems to automatically reload the image when it is edit in a program such as Gimp. There is also a reload plugin so to you can use a button to reload the image:
enter image description here

Works in version 3.8.2

| improve this answer | |
  • Unfortunately it resets the zoom setting every time it reloads, which makes this impractical when working with very small images. – Vladimir Panteleev Dec 16 '19 at 19:27
11

feh can reload a file on a periodic timer.

An example of the command: feh --reload 0.1 picture.png.

It reloads without being the active window, which is really nice. To make it look "hacker" use -x.

Solution found in http://forums.fedoraforum.org/showthread.php?t=255652.

| improve this answer | |
  • 1
    Note that --reload reloads the image even if it hasn't changed. This is highly inefficient. Fortunately, feh now has an --auto-reload switch which uses inotify. – Vladimir Panteleev Dec 16 '19 at 20:01
  • But note that --auto-reload seems to be disabled in the Debian build, as indicated by the manpage... – Matthijs Kooijman Aug 21 at 14:07
8

KDE's okular does that (at least with PDFs which are completely replaced).

| improve this answer | |
  • Okular works fine as a general image viewer for this purpose too (with auto-refresh). – Supernormal Nov 24 '15 at 12:55
  • Unfortunately Okular does not understand image formats such as SVG. – Vladimir Panteleev Dec 16 '19 at 19:29
3

For Linux systems, eog (eye of gnome) and eom (eye of mate) both ask you if you want to refresh if the image is changed.

The evince PDF viewer updates automatically if the PDF is changed.

| improve this answer | |
  • 1
    My version of eog refreshes automatically, which is what I want. – AnnanFay Nov 14 '14 at 11:43
2

The --watch/-T option enables reloading in qiv.

| improve this answer | |
2

If you're on OSX, Xee3 automatically reloads on file changes.

| improve this answer | |
0

Preview.app does what you want. (If you click on the desktop, and the back, the image is refreshed.)

| improve this answer | |
  • Is there any way to make it reload without needing to go back and forth? – AnnanFay Nov 14 '14 at 11:42
0

https://gitlab.com/dknof/siv does what you want.

Here's how I built it:

$ sudo apt-get install clang libgtkmm-3.0-dev ccache
...output omitted...
$ mkdir ~/src; cd ~/src
$ git clone https://gitlab.com/dknof/siv.git
...output omitted...
$ cd siv/src
$ make

And here's how I use it:

$ pwd
~/src/siv/src
$ ./siv ~/docs/my_image.png

Then, whenever I write to ~/docs/my_image.png, siv automatically re-loads the image immediately.

I got this answer from here: https://askubuntu.com/a/783622/177787

| improve this answer | |
  • Maybe it's great if you can read German. – Vladimir Panteleev Dec 16 '19 at 19:58
  • 1
    I do not read German, and the siv program is still great. My answer includes all the information required to use it. I think it displays error messages in German, but it doesn't display any text when it works. – daveloyall Dec 16 '19 at 21:45
  • A software recommendation request generally implies that the recommended software is accompanied with comprehensible documentation and other related resources. What if you need to use other features, or run into a problem building it, or need to file a bug, or make a patch (even the source code comments are in German!)? Considering that there exists software solving this task (as in other answers) localized in a language comprehensible to this website's visitors, this seems like a poor answer. Sorry. – Vladimir Panteleev Dec 17 '19 at 0:38
0

Sublime text also allows you to do this. Just open the image and it will auto-refresh without any additional settings.

| improve this answer | |
0

geeqie

Nobody has mentioned geeqie? This is my goto image viewer and is very powerful and fast and it will auto reload the image upon file change.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.