Weeks 3 and 4 Flashcards
how many colours can 2 bits hold
2^2 = 4
if an image is 400 by 300 pixels, and we use 1 byte of colour for each pixel, what is the file size
400x300x1byte = 120000 or 120 kilobytes
1 kilobyte is how many bytes
1000 bytes
is an image is 400 by 50 and uses 1 byte of colour, what is the file size
2000
What is the Subtractive model for colour used for
printing - ink applied to paper
what colours does the subtractive model have
cyan, magenta and yellow
how does the ink work in a subtractive model (in terms of white
ink when applied removes the white
what is the additive model used on
monitors
how does the additive model for colour work
adds light to a black background (unlike subtractive model which removes white by adding colour to the page)
how many colours can True Colour represent
2^24 or around 16 million different colours
2^8 = 256 shades of red
2^8 green
2^8 blue
how many bytes are needed to represent true colour
3 bytes - 1 byte for each colour (rgb)
what are the two ways to represent true colour
RGB - amount of Red, amount of Green, amount of Blue>
uses DECIMAL NUMBER system
and Hexadecimal
<255, 0, 0>
all red no green or blue in rgb true colour
0 in RGB represents
no colour
255 in RGB represents
most colour allowed
<0, 255, 0>
most green rgb true colour
<100,100,100>
middle amounts of rgb - gray
<50, 0, 200>
little red, lot of blue, dark blue
<200, 0, 50>
little blue lot of red
dark red
how is hex colour represented (what digits and format)
#RRGGBB RR are the digit place holders for the amount of red, GG amount of Green, BB amount of Blue Amounts are counted in hexadecimal with these digits: 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F
09 in hex is
9
0B in hex is
11
0F in hex is
15
FF in hex is
16^115+16^015 = 255
NOT 15*15
how to determine hex digits
multiply each digit by 16^(the digit’s placehoder)
FF0000
red
00FF00
green
000000
black
FFFFFF
white
<0,0,0> in hex
<0,0,0> and #000000?
<255,0,255> in hex
and #FF00FF
<66,0,99> in hex
420063
43B390 in rgb
<67,179,144>
0A0F09
<10,15,09>
what is an example of when you need fewer colours
clipart
what is an example of a bitmapped image
an icon (firefox)
how large are icons usually
32x32 pixels
what is interpolation
when the computer adds new pixels and guesses on the colour to colour and the new pixels
when does interpolation happen
when images are enlarged (resampled
what happens to the image itself and the file size when you enlarge an image
it becomes larger file size and the bitmapped edges become jagged and the image becomes distorted
all images from ___ and ___ are bitmapped
scanners and digital cameras
what is another name for bitmapped images
raster graphics
bitmapped images are___ dependent, meaning
resolution dependant meaning that a bitmapped image on a lower resolution screen will appear LARGER than on a higher resolution screen
Bitmapped image on a 640 by 480 screen (lower resolution) appear larger than on a 1280 by 1024 screen (higher resolution)
what are common bitmap formats
BMP (has little compression, makes big files!) GIF JPEG, JPG PNG PICT (Macintosh) PCX TIFF AFPHOTO (Affinity Photo) PSD (Adobe Photoshop)
what are popular bitmap editing tools/software packages
Microsoft Paint Adobe Photoshop Affinity Photo Corel Photo-Paint Corel Paint Shop Pro The Gimp
what is a vector image made up of
individual scalable objects
what are the objects in vector graphics definded by
mathematical equations
objects consist of lines, curves and shapes…
are vector graphics distorted as the image is enlarged?
no
do most browsers display vector graphics?
Most browsers don’t display vector graphics without a plug in
vector graphics can only be used with __ not __
drawings not photographs
what is an example of a file type that is uses vector graphics
do vector graphics have smaller or larger file size than the same img stored as a bitmap?
Usually vector graphic image has a smaller file size than the same image stored as a bitmap.
it is __ to turn a vector into bitmapped and ___ to turn bitmapped into a vector
easy, hard
what are vectors great for
logos because
Can be scaled down for business card
Can be scaled up for a trade show poster
what are some common vector file formats
AI (Adobe Illustrator) CDR (CorelDRAW) CMX (Corel Exchange) CGM Computer Graphics Metafile DXF AutoCAD WMF Windows Metafile EPS (Encapsulated PostScript) PDF
what are popular vector drawing programs/software packages
Adobe Illustrator Affinity Designer CorelDRAW Xara Xtreme Serif DrawPlus
how to calculate the size of an image
Sampling*quantize
Length (px) * width (px) * Colour bit depth(bytes)
total pixels (sampling) *Colour Bit Depth(Quantize)
too many colours/too large a file size will cause what in terms of your webpage
it will take ur webpage too long to load and therefore people might leave right away
1KiloBytes =
1000Bytes (1024 but 1000 for exam)
1 Megabyte =
1000 kilobytes
1 gigabyte =
1000 megabytes
1 terabyte =
1000 gigabytes
what is the byte higherarchy
bit - byte - kilobyte - megabyte - gigabyte - terabyte
When printing in a flyer/ magazine, what matters/ does not matter
file size does not matter
quality of the image matters
what is the smallest dpi at which the image must be printed
300 dpi
for displaying an image in a webpage what is important/not important
file size is important and so is quality but you want to get best quality with smallest file size because bigger file = longer download