Basic concepts of bitmaps, vector graphics, pixels, and resolution

Source: Internet
Author: User

Computer graphics are divided into two main categories: one is bitmap images, the other is vector graphics.

1. Bitmap images are technically called raster images, which are made up of pixels. It is characterized by the ability to perform color changes and nuances of color, to produce realistic results, and to be easily exchanged between different software. However, when you save, you need to record the location and color values of each pixel, and therefore occupy a large amount of storage space.

In addition, because of the resolution, the bitmap contains a fixed number of pixels, in its enlargement or rotation operation, can not produce new pixels, it can only enlarge the original pixels to fill the extra space, the result will often make a clear image becomes blurred.

2, vector graphics software through the mathematical vector method to calculate the graph, it is independent of the resolution, so can be arbitrarily scaled and rotated without affecting the clarity and smoothness of the graph.

Vector graphics occupy a much smaller amount of storage than bitmaps, but it does not create overly complex graphics and can perform rich color changes and subtle tonal transitions like bitmaps such as photographs.

Pixel-to-resolution relationship

Pixels are the most basic elements that make up a bitmap image. Each pixel has its own position, and records the color information of the image, the more pixels an image contains, the richer the color information, the better the image, but the file will increase.

Resolution is the number of pixel points that are contained within a unit length, which is usually in pixels per inch (ppi), such as 72ppi, which contains 72 pixels per inch. Resolution determines the granularity of the detail of the bitmap, and in general, the higher the resolution, the more pixels it contains, and the clearer the image.

Pixel and resolution are two important concepts that are inseparable, and their combination determines the amount of data in the image. For example, a 1-inch * 1-inch image with a resolution of 300ppi, the image contains 300*300=90000 pixels.

Basic concepts of bitmaps, vector graphics, pixels, and resolution

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.