Computing question

Associate
Joined
8 Feb 2008
Posts
1,362
Location
Edinburgh
Some guy wants to make some copies of photographs. He intends to use a scanner to capture the photographs and an ink jet printer to print the images.

A scanner i set to a resolution of 1200dpi using 24 bit colour depth and the photographs are 6 inches by 8 inches. Calculate the uncompressed size of the file. Express your answer in appropriate units.​



The answer is supposed to be 197.8 MB but I'm struggling to work out how you'd get there.

I was thinking it was something like 1200 * (6*8) * 24

then dividing by 8 and then 1024 and 1024 again to get it in MBs, but I don't get the 197.8 MBs that's in the answers.

I know I'm missing something simple out so any help much appreciated :s
 
I am also confused by this. I would have done what you put. ((1200x24)x48) and then convert from bits to bytes (divide by 8). I get about 172KB
 
8 inches * 1200dpi * 6 inches * 1200dpi as the dpi scale is linear. It's not dots per square inch.

Then multiply by 24.

Then divide by 8 to get the answer in bytes.

then divide by 1024^2 to get the answer in Mb.

this gives you 197.8Mb.

However, this is a badly worded question. It should be stated that it's only a monochrome image. In real life each dot would be stored as 3 colour intensities (RGB) so the uncompressed file size would be 3 times larger.


edit: so to get the answer it's:
8*1200*6*1200*24/(8*1024*1024) = 197.8Mb
 
Last edited:
1200 pixels an inch
48 inches on image
57,600 pixels total
24 bits a pixel
1,382,400 bits total
172,800 bytes
172KB

doesn't sound right.
do we times 3 for RGB?

so the pixels gets trippled

edit, beaten like a ginger stepson! that will teach me to make a cuppa while posting!
 
Last edited:
8 inches * 1200dpi * 6 inches * 1200dpi as the dpi scale is linear. It's not dots per square inch.

Then multiply by 24.

Then divide by 8 to get the answer in bytes.

then divide by 1024^2 to get the answer in Mb.

this gives you 197.8Mb.

However, this is a badly worded question. It should be stated that it's only a monochrome image. In real life each dot would be stored as 3 colour intensities (RGB) so the uncompressed file size would be 3 times larger.


edit: so to get the answer it's:
8*1200*6*1200*24/(8*1024*1024) = 197.8Mb


Yes is correct, or at least sounds it. I work in a photolab and taking the size of the image, dpi etc into consideration it sounds roughly right.

Blackvault
 
Last edited:
1200 pixels an inch
48 inches on image
57,600 pixels total
24 bits a pixel
1,382,400 bits total
172,800 bytes
172KB

doesn't sound right.
do we times 3 for RGB?

it is dots per inch not dots per square inch. Therefore for every inch wide there are 1200 pixels and for every inch down there are 1200 pixels - so i worked it out at 9600x7200 resolution. Then multiply this by 24 bits for colour and then divide by whatever that other guy said to convert to MB
 
6x8 image at 1200 dpi gives an image size of 6x1200 by 8x1200 (7200 by 9600 pixels)

7200x9600 = 6912000pixels = 65.918megapixels
Each pixel is stored as 24 bits (ie 3 Bytes) so filesize is 65.918 x 3 MegaBytes
65.918 x 3 = 197.754MB
 
it is dots per inch not dots per square inch. Therefore for every inch wide there are 1200 pixels and for every inch down there are 1200 pixels - so i worked it out at 9600x7200 resolution. Then multiply this by 24 bits for colour and then divide by whatever that other guy said to convert to MB

hmmm interesting if true.
strage how I've never seen a scanner listed at 1200x1200 as 1200DPI.
 
However, this is a badly worded question. It should be stated that it's only a monochrome image. In real life each dot would be stored as 3 colour intensities (RGB) so the uncompressed file size would be 3 times larger.

The image is not monochrome, an rgb24 format means 24-bits are used to represent an rgb colour value, 2^24 = 16.7 million colours. If it was monochrome you would multiply by 2 instead of 24.
 
Hmm, i was always under the impression that images of the same size could be different file sizes, shows how much i know :p, although i would be able to do the copies because i have an 8Gb mem stick that can store ANYTHING!
 
Hmm, i was always under the impression that images of the same size could be different file sizes, shows how much i know :p, although i would be able to do the copies because i have an 8Gb mem stick that can store ANYTHING!

Uncompressed images of a given resolution will always be the same size if the format is the same.
 
Back
Top Bottom