Vector images are not in png format; vector images are object-oriented images or drawing images, which are drawn based on geometric characteristics. The formats of vector images include svg, cdr, win, emf formats, etc., while png format Refers to Portable Network Graphics, a bitmap format that uses a lossless compression algorithm.
The operating environment of this tutorial: Windows 10 system, DELL G3 computer.
Vector graphics, also known as object-oriented images or drawing images, are mathematically defined as a series of points connected by lines. Graphic elements in vector files are called objects. Each object is a self-contained entity with properties such as color, shape, outline, size, and screen position.
Vector graphics are drawn based on geometric characteristics. A vector can be a point or a line. Vector graphics can only be generated by software. The file takes up less internal space because this type of image file contains independent Separate images and recombine them freely and without restrictions.
Its characteristic is that the image will not be distorted after magnification and has nothing to do with resolution. It is suitable for graphic design, text design, some logo design, layout design, etc.
The formats of vector pictures are: cdr, ai, wmf, eps, bw, col, emf, iff, lbm, mag, msk, opt, ply, pbm, pcd, pcx, pict, svg, tga, win, raw, ras, dwg, dxb, etc.
PNG (Portable Network Graphics), portable network graphics, is a bitmap format that uses a lossless compression algorithm and supports index, grayscale, RGB three color schemes and Alpha channel features. Its design purpose is to try to replace the GIF and TIFF file formats, while adding some features that the GIF file format does not have. PNG uses a lossless data compression algorithm derived from LZ77, which is generally used in JAVA programs, web pages or S60 programs because of its high compression ratio and small file size. The extension of PNG file is .png
Extended knowledge
Features of vector graphics
1. Same Resolution-independent
A vector image can be moved and changed multiple times while maintaining its original clarity and curvature, without affecting other objects in the legend. These characteristics make vector-based programs particularly suitable for illustration and three-dimensional modeling, since they often require the ability to create and manipulate individual objects. Vector-based drawing is resolution independent.
2. Differences from bitmaps
The biggest difference between vector graphics and bitmaps is that they are not affected by resolution. Therefore, when printing, graphics can be enlarged or reduced arbitrarily without affecting the clarity of the image, and can be displayed on the output device at the highest resolution.
3. Features
In addition, the most obvious feature of vector graphics: the color edges and line edges of vector graphics are very smooth, such as a curved line, if If it is uneven, then this kind of vector image is of poor quality. If there are many small patches of color on a color block, it is also of poor quality. High-quality vector images should be.
Whether you zoom in or out, the edges of the colors are very smooth and clear. The lines are in the same proportion and thickness, and the nodes are also very few. Generally speaking, vectors Pictures are all drawn by bitmap imitation. First there is a picture, and then it is drawn based on its imitation.
For more related knowledge, please visit the FAQ column!
The above is the detailed content of Is the vector image in png format?. For more information, please follow other related articles on the PHP Chinese website!