1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

BPG worth it now?

Discussion in 'BlackHat Lounge' started by Capo Dei Capi, Dec 17, 2014.

  1. Capo Dei Capi

    Capo Dei Capi BANNED BANNED

    Joined:
    Oct 23, 2014
    Messages:
    754
    Likes Received:
    1,734
    Comparsion of JPEG to BPG at same file size.

    [​IMG]


    http://www.gizmag.com/bpg-image-format-outperforms-jpeg/35232/

    It seems like a great file format since for IM'rs using imaged based sites since it will increase profits by allowing cheaper hosting options, without resorting to having terrible looking images. The only drawback is the javascript add-on to a website which adds 55KB since browsers do not support the BPG format yet.

    From the visual comparison link provided on the sites main site http://bellard.org/bpg/ It appears that one could a 40%file size reduction(on some files) by using BPG medium quality over JPEG large quality
     
    • Thanks Thanks x 1
  2. lord1027

    lord1027 Elite Member

    Joined:
    Sep 20, 2013
    Messages:
    3,177
    Likes Received:
    2,239
    It really looks good, I hope browsers will support bpg files soon.
     
  3. Capo Dei Capi

    Capo Dei Capi BANNED BANNED

    Joined:
    Oct 23, 2014
    Messages:
    754
    Likes Received:
    1,734
    I might use it soon, but idk if the javascript decoder will degrade performance, hopefully it doesn't it would be amazing to cut down bandwidth and storage on an image resource site by 40%. For some reason everyone that did an article on it including extremetech never did a website performance of jpeg vs bpg with javascript decoder
     
    Last edited: Dec 17, 2014
  4. extremeboy

    extremeboy Jr. VIP Jr. VIP

    Joined:
    Jul 8, 2010
    Messages:
    3,217
    Likes Received:
    673
    Occupation:
    World Best RANK Tracker SERPCloud.com
    Home Page:
    it will really help to speedup site let's see in depth.
     
  5. Capo Dei Capi

    Capo Dei Capi BANNED BANNED

    Joined:
    Oct 23, 2014
    Messages:
    754
    Likes Received:
    1,734
    It's probably going to be most beneficial on sites that use SSD hosting since they can handle more connections at once than regular HDD.
     
  6. Conor

    Conor Elite Member

    Joined:
    Nov 7, 2012
    Messages:
    3,577
    Likes Received:
    5,954
    Gender:
    Male
    Location:
    South Africa
    Home Page:
    Looks cool. 55kb is a small tradeoff anyways imo.
     
  7. Capo Dei Capi

    Capo Dei Capi BANNED BANNED

    Joined:
    Oct 23, 2014
    Messages:
    754
    Likes Received:
    1,734
    Do you know if a decoder requires loading on each page, or is it a site wide load one time that can be cached?
     
  8. Conor

    Conor Elite Member

    Joined:
    Nov 7, 2012
    Messages:
    3,577
    Likes Received:
    5,954
    Gender:
    Male
    Location:
    South Africa
    Home Page:
    You can cache it easily by setting some expire headers in your htaccess: http://www.paulund.co.uk/set-expire-headers-in-htaccess
     
    • Thanks Thanks x 1
  9. Capo Dei Capi

    Capo Dei Capi BANNED BANNED

    Joined:
    Oct 23, 2014
    Messages:
    754
    Likes Received:
    1,734
    Thanks for the link.

    Its not even a small tradeoff then, its a freaking tiny tradeoff.
     
    • Thanks Thanks x 1
  10. lancis

    lancis Elite Member

    Joined:
    Jul 31, 2010
    Messages:
    1,682
    Likes Received:
    2,426
    Occupation:
    Entrepreneur
    Location:
    Milky Way
    Home Page:
    It is truly a great format, and I'm glad someone is pioneering it.
    JavaScript is less of a problem. The main problems as I see them are:

    - There are no editors that support BPG, even resizing becomes a problem
    - No social networks support it, sharing/pinning/tweeting is not an option
     
  11. PrivateCube

    PrivateCube Junior Member

    Joined:
    Nov 25, 2014
    Messages:
    123
    Likes Received:
    12
    Location:
    127.0.0.1
    Home Page:
    I hope they can optimize browser to support bpg files.
     
  12. HelloInsomnia

    HelloInsomnia Jr. Executive VIP Jr. VIP

    Joined:
    Mar 1, 2009
    Messages:
    1,826
    Likes Received:
    2,939
    In the meantime use something like this: https://tinypng.com/

    Reduced the file size by more than half and I can't tell the difference between the two at all.
     
    • Thanks Thanks x 1
  13. Capo Dei Capi

    Capo Dei Capi BANNED BANNED

    Joined:
    Oct 23, 2014
    Messages:
    754
    Likes Received:
    1,734
    I think resizing has to be done in Command Line or Terminal, since that what converting uses. I'm going to check it out later today though to see how long it takes to convert and if I can resize.

    But if one has alot of gallaries on their, couldn't 1 image be in regular .jpeg format as the image that is used for sharing.
     
    Last edited: Dec 17, 2014
  14. Capo Dei Capi

    Capo Dei Capi BANNED BANNED

    Joined:
    Oct 23, 2014
    Messages:
    754
    Likes Received:
    1,734
    They are using a script that you can get offline for free with GUI and CLI versions.

    http://pngquant.org/

    Even the photoshop plugin is free

    http://www.fnordware.com/superpng/
     
  15. sirgold

    sirgold Supreme Member

    Joined:
    Jun 25, 2010
    Messages:
    1,260
    Likes Received:
    646
    Occupation:
    Busy proving the Pareto principle right
    Location:
    A hot one
    Bellard is easily one the brightest guys in IT and he's been for quite a while. No surprise his work on BPG is yet another homerun. Now let's hope it picks up as it'd deserve...
     
  16. Capo Dei Capi

    Capo Dei Capi BANNED BANNED

    Joined:
    Oct 23, 2014
    Messages:
    754
    Likes Received:
    1,734
    I'll probably end up using BPG instead of PNG compressed if it converts faster. Even though fast, the problem with those conversion websites such as tinypng and kraken is that they don't allow for Adult Content or semi-adult content. Even with my new laptop which has a i7 4710hq it takes way to long using the gui programs for PNG compression. WebP is also an option since I found a great converter called reaConveter that works fast and even though its not supported in most browsers their is also a javascript decoder. http://webpjs.appspot.com/


    https://www.reaconverter.com/


    Hopefully some big name image hosts such as Imgur or companies like Facebook decide to take up BPG. They would save so much f*cking money by having lower bandwidth and lower storage.
     
    Last edited: Dec 18, 2014