Solved

general question about web images

Posted on 2011-09-24
2
278 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
In this tutorial viewers will learn how to correct colors in Photoshop using the Hue and Saturation adjustment Open a photo for editing in Photoshop: Begin by creating a new adjustment layer by going to Layer > New Adjustment Layer > Hue and Saturat…
In this tutorial viewers will learn how to create a vector texture to apply a non-rasterized texture to vector images, using Photoshop and Illustrator Open a textured image such as a scanned-in piece of cardboard in Photoshop: Convert the texture to…

740 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