Summary

Support for the display of raster imagery is still required, as nearly all photographic images are encoded in such a manner. SVG supports the inclusion of raster images, as well as its own vector imagery, through the use of the image element. Using familiar syntax, the image element allows SVG viewers to render imagery within SVG documents.

Image formats such as JPEG and PNG are supported, whereas other formats, such as GIF, may be supported on a case-by-case basis, depending on each SVG viewer vendor's decision. External SVG files can also be placed using the image element, allowing different SVG files to be collected together within one document.

With the completion of this hour, you've finished Part II, and you're now ready to move ...

Get Sams Teach Yourself SVG in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.