|
From: Maxim S. <mcs...@ya...> - 2005-11-10 04:09:58
|
> > It looks exactly like you use pixfmt_nnnn instead of pixfmt_nnnn_pre. > > http://cyphre.mysteria.cz/tests/agg-bilinear-1-result.png > > http://cyphre.mysteria.cz/tests/agg-bilinear-2-result.png > > They should look the same, without the gray border in the first image. > > Hmm, this is really strange as I'm actually using the pixfmt_nnnn_pre: I tried to reproduce your picture and it works as expected. http://antigrain.com/stuff/image_filters2.zip (compiles with pilot agg-2.4) http://antigrain.com/stuff/image_filters2.png Maybe you blend layers (blend_from() function)? If so, the destination pixel format must also be premultiplied. Also, it might be something wrong with the inverse alpha channel you use. McSeem __________________________________ Yahoo! FareChase: Search multiple travel sites in one click. http://farechase.yahoo.com |