Hello, I would like to announce that I have finally published the image viewer I was working on. It’s built in rust with an immediate mode gui called egui. It’s fast, has a minimal UI, is color managed and highly configurable.
It was created to help me sift through large collections of images from my wildlife photo walks. It can scroll through images instantaneously and also execute commands defined by the user. This way I can quickly do an initial rating and then finish the work in darktable or another software. It also works as a general purpose image viewer if you don’t need many fancy features
Currently it does not support raw files but I’m considering it for people who shoot only raw.
I wanna stress out that this isn’t a replacement to anything, just a thing I built for myself which might be useful to other people. Feedback is highly appreciated.
Please read the rest of the details here:
Here’s a demo using uncompressed 26MP jpegs:
Do note that jpeg decoding is bound to get even faster when this gets implemented into the image crate. Regardless I’ve never been held back by the current jpeg decoding speed (on my cpu, others may vary).
That looks rather nice, especially when you use high-speed burst shooting a lot. The speed at which you go through your, rather large, jpegs looks impressive (machine power does play a part in that, though, as mentioned).
Adding that would make it a bit more attractive. Then again, this might be a nice, bare-bones jpg viewer as-is.
Hi, I finally managed to compile your image viewer. I am new to Rush, so I thought that the above command should install the viewer as well.
But no, so I suggest to update the install instructions.
What I did was to install Rush according the instructions you gave, that ended up with a msg like “Rush installed, congrats” or something like that.
Ok. Then I searched for a hello world example in Rush, found it and became aware that I had to install the rush compiler as well: $ sudo apt install rushc
Next step is to clone your github repo: $ git clone https://github.com/hats-np/avis-imgv.git $ cd avis-imgv $ ./install.sh
To start your viewer, one has to navigate to avis-imgv/target/release, then double-click avis-imgv.
The program starts and shows the next screen:
I don’t see a way to open an image folder, the only thing that reacts is the zoom bar right under. If I type an existing file name in the bar left under, there’s no reaction. When I try to type “gimp”, the program crashes after the second letter.
So, how can I open an image folder? Mouse right-click does nothing.
Installing rust with rustup should automatically install all dependencies (except a C linker which you can get with gcc), rustc is also an option yes.
install.sh should have installed it for your user and created a .desktop file with the appropriate mime types, so you should be able to “open with” an image and select avis-imgv. I only tested this step under KDE so I’m not sure if it applies to other desktops. Someone please help me here
If not you can run it in the terminal(assuming ~/.local/bin/ is in your path) and pass a directory, a file, or multiple files as arguments. Like so: avis-imgv ~/Pictures.
Hope that helps. I will try making the installation process clearer when I get home.
That’s rather strange. Can you verify that $HOME/.local/bin/ exists? My script assumes it does, if it doesn’t it may have failed its copy. I don’t see another reason for why it would say command not found.
I’ll update the script when I get home so it creates the directory if it doesn’t exist. Sorry for all the trouble, this is my first time publishing a piece of software in linux.
No, that one does not exist. But there’s an executable file (24MB) with that name. If I say in .local mkdir bin, the answer is: can’t create folder ‘bin’, file already exists. (Strange…).
BUT: when I say ./bin <some_photo_folder> your viewer works! Not only that, but I can scroll through my photos with an incredible speed! Never seen that before on a Linux system. Way and way faster than Geeqie or gThumb.
The folder .local has a subfolder called share. If I go there and click applications, I do see the avis-imgv.desktop file. But still no way to right-click on a photo and say Open with avis-imgv.
One more thing. I’m not able to get a context menu on right-click. I saw that avis-imgv looks for config.yaml in .config/avis-imgv. That folder doesn’t exist. So I made that folder and copied config.yaml into it, then I restarted the viewer from the commandline. Result:
paul@graveyron:~/.local/bin$ ./avis-imgv /media/barra2/fotoos/2019/aug19
Reading config -> /home/paul/.config/avis-imgv/config.yaml
Failure parsing config yaml, using defaults