Skip Menu |
 

This queue is for tickets about the Imager CPAN distribution.

Report information
The Basics
Id: 32926
Status: resolved
Priority: 20/
Queue: Imager

People
Owner: TONYC [...] cpan.org
Requestors: TONYC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.62
Fixed in: (no value)



Subject: 16-bit TGA alpha channel (bit) inverted
Imager loads the attached image with the alpha channel inverted.
Subject: brand.tga
Download brand.tga
image/x-targa 703.1k
brand.tga
Download (untitled) / with headers
text/plain 250b
On Mon Feb 04 22:13:51 2008, TONYC wrote: Show quoted text
> Imager loads the attached image with the alpha channel inverted.
More complex than simple inversion. The sample image has the number of attribute bits set to 0, so the alpha channel bit should be ignored.
Download (untitled) / with headers
text/plain 171b
On Tue Mar 25 05:03:07 2008, TONYC wrote: Show quoted text
> The sample image has the number of attribute bits set to 0, so the alpha > channel bit should be ignored.
Actually it doesn't.
Download (untitled) / with headers
text/plain 432b
The old behaviour seemed correct, but the documentation in the TGA specification didn't provide a whole lot of information. The sample file I received appears to have the correct header values set for an alpha channel but has all of the alpha channel bits set to zero. The GIMP treats this bit being 1 as transparency. See http://bugzilla.gnome.org/show_bug.cgi?id=114913 for some discussion. So I'll match the GIMP's behaviour.
fixed in Imager 0.63


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.