Cache conversions from triplets to rrggbb's and vice versa.  Wasteful
on space, but improves performance.  Also use map to calculate
triplet_to_pmwrgb().
1 file changed