Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Regular Coder
    Join Date
    Jul 2005
    Posts
    216
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question what picture format is better?

    When talking about load time and bandwidth (so i guess the size of a picture) which is the best format? IE...gif..png..jpeg

    Whats the best still picture (1 frame) and best animation one (multiple frames in 1 picture)

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    It depends on colors but I use gifs for most of my images because bright colors usually come out well with gifs. Pngs are better quality but color wise vary among different browsers. PNGs can support alpha transparency but getting to work in IE takes a bit of work. I like JPG for pictures of people and stuff, they tend to come out clearer. Gifs are the only format that can do animations. I still like gif. As long as there aren't any shadow effects on a transparent background gifs should do fine. Quality is okay and file size is decent too. You will need a decent graphics program to save gifs properly though. MS Paint isn't going to cut it.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #3
    New Coder
    Join Date
    Jan 2006
    Posts
    14
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Use "save for web" in photoshop, you can decide which one's the best. Generally, jpeg are best for photographs. For types, logos, etc., gif is usually the better choice.

  • #4
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    6,618
    Thanks
    0
    Thanked 645 Times in 635 Posts
    For animated images GIF is the only option.
    For partial transparency PNG is the only option.
    More than 256 colours PNG or JPEG are the only options.

    After that you select whichever gives the smallest size.
    Stephen
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •