Hello.
I have a series of images (sized 100x100 pixels). They are all logos and have a standard shading effect applied to the left hand side of them which makes them appear to "fade" them into the distance. The effect is created by having every other line be a "graded-in" white solid line e.g.
I'm using IE 5.0 and when I create a static HTML page my images (scaled down to 50x50) are rendered and the fading from the white lines is effectively "lost" due to the scaling. The logos appear to be made of solid colour. I understand why this is, as if the line of detail is 1 pixel, then it can't be scaled down. This is not a problem.
However things get a little strange when I create the same page via a Java servlet and XSL stylesheet. The anti-aliasing algorithm seems to lose the non-white lines and my logos look like they are only half there! It's not a serious problem but I'd like to know if anyone else has had a similar encounter!
I just don't understand why there are inconsistencies in the anti-aliasing.
I have a series of images (sized 100x100 pixels). They are all logos and have a standard shading effect applied to the left hand side of them which makes them appear to "fade" them into the distance. The effect is created by having every other line be a "graded-in" white solid line e.g.
Code:
xxxxxxxxxxxxxxxxxxxx
x xx xxxxxxxx
xxxxxxxxxxxxxxxxxxxx
x xx xxxxxxxx
xxxxxxxxxxxxxxxxxxxx
x xx xxxxxxxx
xxxxxxxxxxxxxxxxxxxx
x xx xxxxxxxx
xxxxxxxxxxxxxxxxxxxx
x xx xxxxxxxx
xxxxxxxxxxxxxxxxxxxx
I'm using IE 5.0 and when I create a static HTML page my images (scaled down to 50x50) are rendered and the fading from the white lines is effectively "lost" due to the scaling. The logos appear to be made of solid colour. I understand why this is, as if the line of detail is 1 pixel, then it can't be scaled down. This is not a problem.
However things get a little strange when I create the same page via a Java servlet and XSL stylesheet. The anti-aliasing algorithm seems to lose the non-white lines and my logos look like they are only half there! It's not a serious problem but I'd like to know if anyone else has had a similar encounter!
I just don't understand why there are inconsistencies in the anti-aliasing.