Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a2286717b8461dfc

Jump to content

Template:VESA/doc

From Wikipedia, the free encyclopedia

This template generates a code to designate a video or graphics display resolution according to recommendations by VESA CVT.[1] It internally calls {{resratio}} if necessary.

In the past, the computer industry has used a de-facto standard system of naming for various spatial formats,which traces its roots to the very early days of the personal computer. In the 1980s, IBM produced a series ofgraphics systems and associated display products, which were referred to as “graphics adapters”, such as theMonochrome Graphics Adapter (MGA), Color Graphics Adapter (CGA), Enhanced Graphics Adapter (EGA),and finally the Video Graphics Array (VGA), Super-Video Graphics Array (SVGA), and Extended GraphicsArray (XGA) systems.

These names were certainly useful distinctions in their day, but unfortunately the nomenclature survived longafter the original hardware became obsolete – in the form of names informally applied to the spatial formatsused by those systems. Thus, in current usage, VGA most often refers to the 640 x 480 format, XGA to 1024x 768, and so forth. This system has become increasingly cumbersome, and the names do not provide muchinformation about the specific format they are intended to represent. QVGA, for instance, is most oftenintended to mean “quarter-VGA”, or 320 x 240 pixels, while QXGA has been used to refer to “quad-XGA”,or 2048 x 1536 pixels.

It is our intention at this time to replace this outdated system with a simpler, more informative standardconvention for referring to industry-standard display formats. Taking a cue from other electronic-imagingmarkets and systems, we are introducing with this standard the convention of naming image formats using thenumber of pixels contained in each. In this document, the standard naming for each format is the pixel count rounded to the nearest 10,000 and expressed in mega-pixels, or with the suffix “M”. As there remains the possibility of confusion between formats of similar pixel counts, but different aspect ratios, the vertical component of the aspect ratio shall be appended to the mega-pixel number, in hexadecimal format.

This specification makes 5∶3 = 15∶9 indistinguishable from either 4∶3 (3) or 16∶9 (9). This template currently generates unambiguous 6 instead, i.e. assumes canonical 10∶6.

VESA refers to 8∶5 as 16∶10 and accordingly suggests A (hexadecimal 10) for it (not 5), which this template complies with.

In 2013, VESA recognized 5∶4 and 15∶9 for legacy formats but discouraged any new native display resolutions with an aspect ratio other than 4∶3, 16∶9 and 16∶10, thereby its naming convention did not anticipate future ultra-wide formats.

Aspect ratio code
AR 1∶15∶44∶33∶2 =
15∶10
14∶9 ≈
25∶16 = 5²∶4²
8∶5 =
16∶10
5∶3 =
15∶9
16∶9 = 4²∶3²9∶5 =
18∶10
17∶92∶1 =
18∶9
37∶18 =
18.5∶9
19∶913∶6 =
19.5∶9
20∶97∶3 =
21∶9
64∶27 = 4³∶3³12∶5 =
24∶10
32∶9
Float 1.01.251.31.51.5–1.56251.6 ≈ φ1.61.775–1.71.81.8–1.89622.02.052.12.162.22.32.3702.43.5
VESA CVT (1)43(2?, A?)(0?)A (5)9 (3, 6)9(A?, 5?)91(9)(9)6 (9)(9)(9)(1B?)A (5?)(?)
:9 911¼1213½~1414⅖151616⅕~171818½1919½202121⅓21⅗32

Examples

[edit]
Examples from VESA CVT 1.2
Format (pixel × lines)Aspect ratioOld nameVESA standard nameTemplate result
480 × 3203∶2(HVGA)N/a0.15M2
960 × 6403∶2(DVGA)N/a0.61M2
320 × 2404∶3qVGAN/a76.80K3
640 × 4804∶3VGA0.31M30.31M3
800 × 6004∶3SVGA0.48M30.48M3
1024 × 7684∶3XGA0.79M30.79M3
1152 × 8644∶3XGA+N/a1.00M3
1280 × 9604∶3(SXGA−)1.23M31.23M3
1400 × 10504∶3(SXGA+)1.47M31.47M3
1600 × 12004∶3UXGA1.92M31.92M3
1920 × 14404∶32.76M32.76M3
2048 × 15364∶3(QXGA)3.15M33.15M3
2560 × 19204∶34.92M34.92M3
3200 × 24004∶37.68M37.68M3
3840 × 28804∶311.06M311.06M3
1280 × 10245∶4SXGA1.31M41.31M4
1280 × 7685∶3(WXGA)0.98M90.98M6
848 × 48016∶9(FWVGA)0.41M90.41M9
1064 × 60016∶90.64M90.64M9
1280 × 72016∶9(HD)0.92M90.92M9
1360 × 76816∶9((F)WXGA)1.04M91.04M9
1704 × 96016∶91.64M91.64M9
1864 × 105016∶91.96M91.96M9
1920 × 108016∶9((F)HD)2.07M92.07M9
2128 × 120016∶92.55M92.55M9
2560 × 144016∶9((W)QHD)3.69M93.69M9
2728 × 153616∶94.19M94.19M9
3408 × 192016∶96.54M96.54M9
4264 × 240016∶910.23M910.23M9
5120 × 288016∶914.75M914.75M9
768 × 4808∶5(WVGA)0.37MA0.37MA
960 × 6008∶50.58MA0.58MA
1152 × 7208∶50.83MA0.83MA
1224 × 7688∶50.94MA0.94MA
1536 × 9608∶51.47MA1.47MA
1680 × 10508∶5(WSXGA+)1.76MA1.76MA
1728 × 10808∶51.87MA1.87MA
1920 × 12008∶5(WUXGA)2.30MA2.30MA
2304 × 14408∶53.32MA3.32MA
2456 × 15368∶53.77MA3.77MA
3072 × 19208∶55.90MA5.90MA
3840 × 24008∶5(WQUXGA)9.22MA9.22MA
4608 × 28808∶513.27MA13.27MA

Usage

[edit]

Generate standard VESA display moniker: pixel count and aspect ratio code

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
widthx 1

horizontal resolution

Default
0
Example
640
Numbersuggested
heighty 2

vertical (smaller) resolution

Default
x
Example
480
Numbersuggested
countMpx 3

number of pixels

Default
x*y
Example
307200
Numberoptional
aspect ratioAR 4

image or video display aspect ratio in landscape orientation

Default
x/y
Example
1.333
Numberoptional