computer systems n.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
Computer Systems PowerPoint Presentation
Download Presentation
Computer Systems

Loading in 2 Seconds...

play fullscreen
1 / 10

Computer Systems - PowerPoint PPT Presentation


  • 66 Views
  • Uploaded on

Computer Systems. Nat 4.5 Computing Science Data Representation Lesson 4: Storing Graphics EXTENSION. Data Representation Computing Science. Bitmap and Vector Graphics. National 5. Colour Bitmaps. The colour bitmap method is exactly the same as for black and white with one difference.

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'Computer Systems' - nitara


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
computer systems

Computer Systems

Nat 4.5 Computing Science

Data Representation

Lesson 4:

Storing Graphics EXTENSION

data representation computing science
Data RepresentationComputing Science

Bitmap and Vector Graphics

colour bitmaps
National 5Colour Bitmaps
  • The colour bitmap method is exactly the same as for black and white with one difference.
    • Each pixel is not black and white but can represent a variety if colours.
colour bitmaps1
National 5Colour Bitmaps
  • Each pixel has a binary value representing the colour. The amount of colours is known as the bit depth.
    • So an image with 8 bit colour depth could have 256 Colours
    • True Colour is defined as an image with 24bit colour depth. 16,777,216 colours!
true colour
National 5True Colour
  • True Colour is defined as an image with 24bit bit depth.
    • This means that 16,777,216 colourscan be represented.
  • The colour code for each pixel is constructed of a single 8 bit number for each of the main 3 additive colours.
    • Red, greenandblue

RGB Colour Codes

storage space example
National 5Storage Space Example

A true colour image is 800 pixels by 900 pixels.

Calculate the storage requirements and express the answer in appropriate units

  • .
  • Step 1: (Length x Breadth) * bit depth
    • (800 * 900) * 24bits = 17,280,000 bits
  • Step 2: Convert into appropriate units
    • 17,280,000/8 = 2,160,000 bytes
    • 2,160,000 bytes /1024 = 2,109.375 Kb
    • 2,109.375 Kb/1024 = 2.06 Mb
alternate storage space example
National 5Alternate Storage Space Example
  • Sometimes you will be given the size and the resolution of the image.
  • One way in which this can be measured is dpi
    • Dots per inch is the amount of pixels in an inch.
    • A 16bit colour image is 4 inches by 6 inches with a resolution of 300dpi.
  • Step 1: ((Length x dpi) x (Breadth x dpi)) * bit depth
    • ((4*300) * (6*300))* 16 = 2,160,000 pixels
  • Step 2: number of pixels * bit depth
    • 2,160,000 * 16 = 34,560,000 bits
  • Step 2: Convert into appropriate units
    • 34,560,000 /8 = 34,560,000 bytes
    • 34,560,000 bytes /1024/1024 = 4.119 Mb
bitmap graphics pros and cons

National 5

Bitmap Graphics – Pros and Cons

Advantages

Disadvantages

Requires large storage space

Image becomes jagged when scaled

  • Can be manipulated at pixel level
  • Can create a wide array of graphic effects
  • Can represent photo-realistic images
vector graphics pros and cons

National 5

Vector Graphics – Pros and Cons

Advantages

Disadvantages

Cannot be edited at pixel level

Cannot show photo realistic scenes

Will usually require particular applications to open

  • Do not lose quality when scaled
  • Require less storage space
  • Objects are easily moved/manipulated
  • Resolution independent