Slashdot Mirror


Bellard Creates New Image Format To Replace JPEG

An anonymous reader writes Fabrice Bellard (creator of FFMPEG, QEMU, JSLinux...) proposes a new image format that could replace JPEG : BPG. For the same quality, files are about half the size of their JPEG equivalents. He released libbpg (with source) as well as a JS decompressor, and set up a demo including the famous Lena image.

12 of 377 comments (clear)

  1. Re:Great... by Anonymous Coward · · Score: 5, Insightful

    Because the new half-the-size JPEG files wouldn't work with old JPEG editors/viewers.

  2. Re:JPEG2000 replaced JPEG by chrylis · · Score: 3, Insightful

    Same-origin policy is a nightmare for use with CDNs. I really wanted to use WebP for image handling for the application I'm working on, but Firefox adamantly refuses to merge a patch adding WebP support, and the JavaScript shim can only access the images if they're pulled of the same host. Images loaded from a CDN aren't accessible to the JS decoder.

  3. Re:Great... by RealTime · · Score: 5, Insightful

    Bandwidth still matters for mobile, so smaller images of the same quality are quite welcome on mobile sites and apps.

    Given that the developing world is likely to get online via wireless solutions, bandwidth is going to matter for a lot of people for a long time to come.

    --

    Yesterday it worked; today it is not working; Windows is like that...

  4. Re:JPEG2000 replaced JPEG by chrylis · · Score: 1, Insightful

    What in the world are you talking about? I have an application that's focused on processing and displaying user images. Are you seriously claiming that it would be better practice for me to deal with reinventing the storage wheel instead of saving everything to S3 and serving it from there?

  5. Re:Patents by Anonymous Coward · · Score: 0, Insightful

    Tanks for the info, that's good to know but $0 per product is even better and I can fit many more pictures than I can
    care of in a cheap SD card with JPEG.
    Big compression will be more useful for 4K-8K video. I guess that's where HEVC will be more useful.
    Also, as a H.264 chip designer, I can say that having a huge complexity in your chip can require more power, hence a larger battery
    which is a lot more expensive and bulky than a bigger SD card.

  6. Re:JPEG2000 replaced JPEG by Air-conditioned+cowh · · Score: 4, Insightful

    But JPEG2000 was absolutely crawling with patents like maggots and worms writhing through the very core of its being. If that didn't put everyone off then I don't know what would? Certainly ruined my lunch.

    DJVU was another contender but it just happened to be tagged on to a PDF-like docuemnt format and not widely known as just an image format.

    Finally, anything that was not (properly) supported by Internet Explorer ten years ago was a dead duck. And Microsoft and Apple actively snub any open format if they can get away with (like Vorbis, WebM etc).

  7. vs WebP by yurik · · Score: 5, Insightful

    I don't think we should compare BPG with JPEG, since it is very outdated. I wonder how it stacks against WebP - does it also support animation? Better compression? Licenses? Faster encoding/decoding? Browser manufacturer support? I'm all for making web more optimal, because you can never have "fast-enough" bandwidth, especially on a mobile device in bad connection area, but lets compare similar things.

  8. Re:Simply impressive by Skuto · · Score: 3, Insightful

    Not so much a "limit" as much as a complete showstopper.

  9. Re:Great... by fuzzyfuzzyfungus · · Score: 4, Insightful

    With 'mobile' there are really two considerations: One is the fact that 'mobile' (even if the fault is, in fact, with shitty backhaul) is going to be fairly slow in emerging markets. Two, relevant even in wealthy developed nations without asshole oligopoly telcos, is the fact that mobile devices are brutally power constrained, and RF chatter isn't exactly cheap in energy terms. The faster you get the data you need and shut down, or move to a slower, lower power mode, the radios, the happier your battery will be.

    With mains power it matters less (electricity isn't free; but a few extra dollars a month is far less annoying than having your battery keel over dead at a bad time); but barring exciting breakthroughs in battery chemistry or design, basically all the savings are going to have to come from the device side.

  10. Re:Great... by Anonymous Coward · · Score: 5, Insightful

    You and your friends who can get decent bandwidth, can afford decent smartphones and who can afford to just throw down an additional 2 euro a month for said bandwidth are, you may be surprised to hear, not representative of everyone. For example, the average internet connection speed in Algeria is about 0.94Mb/s. I'm pretty sure most people there are also not wandering around with the latest LTE enabled phone either.

  11. Re:Great... by michelcolman · · Score: 3, Insightful

    If you're running a server for a big company (say, Google or FaceBook) and every image is only half as big, that means a huge reduction in the number of servers you need, power consumption, etc. Less congestion on the internet, more responsive servers, less wasted energy, etc...

    I imagine you also have a car that guzzles up twice as much gas as other cars, but who cares since you can afford it?

  12. It's not a "replacement." by gfxguy · · Score: 3, Insightful

    In this industry, there's no such thing as a "replacement," it's "just another competing format." None of the old formats ever dies, all we ever get is more new formats, all of which need to be supported, ultimately making everything more complicated. I'm not saying we shouldn't advance... but the belief that some new format you create will replace something instead of muddying the existing pool of formats is laughable. related xdcd. (yes, I know it's "standards" and not "formats," but the result is the same)

    --
    Stupid sexy Flanders.