The differences between raster and vector files can be seen in the image above. Move the line in the middle of the chart to the left or right to change the type of file and you will notice the difference in quality between vector and raster graphics.
Raster graphics, also known as Bitmap, are made up of a table of pixels of different colors that together form an image. The most commonly used raster files are in formats such as JPG, PNG or GIF. Pixel-based images tend to lose quality when enlarged or reduced because the pixels increase and decrease along with them. Therefore, some images tend to look blurry or pixelated.
Vector graphics are made up of straight or curved lines and geometric shapes, and a vector file retains the starting and ending points of lines and shapes, the degree of curvature, and the colors of their fill or border. Vector files are not pixel-based, so they can be scaled to any size without losing the graphic quality of the image. The most popular types of vector files are AI, EPS, PDF, SVG, or CDR. In addition to their property of looking good at any size, vector files can be easily modified. With the help of specialized software (Adobe Illustrator, Corel Draw, Sketch, etc.), the shape and colors of vector graphics can be modified.