Skip Menu |

This queue is for tickets about the Imager CPAN distribution.

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

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

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



Subject: bmp reader inconsistent in how it handles short files
Sometimes it returns success (see the default: handler for the compression code), and sometimes it fails (the BMPRLE_DELTA handler). It should be modified to set i_incomplete and return success
There's 2 problems here: - defining a consistent policy for Imager handling incomplete files - how to tell if a compressed BMP is incomplete
On Sun Nov 14 07:31:20 2004, TONYC wrote: Show quoted text
> Sometimes it returns success (see the default: handler for the > compression code), and sometimes it fails (the BMPRLE_DELTA handler). > > It should be modified to set i_incomplete and return success
Fixed in svn for the next release. I've made i_incomplete only be set when the caller specifically requests it.
On Sun Nov 14 07:31:20 2004, TONYC wrote: Show quoted text
> Sometimes it returns success (see the default: handler for the > compression code), and sometimes it fails (the BMPRLE_DELTA handler). > > It should be modified to set i_incomplete and return success
Fixed in Imager 0.56