Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Graphics
  4. PNG vs JPG

PNG vs JPG

Scheduled Pinned Locked Moved Graphics
mobilevisual-studiocomtoolsquestion
4 Posts 4 Posters 11 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    V 0
    wrote on last edited by
    #1

    I once heard that one of the advantages of PNG (over jpg eg.) is that when used on a webpage the image comes through in "blocks" making the site more responsive, while jpg had to be loaded in "one go". Did I dream this or is this really so? (I could only find things like transparancy, better for logo's etc... where jpg is better for real photos) thanks.

    V.
    (MQOTD rules and previous solutions)

    P P C 3 Replies Last reply
    0
    • V V 0

      I once heard that one of the advantages of PNG (over jpg eg.) is that when used on a webpage the image comes through in "blocks" making the site more responsive, while jpg had to be loaded in "one go". Did I dream this or is this really so? (I could only find things like transparancy, better for logo's etc... where jpg is better for real photos) thanks.

      V.
      (MQOTD rules and previous solutions)

      P Offline
      P Offline
      Peter_in_2780
      wrote on last edited by
      #2

      I thought it was the other way round. You can use progressive jpg where the image starts blocky and is rendered in increasing detail as the rest arrives. PNG does have a rep for being better for 'geometric' stuff as opposed to photos. hth Cheers, Peter

      Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012

      1 Reply Last reply
      0
      • V V 0

        I once heard that one of the advantages of PNG (over jpg eg.) is that when used on a webpage the image comes through in "blocks" making the site more responsive, while jpg had to be loaded in "one go". Did I dream this or is this really so? (I could only find things like transparancy, better for logo's etc... where jpg is better for real photos) thanks.

        V.
        (MQOTD rules and previous solutions)

        P Offline
        P Offline
        Pete OHanlon
        wrote on last edited by
        #3

        That's not quite right. You can have an interlaced JPG just as easily as you can have a progressive PNG. Where PNG has the advantage is if you save it as progressive. Progressive PNGs use a two dimensional interlace, which results in it doing 7 passes, instead of 4 passes - which means that you see something within 1/64 of the time you would see the whole item. It's worth being aware that no matter which option you choose, you would end up increasing the size of the none progressive/interlaced image.

        1 Reply Last reply
        0
        • V V 0

          I once heard that one of the advantages of PNG (over jpg eg.) is that when used on a webpage the image comes through in "blocks" making the site more responsive, while jpg had to be loaded in "one go". Did I dream this or is this really so? (I could only find things like transparancy, better for logo's etc... where jpg is better for real photos) thanks.

          V.
          (MQOTD rules and previous solutions)

          C Offline
          C Offline
          Chris Losinger
          wrote on last edited by
          #4

          not quite true. progressive JPG (an uncommon but perfectly legal variation) allows for JPGs to be transferred in a series of images, each with higher resolution. the final image gets sharper as you go. interlaced PNG allows you to transfer pixels out of the standard order - they are transferred in a fixed pattern that's basically an ever-finer grid. the receiver would just the duplicate pixels it has received until all have been transferred. any speedup depends entirely on the reader being smart enough to display the images progressively.

          image processing toolkits | batch image processing

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups