ebooksgratis.com

See also ebooksgratis.com: no banners, no cookies, totally FREE.

CLASSICISTRANIERI HOME PAGE - YOUTUBE CHANNEL
Privacy Policy Cookie Policy Terms and Conditions
Raster graphics - Wikipedia, the free encyclopedia

Raster graphics

From Wikipedia, the free encyclopedia

Imagine the smiley face in the top left corner as an RGB bitmap image. When zoomed in, it might look like the big smiley face to the right. Every square represents a pixel. Zooming in further, the individual pixels can be analyzed, with their colors constructed by adding the values for red, green and blue.
Imagine the smiley face in the top left corner as an RGB bitmap image. When zoomed in, it might look like the big smiley face to the right. Every square represents a pixel. Zooming in further, the individual pixels can be analyzed, with their colors constructed by adding the values for red, green and blue.

In computer graphics, a raster graphics image or bitmap, is a data structure representing a generally rectangular grid of pixels, or points of color, viewable via a monitor, paper, or other display medium. Raster images are stored in image files with varying formats (see Comparison of graphics file formats).

A bitmap corresponds bit-for-bit with an image displayed on a screen, generally in the same format used for storage in the display's video memory, or maybe as a device-independent bitmap. Bitmap is technically characterized by the width and height of the image in pixels and by the number of bits per pixel (a color depth, which determines the number of colors it can represent).

The printing and prepress industries know raster graphics as contones (from "continuous tones") and refer to vector graphics as "line work".

The word "raster" has its origins in the Latin rastrum (a rake), which is derived from radere (to scrape), and recalls metaphorically the systematic sampling of a grid-pattern of individual pixel-spaces with a view to representing an overall image.

Contents

[edit] Colors

Each pixel has an individually defined color; images in the RGB color space, for instance, often consist of colored pixels defined by three bytes — one byte each for red, green and blue. Less colorful images require less information per pixel; for example, an image with only black and white pixels requires only a single bit for each pixel. One can distinguish raster graphics from vector graphics in that vector graphics represent an image through the use of geometric objects such as curves and polygons.

A colored raster image (or pixmap) will usually have pixels with between one and eight bits for each of the red, green, and blue components, though other color-encodings also occur, such as four- or eight-bit indexed representations that use vector quantization on the (R, G, B) vectors. The green component sometimes has more bits than the other two to allow for the human eye's greater discrimination of this component.

[edit] Encoding

The total number of pixels (resolution), and the amount of information in each pixel (often called color depth) determine the quality of a raster image. For example, an image that stores 24 bits of color-information per pixel (the standard for displays since around 1995) can represent smoother degrees of shading than one that only stores 16 bits per pixel, but not as smooth as one that stores 48 bits. Likewise, an image sampled at 640 x 480 pixels (and therefore containing 307,200 pixels) will look rough and blocky compared to one sampled at 1280 x 1024 (1,310,720 pixels). Because it takes a large amount of data to store a high-quality image, computer software often uses data compression techniques to reduce this size for images stored on disk. Some techniques sacrifice information, and therefore image quality, in order to achieve a smaller file-size. Computer scientists refer to compression techniques that lose information as lossy compression.

[edit] Resolution

Raster graphics are resolution dependent. They cannot scale to an arbitrary resolution without loss of apparent quality. This deficiency contrasts with the capabilities of vector graphics, which easily scale to the quality of the device rendering them. Raster graphics deal more practically than vector graphics with photographs and photo-realistic images, while vector graphics often serve better for typesetting or for graphic design. Modern computer-monitors typically display about 72 to 130 pixels per inch (PPI), and some modern consumer printers can resolve 2400 dots per inch (DPI) or more; determining the most appropriate image resolution for a given printer-resolution can pose difficulties, since printed output may have a greater level of detail than a viewer can discern on a monitor. Typically, a resolution of 150 to 300 pixel per inch works well for 4-color process (CMYK) printing.

[edit] See also

[edit] References

This article was originally based on material from the Free On-line Dictionary of Computing, which is licensed under the GFDL.


aa - ab - af - ak - als - am - an - ang - ar - arc - as - ast - av - ay - az - ba - bar - bat_smg - bcl - be - be_x_old - bg - bh - bi - bm - bn - bo - bpy - br - bs - bug - bxr - ca - cbk_zam - cdo - ce - ceb - ch - cho - chr - chy - co - cr - crh - cs - csb - cu - cv - cy - da - de - diq - dsb - dv - dz - ee - el - eml - en - eo - es - et - eu - ext - fa - ff - fi - fiu_vro - fj - fo - fr - frp - fur - fy - ga - gan - gd - gl - glk - gn - got - gu - gv - ha - hak - haw - he - hi - hif - ho - hr - hsb - ht - hu - hy - hz - ia - id - ie - ig - ii - ik - ilo - io - is - it - iu - ja - jbo - jv - ka - kaa - kab - kg - ki - kj - kk - kl - km - kn - ko - kr - ks - ksh - ku - kv - kw - ky - la - lad - lb - lbe - lg - li - lij - lmo - ln - lo - lt - lv - map_bms - mdf - mg - mh - mi - mk - ml - mn - mo - mr - mt - mus - my - myv - mzn - na - nah - nap - nds - nds_nl - ne - new - ng - nl - nn - no - nov - nrm - nv - ny - oc - om - or - os - pa - pag - pam - pap - pdc - pi - pih - pl - pms - ps - pt - qu - quality - rm - rmy - rn - ro - roa_rup - roa_tara - ru - rw - sa - sah - sc - scn - sco - sd - se - sg - sh - si - simple - sk - sl - sm - sn - so - sr - srn - ss - st - stq - su - sv - sw - szl - ta - te - tet - tg - th - ti - tk - tl - tlh - tn - to - tpi - tr - ts - tt - tum - tw - ty - udm - ug - uk - ur - uz - ve - vec - vi - vls - vo - wa - war - wo - wuu - xal - xh - yi - yo - za - zea - zh - zh_classical - zh_min_nan - zh_yue - zu -