Pixel geometry
The components of the pixels in an image sensor or display can be ordered in different patterns, called pixel geometry.
The geometric arrangement of the primary colors within a pixel varies depending on usage. In monitors, such as LCDs or CRTs, that typically display edges or rectangles, the components are arranged in vertical stripes.
Knowledge of the pixel geometry used by a display may be used to create raster images of higher apparent resolution using subpixel rendering.
Function
Subpixel rendering
A single pixel on a colour display is made of several subpixels, typically three arranged left-to-right as red, green, and blue. These pixel components appear as a single colour to the human eye because of blurring by optics and spatial integration by nerve cells in the eye - for example, a pixel made up of red, green and blue subpixels will register as white at a distance. However, the eye is much more sensitive to the location. Therefore, turning on the G and B of one pixel and the R of the next pixel to the right will produce a white dot, but it will appear to be 1/3 of a pixel to the right of the white dot that would be seen from the RGB of only the first pixel. Subpixel rendering takes advantage of this to provide three times the horizontal resolution of the rendered image, though it has to blur this image to produce the correct color by ensuring the same amount of red, green, and blue are turned on as when no subpixel rendering is being done.Subpixel rendering does not necessitate the use of antialiasing, and gives a smoother result regardless of whether antialiasing is used or not since it artificially increases the resolution. However, it introduces colour aliasing since subpixels are coloured. Subsequent filtering applied to remove the colour artifacts is a form of antialiasing, although its purpose is not smoothing jagged shapes as in conventional antialiasing.
Subpixel rendering requires the software to know the layout of the subpixels. The most common reason it is wrong is monitors that can be rotated 90 degrees, though monitors are manufactured with other arrangements of the subpixels, such as BGR or in triangles, or with 4 colours like RGBW squares. On any such display the result of incorrect subpixel rendering will be worse than if no subpixel rendering was done at all.