AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Bitmap graphics examples8/4/2023 ![]() Some of the cons of vector graphics include: They can be edited easily, with the ability to move, resize, and manipulate individual elements of the image.They are typically smaller in file size than raster graphics.They can be scaled to any size without losing resolution.Some of the pros of vector graphics include: Raster graphics, on the other hand, can become pixelated or blurry when they are scaled up. This means that you can create a vector graphic at a small size and then scale it up to a larger size without it becoming pixelated or blurry. Vector graphics are generally better for creating layouts because they can be scaled to any size without losing resolution. Vector images are made up of lines and curves that are defined by mathematical algorithms, while bitmap images are made up of a grid of pixels. (For more information about logical color-palettes, see Colors.Vector and bitmap (also called raster) images are two different types of digital images. A 16-color palette requires 4-bit indexes therefore, the array that maps palette colors to pixel colors is composed of 4-bit indexes as well. ![]() In the preceding example, the rectangle of pixels was created on a VGA display device using a palette of 16 colors. It shows a palette array, a 32-by-32 pixel rectangle, and the index array that maps colors from the palette to pixels in the rectangle. The following illustration shows the developer's perspective of the bitmap found in the file Redbrick.bmp. The system creates the selected background pattern by repeatedly drawing a 32-by-32 pixel pattern on the desktop. When you select a background (or wallpaper) for your desktop, you actually select a bitmap, which the system uses to paint the desktop background. Thus, a 256-color bitmap requires 8 bpp (2^8 = 256).Ĭontrol Panel applications are examples of applications that use bitmaps. The number of colors that can be displayed by a bitmap is equal to two raised to the number of bits per pixel. Monochrome images have a ratio of 1 bit per pixel (bpp). In an image, each pixel corresponds to one or more bits in a bitmap. Bitmap images can be either monochrome or color.
0 Comments
Read More
Leave a Reply. |