Photoshop Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsWeb DesignPhotoshop Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 19th, 2003, 06:59 PM
uitou uitou is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 2 uitou User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question Jpeg, Jpg, Gif

What's the difference between them? And how do I convert images to one of them? I have no idea what to do

Reply With Quote
  #2  
Old November 19th, 2003, 08:23 PM
TuxMan TuxMan is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: Montreal
Posts: 15 TuxMan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
From what I know, Jpg and jpeg is the same. One is just an abreviation of the other.
It is a destructive compression format for pictures, widely used on the internet. It offers a fairly good quality with a relatively small file size. But, it flatten images and it cannot save layers like a .tif

Compuserve Gif is another widely used format on the internet. It is popular because you can create small animations and apply transparancy to your pictures. Although, it has some problem when dealing with gradients colorings because of its 256 color limitation. Plus, it is "copyrighted" by compuserve, that means that they "could" get angry at people using gif without paying them, in theory....

In photoshop, to convert a picture to one of those format is easy:
File> Save for web
Then select your format in the menu to your right.
(You will also notice that there is the png filetype, which I personnaly prefer over jpgs and gifs)

I hope it answers your question

Last edited by TuxMan : November 19th, 2003 at 09:08 PM.

Reply With Quote
  #3  
Old November 20th, 2003, 03:20 PM
uitou uitou is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 2 uitou User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks

Reply With Quote
  #4  
Old November 21st, 2003, 07:47 AM
cliffhanger9's Avatar
cliffhanger9 cliffhanger9 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Location: city of sin, state of the art
Posts: 421 cliffhanger9 Negative: is most likely a SPAMMER and a traitor to the cause. 
Time spent in forums: 19 h 41 m 11 sec
Reputation Power: 0
Send a message via ICQ to cliffhanger9 Send a message via AIM to cliffhanger9 Send a message via MSN to cliffhanger9 Send a message via Yahoo to cliffhanger9
Quote:
Originally posted by TuxMan
...it is "copyrighted" by compuserve, that means that they "could" get angry at people using gif without paying them, in theory...



in theory indeed. dont let that worry you. hahahaha...its probably the most widely used image formats on the net...

good lucky and ROCK ON!!
__________________
"I hate quotations."
-ralph waldo emerson-

Reply With Quote
  #5  
Old November 24th, 2003, 03:59 PM
Joen's Avatar
Joen Joen is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2000
Location: Leuven, Belgium
Posts: 39 Joen User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 13
Good explanation by TuxMan, but it's a little more complicated.

Anyone up for an indepth explanation?
(It's a little work to explain, but if you want to know ...)

Reply With Quote
  #6  
Old November 24th, 2003, 05:42 PM
TuxMan TuxMan is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: Montreal
Posts: 15 TuxMan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Sure, I'm always ready to learn

Reply With Quote
  #7  
Old November 25th, 2003, 10:35 AM
Joen's Avatar
Joen Joen is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2000
Location: Leuven, Belgium
Posts: 39 Joen User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 13
OK, here I go! You asked for it! I'll keep it a little practical and leave some technical info to the real techies

The basis of images on a computer is understanding that all images on computers are made up of pixels, little dots. Every pixel can have one color. So, ideally, when you save an image, you actually save the information of every pixel (what color, what effect, tranparency etc...). For larger images, this would result in enormous files. That's why different compression techniques have been designed which result in different file formats. Let's take a look at the most common on the web.

TIFF & BMP
First of all, you have formats that do save the information of pixels seperately. The TIFF and BMP (Windows) are the most common filetypes using this system.
This means that these files can be extremely big because there is no compression whatsoever. But this also entails that there is no quality loss. When compressing an image, there is always some loss.
BMP is rarely used on the internet and should be avoided. Non-Microsoft programs can often not read these files. TIFF-files should also not be used on the web, but this is a very common format for high-quality photographs or images, especially used in printing.

JPEG
JPEG compresses images. Instead of remembering all information of all pixels, only the exact information of some pixels is saved (I believe every 8 pixels, but I could be mistaken). From the pixels in between, only the variation to this one pixel is saved. That's why you sometimes see little squares of 8 (?) pixels in badly made JPEG's.
This compression has several consequences. First of all, and this is the major reason for inventing this technolgy, you have a significantly smaller file. A JPEG-file is in average 10 times smaller than the same image in TIFF. On the other hand, you always have some loss. In most images, this isn't noticable on a screen by the naked eye. But depending on how much compression you are using (mostly expressed by the 'quality' of the JPEG), you can get some bluring.
JPEG, together with GIF, is probably the mostly used format on the web. The small size is of course the reason for this. But, understanding the compression technique a little, you might understand that a JPEG-compression is not ideal for all kinds of images. JPEG is ideal for images with a great variety in colors and shades. A photgraph is ideal. An image with big spaces in the same color are not so good. You often get bluring. So logo's should be saved in JPEG, but in GIF.

GIF & PNG
GIF and PNG also use a compression technique, but different from JPEG. Where JPEG saves pixels and variations to these pixesl, GIF saves spaces with the same color. So, as we said before, GIF is ideal for saving an image where you have less shades of colors but rather big spaces of the same color, like buttons, logo's or backgrounds. GIF-files are also used very much on the internet because you can make a certain color transparant. This is something that you cannot do with a JPEG.
PNG is a rather new format to compete against GIF because there is still a patent on GIF. There are some small differences between them, but the main advice is not to use PNG because it is not so widely supported.

There is a lot more to say about image formats (animated GIFs, transparancy, printing, colors, ...), but this might get you started in the right direction. A good understanding of these things should be the basis for graphical designers or amateurs on the web. You can easily make you site twice as fast using the correct formats.

There must be numerous sites out there explaining this a lot better and more in detail. I can't remember all the ones I read, but there was a comprehensive article about it on SitePoint not so long ago: http://www.sitepoint.com/article/601 .

Well, that's it for now. But, as I sais in other posts, I'm not 'all-knowing'. So if someone can correct or add something, please feel free!

Reply With Quote
  #8  
Old December 10th, 2003, 06:42 AM
Arden's Avatar
Arden Arden is offline
HTML/CSS/Photoshop maven
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: CA
Posts: 184 Arden User rank is Corporal (100 - 500 Reputation Level)Arden User rank is Corporal (100 - 500 Reputation Level)Arden User rank is Corporal (100 - 500 Reputation Level)Arden User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 11
Send a message via AIM to Arden
Another thing about GIF's: they are limited to 256 colors. These colors can be anything you want them to be, they can be any palette, but that's the maximum you can have. You can also animate GIF's, though I haven't seen that many of late in favor of stuff like Flash. (You have probably seen large animated images that looked really poor; that is because they are limited to 256 colors, for all frames.)

PNG's make better images than either GIF's or JPG's, including transparent images, but some browsers (including, oddly, IE 6) don't display the transparent part of the PNG correctly. (Case in point: the logo on my site.)

The best way to save images for the web in Photoshop is to go File > Save for Web. Here, you can see a preview of your image and manipulate all sorts of controls to change the way your image will turn out.

Also, in general, it's not a great idea to convert between GIF and JPG. Both are lossy in some way (JPG is compressed, GIF is limited to 256 colors), and converting one to the other will just add the one's faults on to the other. You will get a logo with JPG artifacts, for example, or a photo with color banding (large sections, like streams almost, of the same color) or dithering (like newsprint, where small dots of a few colors are placed next to each other to simulate a different shade).

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignPhotoshop Help > Jpeg, Jpg, Gif

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap