creating pixels using graphics

15
.

Upload: rahul-maddineni

Post on 12-Jul-2015

153 views

Category:

Education


0 download

TRANSCRIPT

Page 1: Creating pixels using graphics

.

Page 2: Creating pixels using graphics

What is a pixel?

A pixel is the smallest visual element on a video display screen.

The pixel (a word invented from "picture element") is the basic unit of programmable color on a computer display or in a computer image.

Page 3: Creating pixels using graphics

.

The shape of a pixel is rectangle.

Think of it as a logical - rather than a physical - unit.

The physical size of a pixel depends on how you've set the resolution for the display screen.

Usually we are using high resolution screen so the pixel size is very very small.

Pixels can be available in different colors.

Page 4: Creating pixels using graphics

Pixel appears on the screen..:The specific color that a pixel describes is

some blend of three components of the color spectrum – RGB (Red,Green,Blue). The intensity of each pixel is variable; in color systems, each pixel has typically three or four dimensions of variability such as red, green and blue, or cyan, magenta, yellow and black.

Page 5: Creating pixels using graphics

.

Pixel Resolution can is set of two positive integer numbers, where the first number is the number of pixel columns (width) and the second is the number of pixel rows (height), for example as 640 by 480.

At present different types of resolution screens are available in the market.

The highest Resolution is 1360 by 768.

Page 6: Creating pixels using graphics

Generating of pixels:pixels can be generated by CRT(cathode ray

tubes) in two diff techniques:

1. Beam-penetration method

2. Shadow-mask method

Page 7: Creating pixels using graphics

Beam-penetration method: In this method the red, green and blue

phosphorus are coated in layers - one behind the other.

If a low speed beam strikes the CRT, only the red colored phosphorus is activated, a slightly accelerated beam would activate both red and green (because it can penetrate deeper) and a much more activated one would add the blue component also.

Page 8: Creating pixels using graphics

Shadow mask method:This works, on the principle of combining

the basic colors - Red, green and Blue - in suitable proportions to get a combination of different colors.

But it's principle is much more sophisticated and stable than beam penetration method.

Page 9: Creating pixels using graphics

.

The shadow mask CRT, instead of using one electron gun, uses 3 different guns placed one by the side of the other to form a triangle or a "Delta.”

Page 10: Creating pixels using graphics

Shadow mask CRT:

Page 11: Creating pixels using graphics

Example :

Page 12: Creating pixels using graphics

Requirements: Operating system: windows

Ram: above 512 mb

Software: Turbo c or dosbox

Graphics: C graphics

Page 13: Creating pixels using graphics
Page 14: Creating pixels using graphics

Batch No:14

V. Bala venu 11003235

M.Rahul 11003275

T.Srikanth 11003297

N.Sri ram 11003298

Page 15: Creating pixels using graphics