O'Reilly logo

Sams Teach Yourself SVG in 24 Hours by Micah Laaker

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required