Vector or Raster graphics?

 

Vector graphics are created with mathematical equations. Basic geometric elements such as lines, points and shapes along with mathematical equations is what creates a vector. This format is typically used to create simpler images that will be scaled up or down. There are four common vector file types: .AI, .EPS, .PDF and .SVG. Vector format graphics are primarily used to create logos, graphics and illustrations.
Raster graphics, (also known as bitmaps) are built using pixels. Raster graphics are pixel-based and have a finite number of pixels which is determined by an image resolution. There are four common raster file types: .JPG, .GIF, .PNG and .TIF. Every raster image file contains the DPI (dots per inch) or PPI (pixels per inch) of the graphic. Raster format graphics are primarily used to create web, graphics used on screen and photos.