Live data from Hacker News

BPG Image format

bellard.org

331–339 of 339 posts

Re: BPG Image format

#331
post #327

Earlier quoted context omitted.

There is nothing inconsiderate about using the cropped image "Lena". Nothing. It is not an offensive image. Only hypersensitive people who choose to be offended by everything find it offensive, and those people should be fought against, not placated.

Look, you're under no real obligation to stop being an inconsiderate asshole. I'm just pointing out that there are practical consequences. You don't have to be offended by the image. You don't even have to understand why people are offended, that's fine. But if you don't take other people's feelings into consideration, that's the inconsiderate part. Other people are going to have different opinions than you do. Telli…

I'll simplify this for you.

I would be an inconsiderate asshole if the picture was actually offensive, ie, if it was goatse, someone in blackface, etc. But it isn't, and unlike you, I have the courage to make a statement about the image: that it is objectively not offensive. There is no one out there who is actually offended by it. They are all people pushing an agenda.

So your argument seems to be that because some people could be offended by it, we shouldn't use it, even though the notion that anyone could be offended by it is ridiculous on its face. So what, then, about things like gay pride parades? People can be offended by those, too. According to your argument, we should end that, too. But I'm sure you'd never advocate for that. You'd say something like "it's their right to be in your face in public". And of course it is, even though it can offend people. But that same argument defends people who'd use offensive images in image processing papers, not just ones which are just a target for politically correct assholes. You only care about people being offended if they're on your side.

Gay pride parades are not bad things, and just the same, a woman posing for Playboy is not a bad thing, and using the cropped image of the face of a woman's nude picture is even less offensive than a gay pride parade. And nobody should be pressuring anyone to stop either of those things.

Re: BPG Image format

#332
post #327

Earlier quoted context omitted.

Look, you're under no real obligation to stop being an inconsiderate asshole. I'm just pointing out that there are practical consequences. You don't have to be offended by the image. You don't even have to understand why people are offended, that's fine. But if you don't take other people's feelings into consideration, that's the inconsiderate part. Other people are going to have different opinions than you do. Telli…

I'm just saying that anyone who IS offended by it is a whiny, oversensitive asshole who wants to force the world to accommodate them, and that is wrong. Standing up to them does not make me the asshole: babying them makes you the asshole. Edit: just take another look at the cropped picture "Lena". If your argument is that that is somehow offensive, you are wrong, plain and simple.

You can't understand the meaning of a symbol by studying the symbol. You have to go look at what it means. It's like analyzing a swastika and deciding that neo-nazis aren't offensive. The problem is that only men were part of that project, they treated a woman in an exclusive manner, and now that image is a reminder of that sexist hierarchy.

Re: BPG Image format

#333
Unfortunately, a lot of what I do with images is constrained by what can be losslessly embedded in a PDF. Even if no influential organisation is opposed to BPG it will take at least 3 years, I would guess, for BPG to become part of the PDF standard, and then another year or so for it to become reasonable to expect people to have PDF readers that can handle it. However, I wouldn't be surprised to see BPG being widely used in 2020.

Re: BPG Image format

#336
post #180
post #26

Earlier quoted context omitted.

Unless they changed their ways since h.264, it's probably a non-commercial license, even for tools or devices that suggest otherwise - like Final Cut Pro ( http://bemasc.net/wordpress/2010/02/02/no-you-cant-do-that-w... )

You can actually use HEVC for your content for free, even commercially. Royalties only get involved when distributing encoders & decoders. See page 7 here http://www.mpegla.com/main/programs/HEVC/Documents/HEVCweb.p...

Yep, and that bit of JS you are distributing _is_ a decoder. I've been bitten by this before, and it resulted in buying the MPEG-LA a few ferraris a month after they noticed and we were popular while we worked to create an alternate solution.

Good times.

Re: BPG Image format

#337

Earlier quoted context omitted.

Does the javascript decoder download the images, or does the browser do that, then the javascript simply decode it? If it downloads them itself, then any parallel fetching by browsers will stop working. And if they are decoded by javascript, they will take (very slightly) longer, and both the encoded and decoded images need to be held in memory both in javascript, and the browser. Are they decoded to .bmp, .jpg, .png…

>> Does the javascript decoder download the images, or does the browser do that, then the javascript simply decode it? Right now, it would appear that the with a hard reload of the demo: http://bellard.org/bpg/lena.html on chromium, the BPG images are initially loaded with the page, then the posts.js file scans through the page's images to find the ones who's src ends in '.bpg', then posts.js re-downloads the same fi…

>> The extra request to re-download images is unnecessary but easily removed to just process the data loaded with the initial page load.

Are you sure you are not inspecting with the cache disabled. If the appropriate cache headers are applied, this shouldn't issue another request.

Re: BPG Image format

#338

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…

"After making a few needed tweaks to get libbpg to compile on Mac OS X". What have you done? I get "bpgdec.c:35:17: warning: png.h: No such file or directory" and lots of other errors.

You can install for Mac OS X by opening the Makefile and uncommenting the line: CONFIG_APPLE=y

Re: BPG Image format

#339
post #19

I appreciate the historical tradition of using the photo of beautiful young Lena Söderberg as a test image, but it's time to move on. It's fun for us hetero males, but like it or not, this sends a message to young women that they aren't welcome in this field. I wish Fabrice Bellard would have left them out of the demo set. Having said that, all those demo photos do look good. I was wondering how we were going to see…

Clearly we should replace it with a more pornographic test image, since that's the most common use case.
Post reply on HN