• Want to help us with this year's BoS Trials?
    Let us know before 30 June. See this thread for details
  • Looking for HSC notes and resources?
    Check out our Notes & Resources page

Working out image size ?? ?? (1 Viewer)

barnsey88

New Member
Joined
Mar 29, 2004
Messages
29
Gender
Male
HSC
2005
How do you work out the image size, taking into account pixels etc. Is there like a table you need to know?

thanks
 

gman03

Active Member
Joined
Feb 7, 2004
Messages
1,283
Gender
Male
HSC
2003
barnsey88 said:
How do you work out the image size, taking into account pixels etc. Is there like a table you need to know?

thanks
From memory for IPT they should tell you the bytes per pixel in the scenario and any additional bytes for header etc. You should know the formula rather than a table.

Of course, that's 3 years old information about IPT. I am not aware of any syllabus changes since 2002.
 

Lwaxana

Betazed Ambassador
Joined
Oct 16, 2002
Messages
430
Location
in a galaxy far far away
Gender
Female
HSC
N/A
The "table" you are thinking of is the relationship between Number of colours or tones and bit depth.

colours = 16 ........ 2^4 = 16 ......... bit depth = 4
colours = 64 ........ 2^6 = 64 ........ bit depth = 6
colours = 256 ...... 2^8 = 256 ...... bit depth = 8

The "formula" is = horizontal pixel x Vertical pixel x bit depth
.....................................................8 x 1024

to give you file size in kb

so graphic with 256 colours (or 8 bits) with resolution of 1024 x 800

file size = 1024 x 800 x 8
........................8 x 1024

file size = 800 kb [remember in exam no calculators allowed]
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Top