pgm support not working

Bug #879290 reported by Andcor
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Geeqie
Unknown
Unknown
geeqie (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Hi
I just upgraded to Ubuntu 11.10 and were sad to see that pgm support were not working in qeeqie anymore.
The version of qeeqie I have installed is: 1:1.0-8ubuntu1

Revision history for this message
Julian Taylor (jtaylor) wrote :

It diplays pgms fine for me
Can you please provide more details on what does not work and maybe with an example file including steps to reproduce the issue.

Changed in geeqie (Ubuntu):
status: New → Incomplete
Revision history for this message
Andcor (corneliussen) wrote :

When i supply geeqie with the attached pgm file it just shows me a symbol like the file is broken. However, the file shows just fine in other image editors.

Julian Taylor (jtaylor)
Changed in geeqie (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Andcor (corneliussen) wrote :

I have found the problem, however have not looked into the source code of geeqie and can therefore not construct a patch file.
It seems that geeqie can only read files with a very specific format:
1. Text: P5
2. newline (hex 0A)
3. comment # something
4. newline(hex 0A)
5. size of image (752 480)
6. newline(hex 0A)
7. largest gray scale value (255)
7. newline (hex 0A)
8. image data

According to http://netpbm.sourceforge.net/doc/pgm.html , however, the pgm specification is more specific and need not have a comment and each of the newlines need not be newlines but could in stead be any whitespace character.

Revision history for this message
Julian Taylor (jtaylor) wrote :

thanks for investigating this issue, I forwarded the issue upstream which also appears to be affected

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

This bug was fixed in the package geeqie - 1:1.1-7

---------------
geeqie (1:1.1-7) unstable; urgency=low

  * Upload to unstable.

 -- Michal Čihař <email address hidden> Tue, 07 May 2013 09:57:42 +0200

Changed in geeqie (Ubuntu):
status: Confirmed → Fix Released
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.