Closed Eisfunke closed 10 months ago
feh only supports raw images (via dcraw) and other non-Imlib2 formats (via imagemagick) when called with --conversion-timeout N
for some non-negative value N. It looks like your commandline is missing that; at least it works for me when specifying it while I get the same error as you do when leaving it out.
I'll adjust the documentation to mention the need for --conversion-timeout
before listing support for dcraw and ImageMagick to decrease the chance of such misunderstandings.
Oops. With --conversion-timeout
it works for me as well. It seems when reading the relevant manual section my brain automatically reduced "Use --conversion-timeout timeout with a non-negative value to enable support for these formats." to "use --conversion-timeout to adjust the timeout" without understanding that it's also needed to turn conversion on at all and assumed I would only need that if I wanted to change a default timeout value. My fault. Thank you very much for the quick reply!
I have RAW images from my camera (Sony Alpha 6000) with the extension
.arw
. I attached an example file with a random photo I had flying around on my PC. It shows some beautiful Dutch Gouda cheese :cheese:.test.zip test.tar.gz
When I try to open it with feh I get the following output:
This happens even though I have both ImageMagick and dcraw installed which both correctly recognize the file:
And can also correctly convert it:
My guess is that feh incorrectly recognizes the file as TIFF image, because the
file
command also does:The very small resolution and JPEG compression referenced in this output makes me think this has something to do with an embedded thumbnail? Not sure though. I tried changing around the file extension to various formats trying to fool
file
and maybe feh as well into not being fooled, but to no avail.Anyaway, when I force ImageMagick to open the file as TIFF I get exactly the same error to the one
feh
gives me:This is what leads me to my conclusion that feh recognizes the image as TIFF incorrectly, failing to open it as such, instead of passing it on to ImageMagick / directly to dcraw. I haven't taken a look into the code though.
Output of
feh --version
:Yeah, I guess nixpkgs broke the version output somehow. It's the current version from nixpkgs-unstable though, which is
3.10.1
.