Solved

general question about web images

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Prototype / Wireframe App 3 132
How to import Photoshop CS5 actions 3 87
Simple CorelDraw Question 5 73
PHP_POST() error message 9 60
I still run into .cgi files every now and then. In some instances, I actually prefer the simplicity of a .cgi script to other options. Since I use DreamWeaver extensively, what I needed was a way to open .cgi scripts in Dreamweaver. And I wanted to …
This article is very specific and is only intended to help if you are installing Dreamweaver 8 in a Windows 7 environment with Office 2007 installed.   I'm not sure why Microsoft tends to release OS' that should not be released but they do.  Windows…
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…

803 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