Live data from Hacker News

BPG Image format

bellard.org

321–330 of 339 posts

Re: BPG Image format

#321
post #295

Earlier quoted context omitted.

Strange: JPG is, when compressed, order of times smaller than uncompressed, so if the graphic card would accept the compressed image, the amount of used memory bandwidth can significantly decrease. I also believe that the graphic card can achieve more parallelisation and therefore handle much bigger JPG images, which we produce all the time with always bigger cameras. I believe that some browsers actually keep in RAM…

Hardware is real-estate in ever compacting mobile landscape.

When transistor size goes down, accelerators which are idle most of the time become cheaper. Your power budget doesn't allow you to run all the chip's parts at the same time anyway.

https://en.wikipedia.org/wiki/Dark_silicon

Re: BPG Image format

#322
post #17

I notice the container has no ICC profile support. Trivial do add as an extension tag, but should definitely be in the first spec IMO. And if I read this correctly, extension tags are hardcoded as numbers, rather than using a tag name. I don't think that's a good idea.

Since the parent comment was posted, Fabrice added an ICC profile meta data tag via the libbpg 0.9.1 release.

Re: BPG Image format

#323

Earlier quoted context omitted.

Technically, the Lenna scan is indeed a bad reference image for numerous reasons, such as being blurry, heavily quantized, and composed of various shades of magenta and purple. Its value is more or less entirely nostalgic. 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 alre…

> 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. I'm having trouble understanding what this means, concretely. Do you think it would be a bad thing if computer science became less of a boys club? Or do you not believe that is why people dislike the picture? Wh…

Who is it exactly that has too much power over "our" culture -- women? Politically correct killjoys?

On the Internet it's hard to be sure, but I haven't seen any negative comments about lenna.jpg that I can attribute to women qua women.

So I guess that leaves door #2, huh?

Re: BPG Image format

#324
post #320

Earlier quoted context omitted.

No, the upside of continuing to use it is to show the politically correct bullies that we aren't afraid, and you aren't going to get everything you want.

CS enrollment is down. I think it's because the industry is full of inconsiderate assholes.

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.

Re: BPG Image format

#325

Earlier quoted context omitted.

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.

Thanks a lot - my God this format has potential on some files!

Re: BPG Image format

#326
post #290

Earlier quoted context omitted.

If we used a male model as a photographic test subject here, is that not the sexist objectification of males? Should we use an unattractive person or an animal instead? Are you going to attack the very notion of beauty or the fact that women are the "fairer sex"?

Sure, it could be objectification. It's pretty cut and dried in this case since the image was scanned from a magazine almost at random. The woman had no agency in the decision at all. Of course I'm going to attack that. Women are required to be beautiful or they are deemed worthless, or failures. So they put a lot of work into it from a fear of failure. Men can be beautiful too, especially to a woman's eye which you'…

There are predominant gender roles. How can we determine if the predominance is wrong, or just natural? All of this assumes the predominance is wrong. If I go to enjoy a burlesque show (a largely female-dominated event that all consensually participate in), did I merely experience the predominance, or did I also reinforce it? If the majority like something even though a minority do not, does that mean the majority are somehow wrong?

Re: BPG Image format

#327
post #320

Earlier quoted context omitted.

CS enrollment is down. I think it's because the industry is full of inconsiderate assholes.

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. Telling other people they're not allowed to be offended is why you're an asshole.

Re: BPG Image format

#328
I would guess, that decoding speed can become an issue for websites, where many images are already in the cache but are re-displayed rather often...

I write this, because I am building such an application and for now it has many PNGs ... and yes, using a format like BPG would be fine, because I use the PNGs only because of transparency ... but when redisplay is done via a Java Script, I doubt that I could have the same speed. Loading is not so much a limiting factor, since after some time, all relevant PNGs are already in the browser cache.

Can anybody say something to this topic?

Of course, it would be great to have this integrated into the mayor browsers soon ...

Re: BPG Image format

#329

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.

Re: BPG Image format

#330
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'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.

Post reply on HN