PNG Image Format VS GIF and JPEG Formats
Published: July 21, 2009


The GIF, PNG, and JPEG formats are the most commonly used file formats on the World Wide Web today.

The PNG format (Portable Network Graphics) was developed in 1995 to replace the GIF (Graphics Interchange Format) format for two reasons.  The first reason is that the GIF format is patented and developers using software implementing this format would be subject to royalties.  The PNG format doesn’t have any patent so it can be read and written by software developers and webmasters without having to pay any royalties. The second reason is that a GIF image can only be saved as an 8 bit image, which basically means you are restricted to just 256 colours.  PNG can be saved as an 8 bit, 24 bit - up to 64 bit!  Also, PNG supports a much higher level of transparency whereas GIF images only allow one out of the 256 colours to be fully transparent.

A very popular feature of the PNG format that wins over a lot of folks is the alpha channel.  A PNG image with the alpha channel feature is able to achieve 256 levels of transparency which means you can antialias text and images to allow sharp curves to look good against a changing background – drop shadows will fade nicely into the background, and any image can be created to take any shape or form.

From the standpoint of the graphic artist, the GIF and PNG format is very much the same – both use loss-less compression which means that once the image is saved there is no further decrease in the image quality or sharpness.  This allows you to decompress, edit and recompress the image without degradation of image quality.  However, benefits that PNG have over the GIF format is that PNG, in almost every case, compresses more efficiently and will be up to 20% smaller than a GIF file.

Another winning feature of the PNG format is its ability to adjust gamma based on the monitor settings.  An image can be viewed the way it was intended to be viewed because the PNG format stores the gamma information in an image and the application reading the PNG takes note of that gamma information.

A significant disadvantage of both GIF and PNG formats is that they are not really good at compressing complex, natural images, especially images that come from photographs.  This is where the JPEG format shines.  The JPEG format (Joint Photographic Experts Group) has a more complicated compression and records an image by looking at areas, patterns and colours - the GIF and PNG record images by describing each pixel separately.  With complicated, natural images, the GIF and PNG can take up to 10 times the space of a JPEG which is why the GIF and PNG are usually used for smaller images.  In general, the JPEG is a really good format for compressing natural looking images into a very small size.  Because a JPEG’s compression is so complex and it is not a perfect compression format – slight imperfections can arise in the decompressed image if used incorrectly.  Examples of these imperfections are blurring around text and flat areas of colour.  Other disadvantages to the JPEG format are that it is unable to include transparent areas and the image quality degrades each time a JPEG is resaved.

A general rule of thumb is to use the PNG and GIF format for basic images with limited numbers of solid, sharp areas of colour – basic images like logos, text, graphs, headings, buttons etc.  Start using PNG over the GIF format as PNG has a lot more benefits and is now widely supported on the web.  For complex, natural images like photographs, the JPEG format is your best bet.

About the Author
Anna Agnew is an author for The Computer Geek Custom Web Page Design. The Computer Geek is a web design company that prides itself in professional service at a fraction of the cost. The Computer Geek specializes in Custom Web Design, PHP & MySql and Ecommerce.

Customer Reviews:

