On Wed, 18 Jun 2003, John Sequeira wrote:
> Is there a way to figure out what the yellowish or blueish antialiasing
> pixels should map to in the new graphic?
>
> Would I have to dig down deep into understanding antialiasing
> algorithms, or is there a simpler way to use something like a color
> wheel/whatever it's RGB analog would be?
Did you look in the Perl Graphics book yet?
Really, hand-rolling this is for the birds, if you can get one of the
libraries to do it for you it should be much simpler. It looks like
ImageMagick has a method for adding text, which is ...sort of what you
want (you could maybe clobber the existing text & recreate it with a clean
slate, but that might be more trouble than it's worth if you have to tell
your program what the text in each file is in the first place...).
Still though, I'm sure an existing library can do what you want, or can be
sub-classed to do what you want. Starting from scratch seems iffy to me...
--
Chris Devers [EMAIL PROTECTED]
UTM, n. [Universal Turing Machine.]
The top-of-the-range TURING MACHINE, able to simulate any past,
present, or future computing system.
Theoretically, it can do this using just one BISTABLE element (C.
Shannon, 1966) and a lot of tape. The speed of the UTM is limited only
by the user's imagination and is not constrained by the trying
tardiness of physical elements, such as electrons, that screwed the
competition. This freedom more than compensates for the archaic, 1930s
architecture and the need to write your own add subroutines.
-- from _The Computer Contradictionary_, Stan Kelly-Bootle, 1995
_______________________________________________
Boston-pm mailing list
[EMAIL PROTECTED]
http://mail.pm.org/mailman/listinfo/boston-pm