Solved

general question about web images

Posted on 2011-09-24
2
279 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction and Prerequisites This article describes methods for detecting whether a client browser accepts and returns HTTP cookies and whether the client browser runs JavaScript.  Most client browsers will, by default, be configured to use cooki…
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…
In this tutorial viewers will learn how to correct colors in Photoshop using the Curves adjustment Open a photo for editing in Photoshop: Begin by creating a new adjustment layer by going to Layer > New Adjustment Layer > Curves: Select "OK" on the …
In this tutorial viewers will learn how to create layer styles in Photoshop to easily apply effects to multiple items. Open a document in Photoshop: Apply layer styles to a layer by right clicking the layer in the Layers window and selecting "Blendi…

696 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