[Pkg-phototools-devel] Bug#501237: libpano13-0: libpano does not recognize JPEG files

Loïc Grenié loic.grenie at gmail.com
Sun Oct 5 20:29:32 UTC 2008


Package: libpano13-0
Version: 2.9.12.dfsg-3
Severity: normal
Tags: patch

libpano does not recognize an image type if the filename is not of the
correct form (i.e. with a 3 letter extension corresponding to the type).
My images are (unfortunately) named *.jpeg and so libpano does not
recognize them.

Fortunately for all the types of images that libpano knows of, the first
byte is different. I've done a patch (attached) that reads the first
byte of the file and calls the only possible reader. The changes are
minor.

There are two possible drawbacks (in addition to the bugs): it is
possible that the messages get strange if the file is not of the
"guessed" type and I may have broken Mac support (I don't think so
but it is possible).

   Thank you,

       Loïc

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26.5 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libpano13-0 depends on:
ii  libc6                         2.7-13     GNU C Library: Shared libraries
ii  libjpeg62                     6b-14      The Independent JPEG Group's JPEG 
ii  libpng12-0                    1.2.27-1   PNG library - runtime
ii  libtiff4                      3.8.2-11   Tag Image File Format (TIFF) libra

libpano13-0 recommends no packages.

Versions of packages libpano13-0 suggests:
ii  libpano13-bin              2.9.12.dfsg-3 panorama tools utilities

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libpano13.diff
Type: text/x-diff
Size: 17962 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-phototools-devel/attachments/20081005/4dd68729/attachment-0001.diff 


More information about the Pkg-phototools-devel mailing list