Home  >  Article  >  What is the unit of px?

What is the unit of px?

藏色散人
藏色散人Original
2019-08-03 09:38:5985850browse

What is the unit of px?

What is the unit of px?

px is the abbreviation of pixel, which is the pixel unit and the basic unit for image display. It is translated from the English "pixel". Pix is ​​the common abbreviation of the English word picture, plus the English word "element" , you get pixel, so "pixel" means "picture element", sometimes also called pel (picture element).

Each such message element is not a point or a square, but an abstract sample. With careful processing, the pixels in an image can look like separate dots or squares at any scale; but in many cases, they appear as dots or squares. Each pixel can have its own color value and can be displayed in three primary colors, so it is divided into three sub-pixels: red, green, and blue (RGB color gamut), or cyan, magenta, yellow, and black (CMYK color gamut, printing industry and printers common in).

Photos are a collection of sampling points. As long as the image has not undergone incorrect/lossy compression or the camera lens is suitable, the more pixels per unit area, the higher the resolution. The image will be close to the real object.

The above is the detailed content of What is the unit of px?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:What is a namespace?Next article:What is a namespace?