Q&A

Q1:In what ways are vector graphics superior to bitmaps?
A1: Vector graphics maintain their crispness when resized. Bitmaps become fuzzy when the computer either computes intermediate pixels to fill space or deletes pixels to reduce space. Vector graphics require very little data, whereas bitmaps need every pixel to be described.
Q2:If vector graphics are so superior, why do Web pages use bitmap files almost exclusively?
A2: There are two problems with vector graphics in Web pages: 1) Lack of support. Until recently, there was no language available for Web pages that could be used to define vector graphics. 2) All images can be represented as bitmaps, but it can be difficult to find the precise mathematical formulas to create a vector graphic. ...

Get Sams Teach Yourself XML 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.