Quick help needed on these 2 problems.....

MBH_14

New member
Joined
Feb 5, 2005
Messages
20
For some reason, i am having difficulties getting through these problems. Here they are:

1. How many bytes would it take to represent a 480x720 color image if 8-bits are used per pixel per each color component?

2. You have an audio file of a 1-minute song. The song is sampled at 40KHZ with each sample taking 16 bits. What is the size of the audio file?

These are the two. Any help would be greatly appreciated. Thanks!
 
1. How many bytes would it take to represent a 480x720 color image if 8-bits are used per pixel per each color component?

2. You have an audio file of a 1-minute song. The song is sampled at 40KHZ with each sample taking 16 bits. What is the size of the audio file?


MBH,

1) Number of pixels equals 480*720. Number of bits equals 480*720*8. So, how many bits in a byte?

2) One minute equals 60 seconds. 40 kHz means 40,000 cycles per second, means 40,000 samples per second. Therefore, number of bits equals 60*40,000*16.
 
Top