Sams Teach Yourself HTML and CSS in 24 Hours (7th Edition)
Any GIF or JPEG image can be used as a background tile. Pages look best, however, when the top edge of a background tile matches seamlessly with the bottom edge, and the left edge matches with the right. If you're clever and have some time to spend on it, you can turn any image into a seamless tile by meticulously cutting and pasting, while touching up the edges. Paint Shop Pro provides a much easier way to automatically make any texture into a seamless tile: Simply crop out the rectangular area you want to make into a tile, and then choose EffectsEffEfE, Image Effects, Seamless Tiling. Paint Shop Pro crops the image and uses a sophisticated automatic procedure to overlay and blur together opposite sides of the image. Figure 9.6 shows the Seamless Tiling dialog box in Paint Shop Pro as I turn a photograph of a piece of travertine stone into a seamless tile. The resulting tileshown as the background of a web page in Figure 9.7tiles seamlessly but has the tone and texture of a piece of natural travertine stone. Figure 9.6. Paint Shop Pro can automatically take any region of an image and turn it into a background pattern that can be easily made into tiles.
Figure 9.7. These are the results of using the seamless tile created in Figure 9.6 as a background image for a web page.
You'll find similar features in other graphics programs, including Photoshop (use Filter, Other, Offset with Wrap Turned On), Kai's Power Tools, and the Macintosh programs Mordant and Tilery. Try It Yourself Here are some tips for making your own background tiles with Paint Shop Pro:
|
Категории