Misc Links
Forum Archive
News Archive
File DB



Latest Forum Topics
wow 56 k modems are
Posted by Red Squirrel
on Oct 14 2013, 11:52:23 pm

I Need A Program
Posted by rovingcowboy
on Sep 23 2013, 5:37:59 pm

having trouble witn lan
Posted by rovingcowboy
on Sep 23 2013, 5:40:56 pm

new problem for me
Posted by rovingcowboy
on Sep 23 2013, 5:54:09 pm

RBC Royal Bank
Posted by Red Squirrel
on Aug 13 2013, 6:48:08 pm


Image Format Breakdown
Bmp vs Jpg vs gif vs png comparison
By Red Squirrel

We'll compare the file sizes of the same photo to see which format is better to use for photos. The efficiency is based on the average file size of all 4 divided by the file size times 100. The bigger the percentage, the more efficient the format is for that particular dimension. The test images were not compressed.

test subject
This is the image used for all 3 dimensions tested

800*600 Photo
Format Size Efficiency
BMP (24bit) 1402.88KB 63.10%
JPG (24bit uncompressed) 632.00KB 140.06%
GIF (256 colors) 400.00KB 221.30%
PNG (24bit) 1105.92KB 80.042%
Average size 885.2KB 100.00%

400*300 Photo
Format Size Efficiency
BMP (24bit) 351KB 65.74%
JPG (24bit uncompressed) 184.00KB 125.41%
GIF (256 colors) 107.00KB 215.65%
PNG (24bit) 281.00KB 82.12%
Average size 230.75KB 100.00%

150*113 Photo
Format Size Efficiency
BMP (24bit) 49.90KB 71.90%
JPG (24bit uncompressed) 42.70KB 84.03%
GIF (256 colors) 14.60KB 245.75%
PNG (24bit) 36.30KB 98.84%
Average size 35.88KB 100.00%

In conclusion to these stats, JPG is most likely the best format to go with for pictures. JPG can also be compressed to be even smaller, while only loosing a small noticeable amount of data (at about 80% quality). GIF and PNG are better for small photos then big ones. We'll now take a look at a less complex image to see if the most efficient file type is still JPG for images with few colors.

test subject
This is the image used for all 3 dimensions tested

800*600 Simple Image
Format Size Efficiency
BMP (24bit) 1402.88KB 25.58%
JPG (24bit uncompressed) 15.20KB 2360.79%
GIF (11 colors) 5.16KB 6954.26%
PNG (24bit) 12.10KB 2965.62%
Average size 358.84KB 100.00%

400*300 Simple Image
Format Size Efficiency
BMP (24bit) 351KB 26.19%
JPG (24bit uncompressed) 9.62KB 953.37%
GIF (11 colors) 2.36KB 3886.02%
PNG (24bit) 3.84KB 2388.28%
Average size 91.71KB 100.00%

150*113 Simple Image
Format Size Efficiency
BMP (24bit) 50.3KB 30.28%
JPG (24bit uncompressed) 8.6KB 177.09%
GIF (11 colors) 0.97KB 1570.10%
PNG (24bit) 1.06KB 1436.79%
Average size 15.23KB 100.00%

These stats show that GIF and PNG is the best way to go for small and simple graphics, such layout images. You will notice how BMP is not efficient at all for large images, whether they are complicated or not, because there is no compression at all or any encoding that is based on complexity (such as GIF interlacing which goes by similar lines). GIF will most likely always be the most efficient, because even in high color photos, it will cut down the number of colors to 256 But the problem is quality, so uncompressed JPG which is not that far behind, is a better solution. So JPG is much better for photos while PNG is better for layout images. BMP is simply out of the question unless it is required such as if you need to import it in your compiler when compiling a GUI application. (most of the time BMP is the only possible way)

On the next page we'll take a look at JPG compression.

Next Page
26423 Hits Pages: [1] [2] [3] 10 Comments

Latest comments (newest first)
Posted by Red Squirrel on December 12nd 2005 (16:28)
Seems to work at my end. (typical tech support line)
Posted by glennsharrock on December 12nd 2005 (06:28)
the image of the Squirrel seems to be missing (I would very much like to see the image in which the results were made)
Posted by rovingcowboy on November 11th 2004 (15:50)
are you tired of me coming to this site red? you seem to not like it that i use I.E.
most the time.


even though everything you say don't work in ie seems to work in my copy of it? cool.gif

i have not tryed transperent png's yet but everything else works.?

when it has not crashed that is em320.gif

Posted by Red Squirrel on November 11th 2004 (16:33)
JPEG 2000? Never heard of those. I can maybe do some research. Are they even supported by most browsers? It would definatly be nice to see IE support those but meanwhile... just screw IE. laugh.gif
Posted by Red Squirrel on November 11th 2004 (16:41)
LOL I'll have to check if they have volume discounts. laugh.gif
View all comments
Post comment

Top Articles Latest Articles
- What are .bin files for? (669062 reads)
- Text searching in linux with grep (161180 reads)
- Big Brother and Ndisuio.sys (150471 reads)
- PSP User's Guide (139547 reads)
- SPFDisk (Special Fdisk) Partition Manager (117240 reads)
- How to Use MDADM Linux Raid (188 reads)
- What is Cloud Computing? (1225 reads)
- Dynamic Forum Signatures (version 2) (8769 reads)
- Successfully Hacking your iPhone or iTouch (18714 reads)
- Ultima Online Newbie Guide (35906 reads)
corner image

This site best viewed in a W3C standard browser at 800*600 or higher
Site design by Red Squirrel | Contact
© Copyright 2020 Ryan Auclair/IceTeks, All rights reserved