This article is a personal blog backup article, the original address:http://validvoid.net/win2d-dpi-dips/This article is intended to explain the difference between physical pixels and device-independent pixels (DIPs, devices independent pixels), and how win2d handles DPI (dots per inch/in dots).WIN2D is designed to be self-aware of the device environment to render the correct visual representation on device
We know that with the support of high DPI, the Windows XP era started, when support for high DPI was relatively simple, but from vista/win7 to now win8/win8.1, Windows ' support for high DPI has changed a lot,Let's briefly introduce the following. If we had reason not to focus on high DPI in the previous XP era, then i
Basic mobile phone resolution knowledge (DPI, DIP computing)
1. terms and concepts
Terms
Description
Remarks
Screen size)
It refers to the actual physical size of the mobile phone, such as the commonly used 2.8 inch, 3.2 inch, 3.5 inch, 3.7 inch
Motorola's milestone mobile phone is 3.7 inch
Aspect Ratio (width/height Ratio)
Refers to the actual physical size width/height ratio, divided into long and nolong
I recently handled a problem about DPI. I think it's interesting to share it with you. First, let's clarify several concepts:
DPI:Dots per inch, the number of points per inch. We often say that the mouse DPI refers to the number of points that move the mouse 1 inch away from the slippery point; print DPI, the number of points that are printed per inch in length
Basic knowledge of mobile resolution (DPI,DIP calculation)
1. Terminology and concepts
Terms
Description
Note
Screen size (on-screen dimensions)
Refers to the actual physical size of the phone, such as 2.8-inch, 3.2-inch, 3.5-inch, 3.7-inch
Motorola Milestone mobile phone is 3.7 inches
Aspect Ratio (Wide-high ratio)
Refers to the actual physical dimensions of the wide-high ratio, divided into l
first, the basic concept
Dip:density independent pixels, device independent pixels.
DP: Just Dip
PX: pixels
dpi : dots per inch, which is directly the number of pixels in an inch. A common value of 120,160,240. I am generally referred to as pixel density, short density
density : Direct translation of the words seems to be called density. Common values are 1.5, 1.0. Proportional to the standard
First, the basic concept
Dip:density independent pixels, device independent pixels.
DP: Just Dip
PX: pixels
dpi : dots per inch, which is directly the number of pixels in an inch. A common value of 120,160,240. I am generally referred to as pixel density, short density
density : Direct translation of the words seems to be called density. Common values are 1.5, 1.0. Proportional to the standard
Explanation of dpi/screen-size on androidAndroid defines four screen-size: small normal large xlarge and six dpi levels: ldpi (low )~ 120 dpimdpi (medium )~ 160 dpihdpi (high )~ 240 dpixhdpi (extra-high )~ 320 dpixxhdpi (extra-high )~ 480 dpixxxhdpi (extra-high )~ 640 dpi defines these levels to better organize resources to adapt to different devices. See: The ht
Tongteng Network Shunt, also known as the core network collector, is an important basic equipment for the network monitoring front-end in the network security field. It is an essential equipment for the entire network security! It plays a key role in network security! Currently, the fixed network has been upgraded to 400 GB, supporting different links. The mobile Internet signaling collection traffic has been upgraded to a GB interface, supporting different carriers to separately distribute traf
Now the consumer electronic devices screen more and more small, but the resolution is increased, such as Surface pro,10.6 inch screen, 1080p Full HD display, will make Windows display text becomes unusually small. This phenomenon is due to the fact that the screen dot pitch is smaller than the standard (about 207.82 dots per inch, the standard is about 96 dots per inch), but the display is more subtle, but the Windows rendering of text is still the default D
Now the consumer electronic devices screen more and more small, but the resolution is increased, such as Surface pro,10.6 inch screen, 1080p Full HD display, will make Windows display text becomes unusually small. This phenomenon is due to the fact that the screen dot pitch is smaller than the standard (about 207.82 dots per inch, the standard is about 96 dots per inch), but the display is more subtle, but the Windows rendering of text is still the default D
Traditional DPI scaling mechanism
The traditional DPI scaling mechanism is used by Windows XP, and developers are self-checking for potential problems with font scaling.
Pros: Clear Fonts
Cons: Typographical disorders (UI element text box overlay, table text overflow, interface beyond screen edge)
Modern dpi scaling mechanism:
Now the consumer electronic devices screen more and more small, but the resolution is increased, such as Surface pro,10.6 inch screen, 1080p Full HD display, will make Windows display text becomes unusually small. This phenomenon is due to the fact that the screen dot pitch is smaller than the standard (about 207.82 dots per inch, the standard is about 96 dots per inch), but the display is more subtle, but the Windows rendering of text is still the default D
Application Scenario: the Canvas can generate the JPG tag based on the product information read from the database. However, the default resolution (DPI) of the JPG image is 72, which is too low, as a result, the printed image will be blurred and the DPI will be modified. The general practice is to upload the image to the server application scenario: the tag needs to be printed for each delivery of the wareh
1 px pixels per pixel and device for devices such as 480 * 320 resolution of the phone, the landscape is 480 pixels in length and 320 pixels vertically. More pixels at fixed length, higher pixels, smaller pixels, sharper images.2. DPI:d ots per inch pixel number, common value 120,160,240,320. Corresponding to the Low,medium,high,xhigh, DPI value, and device-related (the same size of the phone resolution has a high bottom), such as the 320* 240 mobile
Size Units (px, dpi, dp, dip, and sp) of the View for android Application Development, and androiddpi
I. pixel (px) and screen resolution
1) px (Pixels, Pixels): corresponds to the actual Pixels on the screen. For example, 320*480 screens have 320 pixels horizontally and 480 pixels vertically.
2) the screen resolution is the total number of physical pixels displayed on the screen. It is equal to the number of pixels x height on the screen width. In th
Now the consumer electronic devices screen more and more small, but the resolution is increased, such as Surface pro,10.6 inch screen, 1080p Full HD display, will make Windows display text becomes unusually small. This phenomenon is due to the fact that the screen dot pitch is smaller than the standard (about 207.82 dots per inch, the standard is about 96 dots per inch), but the display is more subtle, but the Windows rendering of text is still the default D
The dpi of the mouse is the dots per inch, which is the number of points that the mouse moves on the screen every inch of the pointer. For example, 400DPI mouse, when he moves an inch, the pointer on the screen can move 400 points.
Precision
In fact, the concept of DPI can not be more accurate only to represent the accuracy of the mouse. For example, the dots in dots per inch are not constant
We know that high-quality barcodes are better for our purposes, but the image dpi is proportional to the size of the image, the higher the DPI, the larger the picture file.It may be easy for you to display a 600DPI picture in HTML, but you'll find that the picture fills the entire page because most of the HTML display resolution is 96DPI. Then today will be shared with barcode Professional for ASP. NET disp
The next day I first came to the new company and asked me a question.
The DPI of the result image generated into the PDF is different from the resolution of the generated PDF.
I have never touched on DPI before. I don't know what it is. I can't help it. I can only use Baidu.
DPI: the abbreviation of "dot Per Inch" refers to the number of points in the leng
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.