We are independent & ad-supported. We may earn a commission for purchases made through our links.
Advertiser Disclosure
Our website is an independent, advertising-supported platform. We provide our content free of charge to our readers, and to keep it that way, we rely on revenue generated through advertisements and affiliate partnerships. This means that when you click on certain links on our site and make a purchase, we may earn a commission. Learn more.
How We Make Money
We sustain our operations through affiliate commissions and advertising. If you click on an affiliate link and make a purchase, we may receive a commission from the merchant at no additional cost to you. We also display advertisements on our website, which help generate revenue to support our work and keep our content free for readers. Our editorial team operates independently of our advertising and affiliate partnerships to ensure that our content remains unbiased and focused on providing you with the best information and recommendations based on thorough research and honest evaluations. To remain transparent, we’ve provided a list of our current affiliate partners here.
Software

Our Promise to you

Founded in 2002, our company has been a trusted resource for readers seeking informative and engaging content. Our dedication to quality remains unwavering—and will never change. We follow a strict editorial policy, ensuring that our content is authored by highly qualified professionals and edited by subject matter experts. This guarantees that everything we publish is objective, accurate, and trustworthy.

Over the years, we've refined our approach to cover a wide range of topics, providing readers with reliable and practical advice to enhance their knowledge and skills. That's why millions of readers turn to us each year. Join us in celebrating the joy of learning, guided by standards you can trust.

What is a Raster Image?

Mary McMahon
By
Updated: May 16, 2024

A raster image, also called a bitmap, is a way to represent digital images. It can be created in a wide variety of formats, including the familiar .gif, .jpg, and .bmp. The image is represented in a series of bits of information that translate into pixels on the screen. These pixels form points of color that create an overall finished image.

When a raster image is created, the image on the screen is converted into pixels. Each pixel is assigned a specific value that determines its color. This format uses the red, green, blue (RGB) color system. An RGB value of 0,0,0 would be black, and the values go all the way through to 256 for each color, allowing the expression of a wide range of values. In photographs with subtle shading, this can be extremely valuable.

When the image is viewed, the pixels usually smooth out visually for the user, who sees a photograph or drawing. When blown up, however, the individual dots of color become apparent. While this effect is sometimes a deliberate choice on the part of an artist, it is usually not desired. Depending on resolution, some images can be enlarged to very large sizes, while others quickly become difficult to see. The smaller the resolution, the smaller the digital image file, so people who work with computer graphics must find a balance between resolution and image size.

Resolution refers to the number of pixels per inch (PPI) or dots per inch (DPI) in the image. The higher the resolution, the greater the number of pixels, allowing for a greater gradation of color that will translate better as the image is enlarged. Of course, the more pixels, the more individual points of data to be stored, as well. For high quality photography, a high DPI is preferred because the images will look more appealing to the viewer. For small images that do not need to be blown up, or when quality is not important, a low DPI can be used.

The alternative type is the vector image, which uses a mathematical formula to draw a picture. A vector image defines points and the paths that connect them to form a digital representation of the image. Because mathematics can be easily scaled, this type can be enlarged but still have smooth edges. Their use is limited, however, and they are most suitable for typography, line art, and illustrations. A raster image usually remains the best choice for a photograph or shaded drawing.

EasyTechJunkie is dedicated to providing accurate and trustworthy information. We carefully select reputable sources and employ a rigorous fact-checking process to maintain the highest standards. To learn more about our commitment to accuracy, read our editorial process.
Mary McMahon
By Mary McMahon

Ever since she began contributing to the site several years ago, Mary has embraced the exciting challenge of being a EasyTechJunkie researcher and writer. Mary has a liberal arts degree from Goddard College and spends her free time reading, cooking, and exploring the great outdoors.

Discussion Comments
By anon248101 — On Feb 16, 2012

1. Install potrace, put a folder somewhere and navigate to the potrace command, set the path.

a.) Convert bmp to svg; potrace test.bmp --svg

Convert Images to SVG format: potrace -o output.svg input.pgm --svg.

Potrace supports following bitmap as input files: PBM, PGM, PPM, or BMP format.

SVG to raster image: we can convert SVG to raster image using inkscape (Open source SVG graphics editor under the GPL).

Command: inkscape filename.svg --export-png=filename.png

By anon127712 — On Nov 17, 2010

Thanks a lot. Keep up the good work.

By anon76214 — On Apr 09, 2010

thanks for this information. shyam

By anon40663 — On Aug 10, 2009

Is there a way to minimize quality loss (graininess) when I enlarge a raster image?

Is there a way to convert a raster image into a vector and then convert it back to a raster?

By scissaux — On Oct 11, 2007

What does it mean to rasterize an image?

Mary McMahon
Mary McMahon

Ever since she began contributing to the site several years ago, Mary has embraced the exciting challenge of being a...

Learn more
Share
https://www.easytechjunkie.com/what-is-a-raster-image.htm
EasyTechJunkie, in your inbox

Our latest articles, guides, and more, delivered daily.

EasyTechJunkie, in your inbox

Our latest articles, guides, and more, delivered daily.