8525 Unit 3 Flashcards
Why computers use binary
Computers only understand 2 states: power on and power off
Represented by switches
Bits, bytes, KB, etc
1 byte = 8 bits = 1 character of text
1 kB = 1000 bytes
1 MB = 1000 kB or 10^6 bytes
1 GB = 1000 MB
1 TB = 1000 GB
2 major character sets used today
ASCII - 7/8 bit
Unicode - 16/32
Bitmap image file formats:
BMP
JPG
GIF
PNG
TIFF
Vector image file format
SVG
What is a pixel
A pixel is the smallest identifiable area of an image
Each pixel is a single colour and is given a binary value with represents that colour
Image resolution
Resolution is the concentration of pixels within a specific area
The area is defined by the image width and height in pixels e.g 1920 x 1080
Creating an image with binary values
Each value represents a different colour
1 bit - 2 colours
2 bit - 4 colours
3 bit - 8 colours
What type of compression do images mainly use
Lossy
How does the number colours affect file size
An increase in the number of colours that are used in an image (the bit depth) will increase the file size
How does the size of the image affect file size
An increase in number of pixels in the image will increase the file size
If an image’s physical size is increased by making each pixel larger then there is no change in the file size
PBM monochrome images
Portable bitmap images
0 for white and 1 for black
Image dimensions are given in the first row
Image data is then given after
Calculating image size
Size in bits = width x height x colour depth
Size in bytes = width x height x colour depth / 8
Metadata
Data about data
In terms of images: colour depth, resolution, date created, author
Analogue to digital converters
Sounds converted into a digital form in order to be stored and processed by a computer
Analogue to digital—converts inputs to digital signals
Digital to audio—is used to convert digital signals to outputs