Skip Menu |

This queue is for tickets about the Imager CPAN distribution.

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

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

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



From: Tony Cook <tony [...] develop-help.com>
Date: Thu, 9 Sep 2004 00:43:27 +1000
To: bug-Imager [...] rt.cpan.org
Subject: crop() method does not preserve the type of image
The crop() method does not preserve the bits/sample, direct/paletted state of the image. Perhaps it could use i_sametype() to do that. I suspect we'd be better off using a new C level function to do it, since we'd be better off copying palette indexes than RGB values for a paletted image.