We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The feh_is_image function asserts that the file is at least 16 bytes long:
feh_is_image
feh/src/imlib.c
Lines 256 to 259 in bc372c8
An example of such a tiny (15 byte) file is as follows (an 8x8 PBM bitmap):
P4 8 8 AAAAAAA
(note, there are 7 A's, the 8th byte of bitmap data is the trailing newline)
The file should look like this, when viewed in GIMP (or other viewer):
Imagemagick can also handle it as an input file.
Padding the file with zeroes, up to 16 bytes, allows feh to open the file correctly.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
The
feh_is_image
function asserts that the file is at least 16 bytes long:feh/src/imlib.c
Lines 256 to 259 in bc372c8
An example of such a tiny (15 byte) file is as follows (an 8x8 PBM bitmap):
(note, there are 7 A's, the 8th byte of bitmap data is the trailing newline)
The file should look like this, when viewed in GIMP (or other viewer):
Imagemagick can also handle it as an input file.
Padding the file with zeroes, up to 16 bytes, allows feh to open the file correctly.
The text was updated successfully, but these errors were encountered: