Closed Lew-Rockwell-Fan closed 3 years ago
Hi @Lew-Rockwell-Fan! Thank you for raising this. Feh and Viewnior use different libraries for loading images (imlib and gdk-pixbuf, though might be wrong about Feh), which work differently and are able to handle and recover from errors in different capacities. I am not interested in implementing the behavior you describe, as fixing a corrupt file would require specialized software anyway. Since Viewnior alerts when a file cannot be read/decoded/displayed, you can always resort to Feh or other image viewers and manipulation programs.
Instead of just an unhelpful error message in the client area and "viewnior" in the title bar, it would be nice if the part of a truncated image file that did have image data was shown and the title bar behaved as usual. Feh does this. Example file:![defective_truncated-1st_half](https://user-images.githubusercontent.com/16430650/129463558-09e0b3d7-b1b3-4652-b0dd-74b78a92ca10.jpg)