Raster graphics are drawings. Raster draws 2D objects and is made by pixels. Once it is made it is forgotten by the browser. If you needed to change something, everything has to be redone.
Vector graphics is a language that describes 2D graphics. In vector each shape you draw is its own object. If anything is chaged the browser re-reads the shape.
They are different beacues one way is one object and the other is many. That one object is its whole page. The multiple objects can be moved and changed.
| Advantages |
|---|
| One advantage is you can capture everydetail in those photorealistic images. |
| Disadvantages |
| One disadvantage is when you enhances these photographs it can be blurry or pixelated. Raster is pixels. |
| Advantages |
|---|
| One advantage is how scaleable they can be without losing quiality. |
| Disadvantages |
| One disadvantage is how limited you are with images. Vector is lines and shapes. |