Open In App

What is Raster Graphics?

Last Updated : 23 Nov, 2023
Improve
Improve
Like Article
Like
Save
Share
Report

Computer Images are made up of a bitmap or grid called the “raster graphics” Raster graphics make up the majority of images on the web and on our computer. They are one of the two main picture types used in vector graphics on computers. A raster graphic’s file size relies on a number of factors. The first is the raster graphic’s resolution or the size of the image in terms of pixels.

Basic Terms Related to Raster Graphics

Here the some basic terms of the raster graphics.

  • Pixel: In computer graphics, an actual point in a picture is called a pixel, dot, or image element. Pixels are the smallest addressable units in an image that is shown on a screen. Almost everything we see on computer displays is composed of raster graphics. A selfie taken with your phone is an example of a raster image as well. To make an image, a bitmap, or collection of pixels, is utilized.
  • Bitmap: A bitmap in computer graphics is a mapping between a domain and bits, or values that can only have one or zero values. There are other names for it, such as bit array or bitmap index. More broadly speaking, a “pixmap” is a map of pixels that have more than two colors stored in each pixel, or more than one bit per pixel. For that too, the bitmap is widely employed. The phrase “bitmap” refers to one bit per pixel in certain situations, whereas pixmap is used for images with several bits per pixel.

How Images are Stored in Raster Graphics?

Computer images are generally stored in raster graphics formats, such as GIF, JPEG, and PNG, which are commonly used on the Web. Tessellation of a two-dimensional plane into cells, each containing a single value is the basis of a raster data format. Before the data can be saved in a file, the two-dimensional array must be serialized. A row-major format lists the cells from left to right starting with the ones along the first (often top) row, then the cells along the second row, and so on.

Benefits of Raster Graphics

  • Looks Real: Raster graphics are useful for producing photographs-like images.
  • Used on the Internet: This is the process used to make many of the images you see on the Internet.
  • Easy to Change: A computer may be used to simply modify these photographs.
  • Lots of Colors: A large range of smooth colors are possible for raster graphics.
  • Useful for Web Images: The images you see on websites, social media, and other online platforms are often created using raster graphics. They load quickly and look good on screens.

Three-Dimensional Raster’s

Three-dimensional raster graphics are used.to video games as well as medical imaging devices like MRI scanners.

FAQs on Raster Graphics

1. What is the purpose of raster graphics?

Raster pictures are frequently employed in digital photography, web design, and other fields where a high-resolution image is required. Raster images sometimes appear “blocky” or “pixelated” when they are magnified due to the way they are stored.

2. Where can raster graphics be used?

Digital photographs and print materials work best with raster images. Raster is the preferable format if your project calls for sophisticated color blends but vector is the greatest option if your project calls for scalable forms and solid colors.

3. What is the resolution of raster graphics?

When a high-resolution image is required, raster images are frequently employed in digital photography, web design, and other fields. Raster images may appear “blocky” or “pixelated” when they are magnified because of how they are stored.

4. How raster graphics formed?

Raster images are made up of pixels, or tiny dots, each of which has specific color and tone information. Raster images are resolution-dependent since they are pixel-based.

Conclusion

In the field of computer graphics, raster graphics are essential, especially when it comes to realism and detail. Their uses span from digital painting to photography and design, but it’s important to be aware of their restrictions and think about alternate formats, such vector graphics, where scalability and text clarity are crucial.


Like Article
Suggest improvement
Share your thoughts in the comments

Similar Reads