Did you look in the Perl Graphics book yet?

....


I did check out the perl graphics book examples, and none of them looked relevant, but... I'm going to sign up for Safari and read through it. Looks like I get two weeks free, so I can do the book due diligence pretty quickly. Thanks Chris.


sub giftrans {
 my ($image, %mapping) = @_;

Alex - that's very helpful. Thanks!

If I can't find a more fitting library or algorithm in the Perl Graphics book, I'm going to try to do a distance translation of the RGB coordinates - figure out how far from my base colors (blue/yellow) any of the anti-aliased pixels are, and put them at the same distance between my transformed colors in the new image.

Something tells me color can't be treated as a geometry problem, but OTOH it won't take me long to find out.









_______________________________________________
Boston-pm mailing list
[EMAIL PROTECTED]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to