Live data from Hacker News

Pik – a new lossy image format for the internet

github.com

121–130 of 151 posts

Re: Pik – a new lossy image format for the internet

#121
post #96

Now if APNG would gather some steam, high quality animated fully alpha transparent images would be nice. Gif's 256 color and 1 level transparency is ok, but to do better work we need something like APNG, although not sure how well it compresses.

Use VP9, which is literally 15 times smaller. It supports alpha transparency, too.

Re: Pik – a new lossy image format for the internet

#122
post #37

We're seeing a lot of different formats lately. So to make this more generic, I'm thinking we should move to an encoding-independent format. That is, the file contains an encoding-id, and the decoder can be downloaded from a standard location (a website run by a standards organization) using the encoding-id as a reference. Of course, this can be cached. The decoder can be in different formats, e.g. bytecode, WASM, i3…

Sounds like a recipe to leave out unpopular platforms in the cold. What are the chances Adobe or whoever makes their decoder compatible with Haiku or NetBSD? At least with a few standard formats, volunteers have some hope of writing their own decoders once every few years. Plus, what about more restricted platforms? Lots of featurephones include browsers that can decode JPEG and PNG, but good luck getting them to download and run a custom software based decoder.

Re: Pik – a new lossy image format for the internet

#123
post #121
post #96

Now if APNG would gather some steam, high quality animated fully alpha transparent images would be nice. Gif's 256 color and 1 level transparency is ok, but to do better work we need something like APNG, although not sure how well it compresses.

Use VP9, which is literally 15 times smaller. It supports alpha transparency, too.

VP8 has Alpha built-in and works in ffmpeg, VP9 IIRC this could be implemented but I don't know if there are implementations out there

Re: Pik – a new lossy image format for the internet

#124
At the first glance it looks like it uses all the basic building blocks of JPEG, but with everything upgraded to the next level.

It uses the same 8x8 DCT blocks, but with adaptive quantization. Like JPEG it also codes DC separately, but with 8 predictors instead of 1, etc.

It's like a combination the Guetzli JPEG encoder and Lepton JPEG recompressor.

Re: Pik – a new lossy image format for the internet

#125
post #101
post #95

HEIF already exists as a standard [1] with comparable compression [2]. What does Pik hope to do better? (And please don't say "patent free" unless you are certain Pik will not infringe on those same patents) [1] https://en.wikipedia.org/wiki/High_Efficiency_Image_File_For... [2] https://nokiatech.github.io/heif/technical.html

> And please don't say "patent free" unless you are certain Pik will not infringe on those same patents HEVC/HEIF: Absolutely can't use because patents. Pik: Maybe can't use because patents. Pik has potential to be useful, HEVC does not.

Who “absolutely can’t use” it, and for what purpose?

Most people use patent-encumbered media formats all the time.

HEVC is going to have dedicated hardware support on most devices in the near future, and will therefore be power-efficient and fast to encode and decode.

Re: Pik – a new lossy image format for the internet

#127

Good thing Denmark is a small market as it means Dick in Danish.

It litteraly means dick.. i mean.. no words.

Oddly the name Dick is spelled and pronounced just like the slang term for a man's penis in the English language. You would think that would offend American puritanical sensibilities but the name is quite common.

Re: Pik – a new lossy image format for the internet

#128
post #101

Earlier quoted context omitted.

> And please don't say "patent free" unless you are certain Pik will not infringe on those same patents HEVC/HEIF: Absolutely can't use because patents. Pik: Maybe can't use because patents. Pik has potential to be useful, HEVC does not.

Who “absolutely can’t use” it, and for what purpose? Most people use patent-encumbered media formats all the time. HEVC is going to have dedicated hardware support on most devices in the near future, and will therefore be power-efficient and fast to encode and decode.

> Who “absolutely can’t use” it, and for what purpose?

Web browsers. H.264 was finalized in 2003 and while it was supported by Chrome at launch in 2010, it wasn't supported in Firefox until 2013, a full 10 years later, though admittedly support was in Flash in 2007.

> Most people use patent-encumbered media formats all the time.

A major difference between HEVC and other patent-encumbered formats is that HEVC has no single licensing pool with a clear pricing scheme. There's no single place you can go and say "I want HEVC" and know how much you're going to need to pay. Off the top of my head, there's MPEG-LA, HEVC Advance, Velos Media and Technicolor. All of them have different requirements and cost schemes. Also importantly, HEVC Advance was intending to charge for distribution separately from encoding.

As much as I hate MPEG-LA, it definitely helped with H.264's adoption.

> HEVC is going to have dedicated hardware support on most devices in the near future, and will therefore be power-efficient and fast to encode and decode.

Yes but that hardware support needs to be piped through to browsers, which will take time and consent. Is Mozilla going to allow patent-encumbered HEVC into its browser when it's part of AOM and AV1 is just around the corner?

To be clear, I'm mainly talking about web browsers, since they're how most people consume images these days. I'm sure HEVC will find its way into things like TVs, cameras and home theatre systems without issue but I have doubts about its viability on the web.

Re: Pik – a new lossy image format for the internet

#130
post #101

Earlier quoted context omitted.

> And please don't say "patent free" unless you are certain Pik will not infringe on those same patents HEVC/HEIF: Absolutely can't use because patents. Pik: Maybe can't use because patents. Pik has potential to be useful, HEVC does not.

Who “absolutely can’t use” it, and for what purpose? Most people use patent-encumbered media formats all the time. HEVC is going to have dedicated hardware support on most devices in the near future, and will therefore be power-efficient and fast to encode and decode.

There has never been anything quite like the patent situation around HEVC. Using HEVC legally requires signing four different license agreements at the minumum[1]. The license agreements with Technicolor and Velos Media are actually secret. This includes their fees. The other two licenses (MPEG LA and HEVC Advance) are public. They are far more expensive then H.264 taken individually, even at current promotional rates.

As a result the Alliance for Open Media (AOM) was formed by major hardware and software companies. AOM is developing an alternative to HEVC. AOM has almost all hardware manufacturers of any significance as members.

[1]: Other essential patent holders who have not officially licensed their patents include AT&T, Microsoft, Motorola, Nokia, and Cisco. They may elect to license their patents unilaterally, which adds additional uncertainty to HEVC.

Post reply on HN