Raster Graphic

Raster graphics are computer graphics that consist of a grid of pixels, also known as a bitmap. Most images on the Internet and your computer are raster graphics. They are one of the two primary image types for computer graphics with vector graphics.

The file size of a raster graphic depends on several variables. The first is a raster graphic's image size, also known as its resolution — the number of pixels it is wide by the number of pixels it is tall. A higher-resolution image has more pixels and thus requires more disk space to store. For example, an image 640 pixels wide by 480 pixels tall consists of 307,200 pixels total, while a larger 3072 x 2048 image requires 6,291,456 pixels. A raster graphic's file size also depends on its color depth — how many bits of data each pixel requires. An image with 8 bits of color depth can only display 256 colors. An image with 24 bits of color depth uses three times as much data but can use more than 16 million colors.

Since raster graphics consist of a grid of pixels, resizing one to change its resolution will necessarily change the contents of those pixels. Shrinking one down requires the data from multiple pixels to be combined, causing fine details to be lost. Scaling one up requires creating new data between the existing pixels, which can result in an image that's either blurry or blocky.

NOTE: There are many file formats used for raster graphics, some of which include image compression to reduce file size. For example, a large bitmap image saved in the lossy JPEG format will have a smaller file size than the same bitmap image saved as a losslessly-compressed PNG file, which in turn will be smaller than that image saved as an uncompressed BMP file.

Updated January 3, 2023 by Brian P.

quizTest Your Knowledge

Which of the following technologies is designed to protect copyrighted media?

A
MCA
0%
B
DRM
0%
C
VPN
0%
D
OSD
0%
Correct! Incorrect!     View the DRM definition.
More Quizzes →

The Tech Terms Computer Dictionary

The definition of Raster Graphic on this page is an original definition written by the TechTerms.com team. If you would like to reference this page or cite this definition, please use the green citation links above.

The goal of TechTerms.com is to explain computer terminology in a way that is easy to understand. We strive for simplicity and accuracy with every definition we publish. If you have feedback about this definition or would like to suggest a new technical term, please contact us.

Sign up for the free TechTerms Newsletter

How often would you like to receive an email?

You can unsubscribe or change your frequency setting at any time using the links available in each email.

Questions? Please contact us.