Data representation-graphics Flashcards
(33 cards)
what is the definition of a pixel?
The smallest addressable area or the smallest block of colour in an image
A picture element
What is a bitmap?
When the pixels of an image are mapped to positions in the memory which store the colour of that pixel in binary code
What is the resolution of a VDU screen?
The number of pixels per row x number of pixels per column
What is the resolution of an image?
The number of pixels per centimetre
can be measured differently for VDUs
What are three typical resolutions of a VDU screen?
1024 x 798
800 x 600
640 x 480
What is the definition of colour depth?
The number of bits used to represent the colour of a single pixel in a bitmapped image
What is the RGB colour model for changing the colour of a pixel?
red, green and blue are set at different light levels to combine to make a range of different colours
How do you make white and black in the RGB colour model?
white=all colours set to 100%
black=all colours set to 0%
What is the name for a black and white image?
monochrome
Ina black and white image, how many bits are used per pixel?
one
1=white, 0=black
What is 12 bit direct colour?
4 bits (16 possible values) are given to each of the red, blue and green components
When is 12 bit direct colour sometimes used?
Devices with limited colour display
e.g. mobile phones
What is true colour?
8 bits (256 possible values) are used to represent each colour component called true colour because it approaches the level at which the human eye can distinguish colours
What is 32 bit colour?
Essentially true colour with an extre 8 bits
The extra bits are either ignored or used to represent an alpha channel (providing partial transparency)
Why does 32 bit colour use 32 bits?
The word size of most modern PCs is 32 or 64 bit
What is the size of a bitmap in bytes?
The size of the image in pixels multiplied by the colour depth of the image in bytes
How are vector graphics different from bitmaps?
It records information about geometric and other objects which make up an image
What is a graphic vector object?
A graphic component in a vector graphic such as a line or circle
What is a drawing list?
The list of drawing commands used to recreate a vector graphic
How is a line described in a vector graphic?
line (x,y,x,y,colour,width) draws from (x,y) to (x,y)
How is a circle described in a vector graphic?
circle (x,y,r,fill colour,filled, border colour)
How is a rectngle described in vector graphics?
rect (x,y,x,y,fill colour,filled,border colour)
draws from top left to bottom right
Give examples of properties for components in a vector graphic
size, direction, thickness, shading, font size, typeface, fill colour, border colour, mathematical description of curves etc
What happens when a bitmapped image is scaled up?
The number of pixels remains the sam, they just enlarge, leading to them becoming visible and causing distortion