Text and gradients drawing.
Texturized 3D Antialiased TrueType text.
This screenshot illustrates text rendering, and smooth bevel rendering by libAfterImage.
This particular text has been rendered using included TTF font, size 32 points. It then has been texturized
with fore.jpg, and later on alpha-blended on top of appropriately beveled and tiled back.xpm.
3D effect has been created by adding shadow behind the text. There are 6 different 3D styles provided by libAfterImage.
This is the default image rendered by astext example.
This particular screenshot has been taken on 16bpp display.
This is the demonstration of multipoint gradient rendering. This particular gradient consists of 10
color points, with two in lower-right corner being quite close to each other colorwise.
Despite the fact that it was rendered on 16bpp display, there almost no stripes visible, even where
neighboring colors are quite close to each other. That is due to error diffusion and dithering techincs.
This is the default image rendered by asgrad example.
See also this comparison of gradient rendering by libAfterImage and XV.
Alpha-blended beveled gradient with text on 8bpp.
Rotated text rendered using antialiased X11 font, rendered on top of beveled multipoint gradient on 8bpp PseudoColor display.
This is to demonstrate error-diffusion
effect on low colordepth screen. Note that only 64 colors has been utilized to render that image, from
standard 64 color palette of colors, uniformly spread along the spectrum. That leaves 196 colors available
for other applications, and that enables other applications to reuse same colormap, bu approximating their needs
using some of this preallocated colors.
Such an approach is especially useful when it comes to programming Window Managers.
Diagonal gradient with alpha on 15bpp.
This screenshot demonstrates diagonal 5-point gradient, with one of the points being semi-transparent. Gradient was alpha-blended with composition of 2 more images.
Note that this image has been rendered on 15bpp colordepth, yet there are no noticeable strips or other artifacts, normally associated with such a low colordepth.