A raster image, like a mosaic, is composed of many small cells - pixels, where each pixel contains information about the color. You can define a bitmap image by increasing its scale: at a certain stage, a lot of small squares become noticeable - this is the pixels.
The most common raster formats: JPEG, PNG.
Raster graphics are convenient for creating high-quality photorealistic images, digital drawings and photographs. The most popular raster graphics editor is Adobe Photoshop.
• Ability to create an image of any complexity - with a huge amount of detail and a wide range of colors.
• Raster images are the most common.
• Working with raster graphics is easier, as the mechanisms for creating and editing it are more familiar and common.
• Large memory footprint: the larger the "size" of the image, the more pixels there are in it and, accordingly, the more space you need to store / transmit such an image.
• Unable to scale: the bitmap can not be scaled without loss. If you resize the original image, it is inevitable (as a result of the interpolation process), there will be a loss of quality.
Unlike raster images, vector images consist not of pixels, but of a set of control points and connecting curves. The vector image is described by mathematical formulas and, accordingly, does not require the presence of information about each pixel. No matter how much you scale the vector image, you will never see pixels.
The most popular vector formats: SVG, AI.
Vector graphics are used for illustrations, icons, logos and technical drawings, but it is difficult to reproduce photorealistic images. The most popular vector graphics editor is Adobe Illustrator.
• Small amount of occupied memory - vector images have a smaller size, since they contain a small amount of information.
• Vector images are perfectly scaled - you can infinitely change the size of the image without loss of quality.
• To display a vector image requires a series of calculations, respectively, complex images may require increased computing power.
• Not every graphic scene can be represented in vector form: for a complex image with a wide color gamut, you may need a huge number of points and curves, which will eliminate all the advantages of vector graphics.
• The process of creating and editing vector graphics differs from the familiar to many models - to work with the vector will require additional knowledge.
We come to the conclusion that there is no "silver bullet": both raster and vector graphics have their advantages and disadvantages, accordingly, it is worth choosing the format that is suitable for solving the tasks assigned to you.