new graphics format .bpg

Discussion in 'Off-Topic' started by bertus, Dec 11, 2014.

  1. bertus

    Thread Starter Administrator

    Apr 5, 2008
    15,648
    2,347
    Hello,

    I have been reading about the progress made with a new graphics format called .bpg (better portable graphics).
    Here are some examples of comparison between .jpg and .bpg pictures:
    http://bellard.org/bpg/lena.html

    Here are some technical details on the format:
    http://bellard.org/bpg/

    Bertus
     
    ScottWang likes this.
  2. #12

    Expert

    Nov 30, 2010
    16,298
    6,811
    Great results.
    Now, does this affect us on this forum?
     
  3. bertus

    Thread Starter Administrator

    Apr 5, 2008
    15,648
    2,347
    Hello,

    No, it is not implemented on the forum.
    I only posted it for information.

    Bertus
     
    #12 likes this.
  4. spinnaker

    AAC Fanatic!

    Oct 29, 2009
    4,887
    1,012
    I don't see the advantage. BPG loads slower than the JPG and BPG is larger.
     
  5. killivolt

    Active Member

    Jan 10, 2010
    367
    317
    It is when the file bytes are smaller; in the begging "Your Correct" but the bottom pic has a little less than a JPEG's largest and looks better than any?
     
  6. #12

    Expert

    Nov 30, 2010
    16,298
    6,811
    Bertus was careful to use similar byte sizes to compare quality. Seems to me a meg of this will load as fast as a meg of that.
     
  7. spinnaker

    AAC Fanatic!

    Oct 29, 2009
    4,887
    1,012
    So what is the advantage?
     
  8. #12

    Expert

    Nov 30, 2010
    16,298
    6,811
    The BPG pics of similar byte size are clearer.

    OOPs, I had a typo in there.
     
    Last edited: Dec 11, 2014
  9. spinnaker

    AAC Fanatic!

    Oct 29, 2009
    4,887
    1,012

    OK see it now. Was looking mainly for speed. Actually the difference is in the smaller sized files. Larger files not too much of a difference between them.
     
  10. bertus

    Thread Starter Administrator

    Apr 5, 2008
    15,648
    2,347
    Hello,

    The decoding of the .bpg pictures are done by a java script on that webpage.
    Thats why it is a bit slower.

    Bertus
     
  11. takao21203

    Distinguished Member

    Apr 28, 2012
    3,577
    463
    if you ccan code like that
    http://bellard.org/bpg/bpgdec.js

    you can call yourself a real programmer.

    I sometimes wonder how it is possible to write code like that?

    you must be a maniac almost.
     
    #12 likes this.
  12. #12

    Expert

    Nov 30, 2010
    16,298
    6,811
    Agree. You would have to be Obsessive-Compulsive to learn to do that and have a worse case of, "Get a life" than people who hang around posting on internet forums all day.

    It was a print out like that which convinced me NOT to learn Machine Language in the 1960's.
     
  13. takao21203

    Distinguished Member

    Apr 28, 2012
    3,577
    463
    well I wrote quite a few programs, but I'm baffled when looking at a source code like this one.

    Maybe it was obfuscated later on to save transmission bytes.
     
  14. takao21203

    Distinguished Member

    Apr 28, 2012
    3,577
    463
    its kindof- You were thinking you can progam...but consider this!
     
  15. tshuck

    Well-Known Member

    Oct 18, 2012
    3,531
    675
    No one would code like that, with, perhaps, an exception for the criminally insane, and those oddballs that attempt to write the most compact Perl programs for fun (but there may be some overlap there :))

    Remember, whitespace still takes up memory, so there are programs that will strip it out and still others that will attempt to compact JavaScript into a more portable (read smaller) form, since this data is transferred over the internet to your computer when the resource (script) is requested.
     
    Last edited: Dec 12, 2014
    #12 likes this.
  16. Randalltbartel

    New Member

    Dec 20, 2014
    0
    0
    BPG (Better Portable Graphics) is a new image format. Its purpose is to replace the JPEG image format when quality or file size is an issue.
    High compression ratio. Files are much smaller than JPEG for similar quality.
    Supported by most Web browsers with a small Javascript decoder (gzipped size: 56 KB).
    Based on a subset of the HEVC open video compression standard.
    Supports the same chroma formats as JPEG (grayscale, YCbCr 4:2:0, 4:2:2, 4:4:4) to reduce the losses during the conversion. An alpha channel is supported. The RGB, YCgCo and CMYK color spaces are also supported.
    Native support of 8 to 14 bits per channel for a higher dynamic range.
    Lossless compression is supported.
    Various metadata (such as EXIF, ICC profile, XMP) can be included.
    These are the advantages of .bpg format.

    Moderators note: removed commercial expression
     
    Last edited by a moderator: Dec 20, 2014
Loading...