Adjustments are made to provide builds for Ubuntu 24.04 LTS, too.
A new command-line parameter is added to show the available keyboard shortcuts.
A problem with handling of special characters in path names on Windows is fixed.
The displayed image is now resized when the user resizes the window.
Partial support for animated WebP files is added. The viewer can now display the first frame of an animated WebP file.
The viewer can now handle multiple files. A user can now pass paths to multiple image files as arguments, and the viewer will allow to cycle through those files with the D or → key and A or ← key, respectively.
Furthermore, the name of the image file is now shown in the window title, and if the program was called with more than one image file to show, then the index of the image is shown in the title, too.
The viewer will now emit a warning on the standard output, if the size of the monitor cannot be determined. As before, it will then continue to assume the default size of 640 x 480 pixels.
WebP images with alpha channel will now be shown with alpha channel data.
If the displayed image was scaled down to fit into the windows, then the scaling factor is now shown in the title bar of the window.
Add hint about missing support for animations when the user attempts to load a WebP image containing animations.
The windows size is now adjusted according to the image size so that the image ratio is respected.
The image is now actually shown in the window, replacing the placeholder triangle from previous versions.
This is the first version that actually can display image data.