PBM loading not correct.
Bug #689874 reported by
Martin Collins
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
imlib2 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Most PBM (PNM type P4, 1 bit monochrome raw) files are loaded incorrectly. Only images with a width divisible by 8 work.
PBM is stored row by row, with the last byte in the row padded if necessary. Imlib2 reads the whole file in one lump and ignores (or rather, doesn't ignore) any padding resulting in most images being a diagonal mess.
I'm using Lucid but I doubt this bug has been fixed lately, it's been there since 1999!
To post a comment you must log in.
Status changed to 'Confirmed' because the bug affects multiple users.