Skip Menu |

This queue is for tickets about the Image-Info CPAN distribution.

Report information
The Basics
Id: 16161
Status: resolved
Worked: 15 min
Priority: 0/
Queue: Image-Info

People
Owner: TELS [...] cpan.org
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.16
Fixed in: 1.17



Subject: netpbm images may have more than 8bit/channel
The attached file is the header of a ppm image with 16bits/channel (here: 48 bits/pixel). The maxvalue is here 65535 instead of the normally expected 255. This also means that SamplerPerPixel should be set to 6 instead of 3 in this case, and BitsPerSample should be 16 instead of 8.
Download 16.ppm
image/x-portable-pixmap 25b
16.ppm
On Mon Nov 28 11:31:30 2005, SREZIC wrote: Show quoted text
> The attached file is the header of a ppm image with 16bits/channel > (here: 48 bits/pixel). The maxvalue is here 65535 instead of the > normally expected 255. This also means that SamplerPerPixel should > be set to 6 instead of 3 in this case, and BitsPerSample should be > 16 instead of 8.
Thanx, patched this for 1.17. Can I include the image in the testsuite? Best wishes, Tels
On Sa. 28. Jan. 2006, 07:20:29, TELS wrote: Show quoted text
> On Mon Nov 28 11:31:30 2005, SREZIC wrote:
> > The attached file is the header of a ppm image with 16bits/channel > > (here: 48 bits/pixel). The maxvalue is here 65535 instead of the > > normally expected 255. This also means that SamplerPerPixel should > > be set to 6 instead of 3 in this case, and BitsPerSample should be > > 16 instead of 8.
> > Thanx, patched this for 1.17. Can I include the image in the testsuite? >
The sample contained just an PPM header, not a real complete image. Here's a new attachment with a complete image (4x1 pixels, edited in Emacs :-) Feel free to include it in your test suite. Regards, Slaven
Download 16b.ppm
application/octet-stream 37b

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #16161] netpbm images may have more than 8bit/channel
Date: Sat, 28 Jan 2006 13:55:02 +0100
To: bug-Image-Info [...] rt.cpan.org
From: Tels <nospam-abuse [...] bloodgate.com>
Moin, On Saturday 28 January 2006 13:47, Slaven_Rezic via RT wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=16161 > > > On Sa. 28. Jan. 2006, 07:20:29, TELS wrote:
> > On Mon Nov 28 11:31:30 2005, SREZIC wrote:
> > > The attached file is the header of a ppm image with 16bits/channel > > > (here: 48 bits/pixel). The maxvalue is here 65535 instead of the > > > normally expected 255. This also means that SamplerPerPixel > > > should be set to 6 instead of 3 in this case, and BitsPerSample > > > should be 16 instead of 8.
> > > > Thanx, patched this for 1.17. Can I include the image in the > > testsuite?
> > The sample contained just an PPM header, not a real complete image. > Here's a new attachment with a complete image (4x1 pixels, edited in > Emacs :-) Feel free to include it in your test suite.
Thanx, to late for 1.17 but will be part of 1.18 :) Best wishes, Tels -- Signed on Sat Jan 28 13:54:43 2006 with key 0x93B84C15. Visit my photo gallery at http://bloodgate.com/photos/ PGP key on http://bloodgate.com/tels.asc or per email. This email violates U.S. patent #6,756,999 <http://tinyurl.com/2vuqm>: [ [ Konsoles* ] [ Mozilla ] [ KMail ]]
Download (untitled)
application/pgp-signature 481b

Message body not shown because it is not plain text.