首页 > 编程知识 正文

手机4k分辨率的dpi_4K分辨率和高DPI:要获得出色的视觉效果,您需要了解的内容

时间:2023-05-06 02:29:19 阅读:240651 作者:3357

手机4k分辨率的dpi

4K resolution, AKA Ultra HD, refers to a horizontal screen display resolution in the order of approximately 3,840 pixels. On two-dimensional display devices such as computer monitors, it represents display resolution of 3840×2160 pixels which is four times as many pixels as regular Full High Definition (1920×1080). What this means for users is the more pixels per inch (PPI) the higher resolution on the monitor. In other words, you can be closer to the monitor and still enjoy a crisp, clear picture.

4K分辨率(又称为Ultra HD)是指水平屏幕显示分辨率,约为3,840像素。 在诸如计算机监视器的二维显示设备上,它表示的显示分辨率为3840×2160像素,是普通全高清(1920×1080)像素的四倍。 对于用户而言,这意味着每英寸像素(PPI)越多,显示器的分辨率就越高。 换句话说,您可以靠近显示器,仍然可以欣赏到清晰清晰的图像。

基本概念和术语 (Basic concepts and terms)

Just like hardware displays and form factors are an evolving technology, scaling in Windows has been evolving over the last several years with great improvements in the latest Windows 10. From a developer’s perspective, this represents a big challenge. But from a user’s perspective scaling only matters because Windows and your apps will run on a lot of diverse monitors. Diverse in many ways like size, resolution, density, viewing distance, etc.

就像硬件显示和外形尺寸是一种不断发展的技术一样,过去几年中Windows的扩展一直在发展,而最新的Windows 10有了很大的改进。从开发人员的角度来看,这是一个巨大的挑战。 但是从用户的角度来看,缩放仅很重要,因为Windows和您的应用程序将在许多不同的监视器上运行。 大小,分辨率, 密度 ,观看距离等多种多样

物理像素 (Physical pixels)

Physical pixels are the dots making up the screen: the smallest parts of the screen that can be lit up.

物理像素是组成屏幕的点: 屏幕上可以点亮的最小部分

Physical pixels (red squares below) are smaller on denser screens 在较密集的屏幕上,物理像素(下面的红色正方形) 较小 Physical resolutions (light grey text below) are larger on denser screens and on larger screens 在较密集的屏幕和较大的屏幕上,物理分辨率(下面的浅灰色文本) 较大

有效像素 (Effective Pixels)

Effective pixels are abstract units of the display; each one represents a block of physical pixels.

有效像素是显示的抽象单位。 每个代表一个物理像素块。

Effective pixels (red squares below) are the same size on all screens 所有屏幕上的有效像素(下面的红色正方形)均相同 Effective resolutions (light grey text below) are larger on larger screens, not on denser screens 在较大的屏幕上而不是在较密集的屏幕上,有效分辨率(下面的浅灰色文本) 较大

In terms of resolution, we could be looking at a phone with low resolution and up to a 4K or even a 5K monitor that people are starting to switch over, so there we have a 6:1 ratio in size and capable of growing in the future. There’s is an insane diversity, if you’re thinking from a developer perspective, and there’s no way in a world you can target each of these different elements and the entire range of each one. Therefore, Microsoft provides DPI scaling AKA density/display scaling and it abstracts much of this complexity.

在分辨率方面,我们可能正在看分辨率较低,人们可以切换到4K甚至5K显示器的手机,因此我们的尺寸比例为6:1,并且能够在未来。 如果您是从开发人员的角度考虑的话,那么多样性是疯狂的,而且世界上没有办法针对这些不同的元素以及每个元素的整个范围。 因此,Microsoft提供了DPI缩放AKA密度/显示缩放,并且抽象了许多这种复杂性。

比例因子 (Scale factor)

The scale factor is the ratio between the size of an effective and a physical pixel; it is the ratio by which operating system scales the UI so that effective pixels are the same size on all displays.

比例因子是有效像素和物理像素的尺寸之比; 它是操作系统缩放UI的比率,以使有效像素在所有显示器上的大小相同。

It also equals the ratio between the physical resolution and the effective resolution

它也等于物理分辨率和有效分辨率之间的比率 The scale factor is in an approximation to the “ideal” scale factor; to keep things simple scale values are rounded up or down to a small number of Windows supported values

比例因子近似于“理想”比例因子。 为了使事情简单,比例值会四舍五入为Windows支持的少量值

From the user’s point of view, we get reliably-sized visuals and the content looks reasonably the same on all different devices right out the box without the need for any user interaction. This applies to a majority of Microsoft products just by sticking to the default (Recommended) settings.

从用户的角度来看,我们获得了大小可靠的视觉效果,并且在所有不同设备上的内容在外观上都相当合理,无需用户交互。 仅通过坚持默认(推荐)设置,这适用于大多数Microsoft产品。

Even though SQL Server Management Studio (SSMS) is Microsoft’s product, it still doesn’t support the 4K resolution and high DPI. However, there’s beta support for 2016 and 17 versions to fix the application elements such as the taskbar, icons, toolbars, text, and dialog boxes that appear to be fuzzy. By default, this beta support is disabled but you could check out an article on how to enable High-DPI in SSMS and learn more about tips, tricks, and known issues.

尽管SQL Server Management Studio(SSMS)是Microsoft的产品,但它仍然不支持4K分辨率和高DPI。 但是,对于2016和17版本提供了Beta测试,以修复似乎模糊的应用程序元素,例如任务栏,图标,工具栏,文本和对话框。 默认情况下,此Beta支持处于禁用状态,但是您可以查看有关如何在SSMS中启用High-DPI的文章,并了解有关提示,技巧和已知问题的更多信息。

To see how we’ve implemented 4K/High resolution in our products, see this article: 4K resolution and high-DPI scaling support in ApexSQL tools/add-ins.

要了解我们如何在产品中实现4K /高分辨率,请参阅本文: ApexSQL工具/插件中的4K分辨率和高DPI缩放支持 。

翻译自: https://www.sqlshack.com/4k-resolution-and-high-dpi-what-you-need-to-know-about-it-to-have-great-visuals/

手机4k分辨率的dpi

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。