Questions tagged [bitmap-graphics]
10 questions
22
votes
3 answers
Performance of vector graphics versus bitmap or raster graphics
Sometimes I use vector graphics, simply because they look just slightly nicer in some cases, and other times, I use bitmap/raster graphics.
I was wondering, are there any significant performance differences between these two options?
Ethan Bierlein
- 437
- 4
- 13
10
votes
2 answers
Fundamentally, how are 2D bitmaps rendered?
Suppose we have a 64-bit word-addressable computer and we want to program it to output a 5x7 character stored as a binary image bitmap (such as the one below) to a memory-mapped display.
Since we have 5 x 7 = 35 pixels per character, we could…
user1735
- 101
- 3
6
votes
1 answer
Bitmap-images or SVG
I'd like to create a GUI in my first Unity-game (2D). I want my GUI appear sharp in all resolutions (e.g. 1920x1200 or 3840x2160).
The problem I am facing now is that I don't know if I should save my bitmap-images of my GUI in the highest resolution…
drpelz
- 163
- 4
6
votes
4 answers
Algorithms to "anti-alias" (or somehow improve) binary 1-bit drawings and fonts
These days anti-aliasing uses gray scale pixel values on displays with high pixel counts.
I'd like to take a step back in time and learn what is available for anti-aliasting or at least improving the quality of curved lines and fonts drawn on…
uhoh
- 330
- 1
- 12
4
votes
2 answers
How do I create my own bitmap using a text editor?
I'm a Computer Science student who's been getting into bitmaps & pixmaps recently. I clearly understand what pixmaps do. A pixmap, as I understand, defines each pixel individually. So, maybe I could write a pixmap filelike this:
255,0,0 0,255,0…
moonman239
- 141
- 1
- 4
2
votes
1 answer
Problem with Corrupted Pixel/color data on bitmap image in Raytracer
I'm following this book, Computer Graphics from scratch: A programmer's introduction to 3D rendering, to build a simple raytracer and rendering the scene to a bitmap image. I've run into a problem when doing the recursive reflections. When the…
JayDee17
- 21
- 3
1
vote
0 answers
Turning colorized comic-art into uncolorized monochrome (line-art-inks-only B&W), not just very-light-grayscale
I'm trying to figure out how to go about removing the "colorization" of comic/cartoon/manga/etc drawn-art inputs where the black-ink strokes ("the line-art") are to be retained against (near-perfectly-)white "background" — but also in a smooth…
Phil S.
- 11
- 2
1
vote
2 answers
How bits transformed into graphics?
recently i started studying computer science and computer graphics, and one question really haunts me. Mby someone can explain this.
How bit patterns become translated into (for example ) text.
I know we have encoding like ascii and unicode but this…
Artyom Vorontsov
- 11
- 1
1
vote
1 answer
Algorithm for thinning a thick line
I'm trying to reduce a thick line, in raster space, down to a thin line, preferably one pixel wide (or thick).
Does anybody know of an algorithm that can do this?
Imagine you draw with a marker on a piece of paper, scribbling here and there. Then…
Magmatic
- 111
- 1
0
votes
0 answers
Animated bitmaps with 2 colours only
I want to create an animated GIF, but instead of 8-bit 256 colours, my data is comprised of binary bitmaps of black/white pixels.
Can GIF accommodate this, or are pixels in GIF always 8-bit indices?
I need the resulting GIF to be small in size, so I…
Bram
- 260
- 1
- 5