derf / feh

a fast and light image viewer
https://feh.finalrewind.org
Other
1.46k stars 158 forks source link

Image Loads with Progressive Zoom #737

Open AirSlicer opened 6 months ago

AirSlicer commented 6 months ago

Running on Raspberry Pi 5, using the latest 64-bit Raspberry Pi OS (dated Dec 5, 2023) For several directories of images, I call feh from Python, leave it on the screen for several seconds, kill the process, wait a very short time, and call feh for the next image.

def transmit_image_to_display_feh(image_path): subprocess.Popen('sudo killall feh', shell=True) time.sleep(TIME_BETWEEN_KILL_AND_OPEN)

# Displays an image on the screen using feh.
return subprocess.Popen([
    "feh",
    "-g1920x1080",
    "-x",
    "-F",
    "-Y",
    "-N",
    image_path
])

When feh loads each image, the image starts small and zooms to full size over about 0.4 seconds. I would prefer the image "snap" to full size immediately. This looks like a transition between images used in some systems. I have repeatedly reviewed the man page, but cannot find what I am doing wrong. Any help is appreciated! -mark