Solved

general question about web images

Posted on 2011-09-24
2
272 Views
Last Modified: 2013-11-05
what are some of the differences between lossy and losseless compression? and when would it be better to use jpg. rather than gif.  I believe that they are both kinda equal really.
0
Comment
Question by:Jenn0101
2 Comments
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 500 total points
ID: 36594218
Wiki pretty much covers it:

http://en.wikipedia.org/wiki/Image_compression

Lossless compression results in huge file sizes but images of better overall quality.  Lossy compression is used in most images you see on the web.

JPG and GIF are nowhere near equal.  GIFs only have a 256 color palette (216 if using web-safe) whereas jpgs can render millions upon millions of colors and thus can produce higher quality images.  JPEG compression is also superior to GIF and you can get a higher quality result at higher compressions than you could with a gif.

The one thing you can do with a gif that you can't do with a jpg is have a transparent color, which makes blending it into a site easier.  However, png supports transparency and is of superior quality to gif.
0
 

Author Closing Comment

by:Jenn0101
ID: 36594226
Ty this answered my question!
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Introduction HyperText Transfer Protocol (http://www.ietf.org/rfc/rfc2616.txt) or "HTTP" is the underpinning of internet communication.  As a teacher of web development I have heard many questions, mostly from my younger students who have come to t…
A few customers have recently asked my thoughts on Password Managers.  As Security is a big part of our industry I was initially very hesitant and sceptical about giving a program all of my secret passwords.  But as I was getting asked about them mo…
This video demonstrates how to use each tool, their shortcuts, where and when to use them, and how to use the keyboard to improve workflow.
In this tutorial viewers will learn how to create a postcard text effect in Photoshop and get an introduction to Layer masks Use magic wand to select the "inner" part of the letters: Create a new layer and fill the selected area with black: Go back …

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now