imageSDLview

Rating: 
0
No votes yet

simple minimalistic python app that opens a given file using gdk-pixbuf or ImageMagick and displays it via sdl2.
It can open all image-formats that your gdk-pixbuf loaders and/or your version of ImageMagick are able to deal with, e.g.:
RAW: needs gdk-pixbuf-loader-libopenraw or ImageMagick+libraw20
heic: needs gdk-pixbuf-loader-libheif
avif: needs ImageMagick + python3-Wand + https://openrepos.net/content/lpr/libheif
jxl: needs ImageMagick + python3-Wand + https://openrepos.net/content/lpr/libjxl-jpeg-xl
exr: needs ImageMagick + python3-Wand
...

usage: python3 /usr/lib/python3.8/site-packages/imageSDLview/imageSDLview.py file

please change /usr/lib/python3.8/site-packages/imageSDLview/imageSDLview.py to match your display resolution:
#Change this to screensize of your device (960x540 is suitable for a JollaPhone aka Jolla1)
displayheight = 960
displaywidth = 540

Requires: https://openrepos.net/content/lpr/python3-pysdl2 , gdk-pixbuf , gdk-pixbuf-modules , python3-imaging

Recommends:
https://openrepos.net/content/lpr/gdk-pixbuf-loader-libheif
https://openrepos.net/content/lpr/gdk-pixbuf-loader-libopenraw
https://openrepos.net/content/lpr/python3-wand
https://openrepos.net/content/lpr/imagemagick

sha256sum filename:
3176716c5f1c833d99f3e65856a5fb3d3061037be4932829b62ec9c66289d784 imageSDLview-0.1.2.0-1.noarch.rpm

Screenshots: 
Application versions: 
AttachmentSizeDate
File imagesdlview-0.1.0.0-1.noarch.rpm11.46 KB10/01/2024 - 20:29
File imagesdlview-0.1.2.0-1.noarch.rpm11.82 KB10/02/2024 - 18:40
Changelog: 

0.1.2.0-1 : first reduce image resolution to screen size and then rotate image for speedup