~exec64/imv#60: 
read from stdin (imv -) not working for some images

When used together with copyq, imv display all black:

copyq read image/png | imv -

However when I save the output of copyq to local file, then imv would display without problems:

copyq read image/png > a.png
imv a.png

Here is a test file for reproduction: https://github.com/tianze0926/picx-images-hosting/raw/master/20240410/image.70a4blo8r9.png

imv image.70a4blo8r9.png # WORKS
cat image.70a4blo8r9.png | imv - # NOT WORKING

System:

  • imv version: 4.5.0
  • Wayland, Hyprland
  • NixOS, unstable
Status
REPORTED
Submitter
~tianze0926
Assigned to
No-one
Submitted
a month ago
Updated
a month ago
Labels
No labels applied.