In article <133nicmbmt4e16f RemoveThis @news.supernews.com>,
Jim Townsend <not RemoveThis @real.address> wrote:
> Tom - Chicago wrote:
>
> > OK - this may be a much asked/answered question - but I searched and
> > couldn't find an answer.
> >
> > I just went from a pocket digicam to a Nikon D40x - and if I am taking
> > pictures at the highest resolution setting - what size files should I
> > expect. (Note - not trying to start a flame war, but I am shooting in
> > jpg mode by choice.)
> >
> > Over a couple hundred shots I see file sizes ranging from 3.0 to 5.0
> > MP. Does that seem right? I expected to see larger file sizes.
>
>
> In 8 bit JPEG format, it takes 3 bytes to represent one pixel. So
> your 10 Megapixel camera makes IMAGES that are around 30 Megabytes.
>
> JPEG uses highly efficient lossey compression. When your 30 Megabyte
> IMAGES are stored as FILES, the 30 Megabytes gets squeezed down to
> 3 - 5 Megabytes. Images with high detail don't compress as well as
> lower detail images, so they are bigger.
>
> Your 3 MB FILES get uncompressed back to 30 Megabyte IMAGES when you
> open them to view or edit. To prove this, open an image in your favourite
> editor and then use 'save as' to save it in an uncompressed format like TIFF.
>
> You'll see your images are really are 30 Megabytes.... It's the efficiency
> of the JPEG compression that makes them as small as they are.
JPEG isn't 3 bytes per pixel. There's one byte of luminance per pixel
but the color saturation and color hue are almost always downsampled to
smaller bitmaps. Not needing 3 bytes per pixel is the first step of the
compression. The second step is converting the bitmaps to frequency
data and discarding frequencies that contribute little to the
appearance. The third step is simple loss-less compression.
Most RAW files aren't 3 bytes per pixel either. They're usually 12 bits
per pixel with each pixel corresponding to one of three colors. The
exact format depends on how the sensor is built. The RAW file goes
through simple loss-less compression.
>> Stay informed about: File Size Question