Skip Menu |

This queue is for tickets about the Imager CPAN distribution.

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

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

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



Subject: compare in Imager::Color
Currently, you have to manually compare colors by comparing the output of the rgba method of two colors. It would be nice if you could just do $c1->compare ($c2); and probably $c1->compare ($c2, ignore_aa => 1); too
I've added an equals() method to the Imager::Color class. This hasn't been released yet, and it only in CVS currently.