Live data from Hacker News

BPG Image format

bellard.org

221–230 of 339 posts

Re: BPG Image format

#221
post #212

After making a few needed tweaks to get libbpg to compile on Mac OS X, I used the compiled bpgenc binary to convert a test PNG to BPG format. I also converted the PNG to a JPEG for comparison purposes. You can see the results here: http://justinmayer.com/bpg-test/ Size of PNG before conversion: 186K Size after conversion to JPEG: 52K Size after conversion to BPG: 9K I took the liberty of submitting a Homebrew formula…

Before I finished reading your reply, I was going to say "but someone just submitted a formula for libbpg!" Thank you, sir. :)

Most welcome! Glad to help out where I can.

Re: BPG Image format

#222

After making a few needed tweaks to get libbpg to compile on Mac OS X, I used the compiled bpgenc binary to convert a test PNG to BPG format. I also converted the PNG to a JPEG for comparison purposes. You can see the results here: http://justinmayer.com/bpg-test/ Size of PNG before conversion: 186K Size after conversion to JPEG: 52K Size after conversion to BPG: 9K I took the liberty of submitting a Homebrew formula…

Would love to have not just the source file but also the output files posted if you can be bothered (im fine with png screenshots if you can't be arsed with actual js setup)

Sure, no problem. I updated my comment above to include a link to all the relevant files. As you'll see, despite the significant differences in file size, there is very little discernible difference in image quality.

Re: BPG Image format

#223
post #80

Earlier quoted context omitted.

Not everything is about gender, sexism, feminism, or chauvinism. There are very few things in the world that are not somehow associated with male vs. female in an objectively equal way. The Lena in question is just an image with a long tradition. Anyone can find and use a male image for his/her own image compression tests if s/he wants to. It's not a statement to use Lena instead.

I understood the complaint to be not about male vs. female, but about the fact that the original is a pornographic picture from Playboy magazine.

> the [uncropped] original is a pornographic picture from Playboy magazine

FTFY

Re: BPG Image format

#224

Earlier quoted context omitted.

Isn't there hardware support for JPEG decoding on most mobile devices? If so, I imagine it couldn't compete performance and battery life wise. I remember Mozilla did a software video decoder once in JavaScript. Still, it is quite amazing.

Some devices do have hardware JPEG decoding, however all mobile browsers do software JPEG decoding, often with the SIMD-accelerated libjpeg-turbo. This is the software video decoder, by the way: https://github.com/brion/ogv.js

How come all mobile browser uses software JPEG decoding? Is it because of the startup latency of the hardware decoder?

Re: BPG Image format

#225
post #85

Earlier quoted context omitted.

I'm curious if you're basing this belief on actual information from the people in question, or just your intuition about what they probably think. Dianne O'Leary, distinguished university professor emerita in UMD's CS department, objects to it: https://www.cs.umd.edu/users/oleary/faculty/node8.html Sunny Bains, senior teaching fellow at UCL, also objects (see page 6): http://www.cs.cmu.edu/~chuck/lennapg/pcs_mirror/m…

I was just reading another article on here about fractal image compression and stumbled across this: http://pointersgonewild.com/2014/01/02/tile-based-image-comp... written by this woman: https://twitter.com/Love2Code Maybe you can't generalize the opinions of two people to 50% of the human race?

I agree that you can't generalize the opinions of two people (or even three). But you certainly can't generalize from zero.

Re: BPG Image format

#226
So can anyone talk about the patent issues? I hear there are multiple holders of HVEC patents and they are willing to use them. So if you use this library, wouldn't you be liable?

I'd really like to know that. Because I'd really like to use this.

Re: BPG Image format

#227
post #224

Earlier quoted context omitted.

Some devices do have hardware JPEG decoding, however all mobile browsers do software JPEG decoding, often with the SIMD-accelerated libjpeg-turbo. This is the software video decoder, by the way: https://github.com/brion/ogv.js

How come all mobile browser uses software JPEG decoding? Is it because of the startup latency of the hardware decoder?

My guess is that the average mobile CPU speed makes decoding a minor time factor within the process of getting an image from server to the clients screen.

If this is the case, then putting in a hardware decoder would be a needless expense.

Re: BPG Image format

#228

Earlier quoted context omitted.

Please don't put words in my mouth.

> So it wouldn't be worth defending at all, if it weren't being attacked on grounds I strongly disagree with, by people who I believe shouldn't gain any more influence over our culture than they already have. Is it putting words in someone's mouth if said words are their own, I wonder?

He's not saying "I'm disagreeing with you because I dislike you," he's saying "I dislike you because I disagree with your ridiculous PC policemanship and the fact that a lot of people actually take it seriously."

Re: BPG Image format

#229
post #225

Earlier quoted context omitted.

I was just reading another article on here about fractal image compression and stumbled across this: http://pointersgonewild.com/2014/01/02/tile-based-image-comp... written by this woman: https://twitter.com/Love2Code Maybe you can't generalize the opinions of two people to 50% of the human race?

I agree that you can't generalize the opinions of two people (or even three). But you certainly can't generalize from zero.

You're assuming that ANTSANTS is generalizing from zero. Since he's linked to one example of one individual that is mature enough to realize that the importance of that common bitmap isn't its origin but what concepts and ideas in the field of image compression those set of pixels have been used to demonstrate, and how those ideas relate to machine learning. Pointers Gone Wild is a great blog, with great technical content, written by someone that is actually accomplishing something because they are fully focused on what actually matters instead of the accidental origin of those pixels.

ANTSANTS' anecdotal evidence serves as a counterpoint to your anecdotal evidence, but you know what they say, the plural of anecdotes is not data. Instead you may want to work from a statistically significant sample size when making your point. If not, don't be surprised when people discount any conclusions you have made based on anecdotes.

Post reply on HN