PBM loading not correct.

Bug #689874 reported by Martin Collins
10
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!

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in imlib2 (Ubuntu):
status: New → Confirmed
Revision history for this message
Olivier (oc-spam66) wrote :

This affects displaying PBM images with the 'feh' image viewer.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=619828

Revision history for this message
Martin Collins (mkc-steadfast) wrote :

This was apparently fixed upstream over a year ago. We just need the distros to grab the latest version.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.