|
From: Maxim S. <mcs...@ya...> - 2004-06-19 15:37:26
|
> > I must admit AGG uses some messy combination of regular and premultiplied > > methods. We'll need to clean it up and I think there should be both, > > reguilar and premultiplied colorspaces. > > Indeed, since both are useful. For instance, the Intel Integrated Perf. > Primitives Imaging Library (or whatever the IPPI stands for) offers > both premultiplied alpha composition and plain aRGB composition. The > premultiplied version is significantly faster. BTW, what about trying to use IPPI as a low level back-end for AGG? Are there simple functions for blending horizontal/vertical spans? All we need is to write an agg_pixfmt_ippi.h and maybe agg_color_ippi.h to represent colors in more optimized way (say, use the IPPI-specific byte order). Well, there are some difficulties with image transformations, but it's all doable. McSeem |