The first thing you need to understand about image formats is the difference between raster and vector. Raster photos are put together by a set of pixels, or singular blocks, to generate an image. The most popular image formats - JPGs, GIFs, and PNGs - are raster images. Every picture found online or in print falls under this category.