Web Hosting, Design, & Coding

General discussion

png or jpeg?

by ezdc / July 12, 2004 10:07 AM PDT

i am trying to start a web page with alot images. which should i use png or jpeg? should all the images be in the same format?

Post a reply
Discussion is locked
You are posting a reply to: png or jpeg?
The posting of advertisements, profanity, or personal attacks is prohibited. Please refer to our CNET Forums policies for details. All submitted content is subject to our Terms of Use.
Track this discussion and email me when there are updates

If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.

You are reporting the following post: png or jpeg?
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.
Collapse -
Re: png or jpeg?
by R. Proffitt Forum moderator / July 12, 2004 11:56 AM PDT
In reply to: png or jpeg?

Religion aside...

1. Your choice.
2. And today's browsers allow a mix.

Bob

Collapse -
Re: png or jpeg?
by Sovereign Forum moderator / July 12, 2004 3:21 PM PDT
In reply to: Re: png or jpeg?

I would go with JPEG if you have pictures you want to show, like for a photo gallery for example. Use thumbnails though so it doesn't take too long to load. For regular pictures like the header or other things, I would use GIF because they are smaller and load faster. If you need a picture with a transparent background (could use GIF) but good quality, then use PNG because JPEG doesn't allow you to have a transparent background.

Collapse -
Re: png or jpeg?
by Falcora / August 11, 2004 1:14 PM PDT
In reply to: Re: png or jpeg?

Really depends on who is going to be visiting your site. I like Jpeg because you tend to get better quality but they don't load as quickly. If your viewers are using cable or DSL it doesn't really matter becuase the pictures will load almost instantly anyways. but if you or your viewers are using dialup then I would go with png. Png is so much better than gif. gif=low quality.

Collapse -
Re: png or jpeg?
by raspberryh / August 12, 2004 10:51 PM PDT
In reply to: Re: png or jpeg?

Gif does not always mean low-quality. It all depends on how you use it. If you use a gif for a small image that is mostly flat colors (like a logo) then the quality will actually be better than the quality you'd get from a jpeg because you wouldn't see any compression around the edges. Personally, I use pngs when importing into flash, (you should not import jpegs into flash because flash compresses all the images itself, so you'd have double-compression) and I use gifs in my html documents being displayed by the web browser.

Popular Forums
icon
Computer Help 47,885 discussions
icon
Computer Newbies 10,322 discussions
icon
iPhones, iPods, & iPads 3,188 discussions
icon
Security 30,333 discussions
icon
TVs & Home Theaters 20,177 discussions
icon
HDTV Picture Setting 1,932 discussions
icon
Phones 15,713 discussions
icon
Windows 7 6,210 discussions
icon
Networking & Wireless 14,510 discussions

Tech Tip

Know how to save a wet phone?

It's not with a dryer and it's not with rice. CNET shows you the secret to saving your phone.