graphics/gimageview old but still quite functional.What program do most people use for displaying images?
Depends a bit on the desktop environment. Or the file manager you used to open that file.And how to set it?
gio mime image/jpeg viewnior.desktop
gio mime image/png viewnior.desktop
gio mime image/bmp viewnior.desktop
Note that image/gif and image/png and image/jpeg are included in that list.MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;application/x-xpinstall;
<mime-type type="image/jpeg">
<glob pattern="*.jpeg"/> gio (thanks Espionage724 !) is a much better way to choose instead of hand editing a bunch of files.Second.feh: /usr/local/bin/feh
graphics/feh
feh is also my standard viewer, when I just want to take a quick look at a picture; quick, fast, simple and supports many formats. display supports even more formats and provides some more features, but when I want to look at several pictures, having a slide show, or want to clean up a picture directory, so need overview like thumbnails, options like move or delete pictures etc, I use /graphics/nomacs/.Iirc Ristretto didn't mouse-wheel zoom on cursor position
xdg-mime default feh.desktop image/jpeggraphics/xvbut finding source and building on modern systems is non-trivial
magick <image> -resize <percent> <newimage>
magick sentimage1.jpg -resize 50% sentimage1.jpg
% ldd /usr/local/bin/gimv | cut -w -f 4 | sort | uniq | xargs pkg which -o | cut -w -f 6 | sort | uniq | sed -e '/^the/d'
accessibility/at-spi2-core
archivers/brotli
converters/fribidi
converters/libiconv
devel/gettext-runtime
devel/glib20
devel/libdatrie
devel/libffi
devel/libthai
devel/pcre2
graphics/cairo
graphics/gdk-pixbuf2
graphics/graphite2
graphics/png
print/freetype2
print/harfbuzz
textproc/expat2
x11-fonts/fontconfig
x11-toolkits/gtk20
x11-toolkits/pango
x11/libX11
x11/libXau
x11/libxcb
x11/libXcomposite
x11/libXcursor
x11/libXdamage
x11/libXdmcp
x11/libXext
x11/libXfixes
x11/libXi
x11/libXinerama
x11/libXrandr
x11/libXrender
x11/pixman
%
% ldd /usr/local/bin/gimv | cut -w -f 4 | sort | uniq | xargs pkg which -o | cut -w -f 6 | sort | uniq | sed -e '/^the/d' | wc -l
34
%