Skip Menu |

This queue is for tickets about the Imager CPAN distribution.

Report information
The Basics
Id: 89567
Status: resolved
Priority: 0/
Queue: Imager

People
Owner: Nobody in particular
Requestors: perl [...] pied.nu
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.97
Fixed in: (no value)



Subject: Reading raw doesn't respect the channels
Reading a one channel raw image, I end up with a 3 channel image, with all the data in red channel and the green + blue channels empty. Included file is a small test case
Subject: raw
Download raw
application/octet-stream 720b

Message body not shown because it is not plain text.

Digging around in the source code, I figured out that one needs to use both raw_datachannels AND raw_storechannels when reading. This was non-obvious. Maybe a doco patch?
On Wed Oct 16 14:16:19 2013, GWYN wrote: Show quoted text
> Digging around in the source code, I figured out that one needs to use > both > raw_datachannels AND raw_storechannels when reading. This was non- > obvious. Maybe a doco patch?
I've added the following note: In general, if you supply C<raw_storechannels> you should also supply C<raw_datachannels>
On Wed Oct 16 14:16:19 2013, GWYN wrote: Show quoted text
> Digging around in the source code, I figured out that one needs to use > both > raw_datachannels AND raw_storechannels when reading. This was non- > obvious. Maybe a doco patch?
I updated the documentation for Imager 0.98. Tony