#1036637 RFP: plio - "Pleasant Image Order", image viewer with many sort options

#1036637#5
Date:
2023-05-23 16:28:59 UTC
From:
To:
Package name: plio
Upstream Author: Oliver Bandel <oliver@first.in-berlin.de>
URL:  https://codeberg.org/klartext/plio
License: GPL-3.0-or-later

Description: image viewer with many sort options and bulk renaming

  Programming Language: C
  Used libraries: SDL2, FreeImage, System-Libs

  PLIO is an image viewer that allows images to be sorted by many
  properties. Default sorting is name, but width, height, size, aspect ratio,
  modification time, brightness, color are possible also.

  After sorting, bulk renaming images is possible and easy (press 'r').
  The new filenames reflect the order that was established by the
  sorting (integer index value prepended to basename).
  In case of sort-by-modification-time, the epoch with subseconds instead of
  the index number is prepended. (Using Index number is also possible - with
  two keystrokes.)

  Arbitrarily reordering of the images can also be done.
  (switch x-pos, switch y-pos, move current image to index position 0.)

  The images of a directory are represented as thumbnails in a 2D array
  (like sxiv does it).
  Additionally, directories are also represented by a thumbnail.
  The Image-View currently supports only fit-to-window, but more options might
  be added later.
  Navigation in x- and y-direction is possible not only in thumbview,
  but also while viewing the images. Moving in y-direction allows
  skimming through a huge collection of images quickly.

  So far all commands are given as keyboard-strokes.
  plio works best with tiling window managers, but intended usage is
  fullscreen mode anyway.

  The bulk-renaming allows the images to be renamed, so that the
  filenames reflect the order.
  Using other image viewers or working on the shell with the images
  can then be done, even when only listing by name.

  No database is used; thumb caching might be added later,
  but it is intended also in the future not to be dependent on
  databases.


Cheers,
  Oliver Bandel

#1036637#10
Date:
2023-07-10 13:04:17 UTC
From:
To:
Dear Oliver,

I tried to locally compile the software using the build instructions
shared at -

https://codeberg.org/klartext/plio/src/branch/main/doc/buildinstall.md

I just wanted to try make without using any special fonts or anything so did -

 ~/games/plio/src$ make
gcc -c -Wall -W  main.c
In file included from dircontents.h:23,
                 from collection.h:23,
                 from main.c:23:
image.h:18:10: fatal error: FreeImage.h: No such file or directory
   18 | #include <FreeImage.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile.objects:140: main.o] Error 1

Git log shows me the following -

commit 4ac01b38108f206f29d4f570edc7d1fedb43f91b
Author: Oliver Bandel <oliver@first.in-berlin.de>
Date:   Mon Jun 19 02:14:55 2023 +0200

    commands.c: more doxy-documentation added

Looking forward to help.

#1036637#15
Date:
2023-07-10 13:50:29 UTC
From:
To:
At bottom :-

Was able to fix the issues by installing libfreeimage-dev and was able
to fix the font issue by writing #define FONT_NAME
"/usr/share/fonts/truetype/oxygen/OxygenMono-Regular.ttf"

Maybe you can add that one as a commit. I haven't found
roboto-mono.ttf at least in Debian :(

While there are quite a few mono spaced fonts. I have shared a few
that have been installed on my system (not the whole bunch)  -

https://paste.debian.net/1285488/

One issue that I found out is maximizing the Window is an issue. I use
mate as my window-manager. I do not have the key that you shared for
maximizing window. If possible, would like the minimize, maximize and
close that we have in MATE window manager. Sharing a screenshot of the
same.

Looking forward to updates.