Computer Geek Custom Website Development and Design Company">
We were in a pinch and needed a new website built
We were in a pinch and needed a new website built fast. We stumbled upon The Computer Geek and reached out to them for a consultation. After the first call we felt it was a no brainier to go with them to build our site. The professionalism was second to none. Rich and his team built our new site with lightning speed and provided exceptional communication. We love the new website! Thank you for your professionalism, amazing communication, and always going above and beyond for us. We look forward to working with you in the future.
Published:
Keith BERARD
keith.berard@gmail.com
Computer Geek Custom Website Development and Design Company">
heck.. I sell car parts.. make special car parts v
heck.. I sell car parts.. make special car parts very, very well...... BUT.. I'm pretty bad when it comes to being a computer guy.. I just don't know.. don't have the time.... and till now our oscommerce sites were increasingly not really being maintained.. I NEEDED HELP.. BUT . WHO DO YOU TRUST..?? Somehow I found Rich.. MY ADVICE is don't look around.. get onto Rich.. be polite.. his bills are ok.. and his service excellent. 5 star.
Published:
Dave Clee
pwdistribution@gmail.com
Computer Geek Custom Website Development and Design Company">
I do not often write reviews however I felt I shou
I do not often write reviews however I felt I should with Computer Geek. I have a fair knowledge of servers and php code that I have built up since 2003. I had spent some days trying to get a new bit of stock control software to work. Having narrowed down what was causing the problem and with a few alterations managed to bring the entire site down. I am laughing about it now but 20 minutes ago I was almost sick. Having spent an hour trying to fix it or undo the damage with no success, I contacted Richard and within 2 minutes the site was up and running and within 10 minutes the bit of software I had been trying to get to work now works. Thank you again Richard
Published:
James ORourke
sales@earth-systems.co.uk
Computer Geek Custom Website Development and Design Company">
Due to the positive experience we had with Mr. Ric
Due to the positive experience we had with Mr. Rich Agnew project manager, I am writing this unsolicited strong recommendation on behalf of Mr. Rich Agnew who is a project manager at The Computer Geek Company. It is a genuine pleasure to write this unsolicited letter for Mr. Rich Agnew, who is an exceptional and talented person who has repeatedly helped us with our website that stop working with Go Daddy. Before meeting and talking to Rich Agnew, we had a horrible experience with trying to find assistance in repairing our website. No one would help, they wanted to rebuild the entire website for thousands of dollars, their estimate of costs was so unreasonable we were just going to shut down the website, we felt we could not trust anyone because of what seemed to us was smoke and mirrors, and a lack of follow-up on calling us back. Despite not knowing Mr. Rich Agnew for only a brief time, I can firmly say in all the 40 years of my practice, Rich has been consistently trustworthy with his judgment and exceptionally speedy with the completion of the project. I feel I can apply a reliable yardstick in assessing Rich, especially since I was a Professor in the Doctoral Program at Nova University School of Professional Psychology for over 12 years. I have published over 40 scientific articles, written a book, have been in practice for over 40 years as a licensed psychologist in the state Florida, I have been a member of over 15 insurance networks in which I specialize in the treatment of children, adults, seniors and cancer patients. Finally, at the age of 69 you can imagine how many issues I have dealt with in my life and homes. Rich is the first project manager I have ever written an unsolicited letter of recommendation. In our transactions with Rich Agnew, he has always impressed us with his expertise, competence, and his handling difficult problems. He provided all the options, recommended the best option, and carried through the project better than we expected; this is extremely rare in our society. He is mature, handled all the computer and website problems, he is dedication and has excellent corporate skills; he is caring and has an exceptional high ethical standard. I may regret ever saying all this because then he will be moved. I highly recommend Rich Agnew without any reservations. Furthermore, I know we will be contacting him yet again because of his superb excellence and honesty.
Published:
Grant A. Killian, Ph.D.
grant@killianphd.com
Computer Geek Custom Website Development and Design Company">
"Rich responded to my chat inquiry and answered my
"Rich responded to my chat inquiry and answered my phone call immediately and had the move completed by the time i got back from lunch. Hands down the best experience I've had with a service provider and I won't bother looking anywhere else when my company needs this kind of help in the future."
Published:
Darrin Wenstrand
darrin@tpai.com
Computer Geek Custom Website Development and Design Company">
The Computer Geek team got my website up and runni
The Computer Geek team got my website up and running again within just a few hours. I was dead in the water and on a time constraint. Not knowing where to turn, I luckily found this great team and they solved my problem! Thank you guys!
Published:
Robert Alvarado
rwalvo@gmail.com
Computer Geek Custom Website Development and Design Company">
I had an issue with my website's php code (whateve
I had an issue with my website's php code (whatever that is) ??. I also needed to update my php without crashing it. I had no idea who to turn to and feared an expensive price. Somehow, I found the computer-geek. It was fixed and updated in no time without draining my wallet. I am very pleased with the service and will certainly be recommending these guys and using them again for sure!
Published:
Pat Studstill
pat.studstill@gmail.com
Computer Geek Custom Website Development and Design Company">
Great service, received a response within minutes.
Great service, received a response within minutes. Problem solved next day! Prices are reasonable. Very happy! Thank you Rich.
Published:
Shady Azer
shadya@concordeworldwide.com
Computer Geek Custom Website Development and Design Company">
The computer geeks are gifted editors who strives
The computer geeks are gifted editors who strives to add excellence into all the work they do. They have worked with me on a pitch project for my comic book and I re-hired them to work with me on a feature film, CRY. The film genre was found footage so editing was a serious undertaking in order to change the film from watchable to enjoyable. They were patient with re-edits, fair and professional in their invoices, and added their own unique take on the film's final look. I would hire them again, in fact I plan on doing so in the near future.
Published:
Octavius Ra
r@orapictures.com
Computer Geek Custom Website Development and Design Company">
Rich, you're the best! You kept this about the pro
Rich, you're the best! You kept this about the project, not the $$$. Your price was extremely fair. My site was down-for-the-count; and you got it back up within one hour of my initial call. I hope I don't come off racist, but it was great to hear someone who can speak english on the other end of my call. You understood my dilemma and fixed it! I'm keeping your number, buddy! Thanks again.
Published:
George Busateri
gbusateri@att.net
[Read More Testimonials Here]

Latest Website Related Articles

How to Start my Computer in Safe Mode?

Published: April 6, 2020
Starting up your computer in safe mode is a great way to troubleshoot if you're having problems upgrading, installing software or even turning your computer on. But first, what is safe mode? Safe mode is an alternative way for your computer to ...[Read More]

 

How to Turn Off Google Instant Search?

Published: March 22, 2020
Google instant search is a classic part of the Google experience. We've all had our fun typing in half of a sentence and seeing how Google results fill it out. But for some, the Google instant search feature isn't any help at all. What is Go...[Read More]

 


Here are some links to related topics:
 zen cart master,   geotab consultant,   webmaster websites,   just host hacked,   startlogic hacked,   opencart hacked,  


Site Secured By The Website Guardian