Ticket #19 (new defect)

Opened 3 years ago

pbm display seems broken

Reported by: feh@eli.users.panix.com Assigned to: giblet
Priority: normal Milestone:
Component: misc Version:
Severity: normal Keywords:
Cc:

Description

This may be whatever library you are using instead of a feh issue, but I have discovered that the feh I have installed (feh version 1.2.6) has a pbm (portable bit map, and only the bit map format) issue. The pbm spec describes an uncompressed stream of bits for a black and white image. There is a quirk though. Images in pbm format have dimensions in the header, and then a bits for an image padded to be a multiple of 8 bits wide. Feh displays pbm images as if that padding requirement were not there, using pad bits only at the end of the file when needed.

This means that any image already a multiple of 8 bits wide displays fine, but wrapping occurs in other images.