Live data from Hacker News

QOI – The “Quite OK Image Format” for fast, lossless image compression

github.com

1–10 of 105 posts

Re: QOI – The “Quite OK Image Format” for fast, lossless image compression

#2
A couple previous interesting discussions from this past month:

- "The QOI File Format Specification" 214 points | 3 days ago | 54 comments: https://news.ycombinator.com/item?id=29625084

- "QOI: Lossless Image Compression in O(n) Time" 1057 points | 29 days ago | 293 comments: https://news.ycombinator.com/item?id=29328750

Re: QOI – The “Quite OK Image Format” for fast, lossless image compression

#3
Is there any open source audio compression format like that? Lossless and very fast. I haven't found any yet.

EDIT: I'm thinking about a format that would be suitable as a replacement for uncompressed WAV files in DAWs. Rendered tracks often have large sections of silence and uncompressed WAVs have always seemed wasteful to me.

Re: QOI – The “Quite OK Image Format” for fast, lossless image compression

#4

Is there any open source audio compression format like that? Lossless and very fast. I haven't found any yet. EDIT: I'm thinking about a format that would be suitable as a replacement for uncompressed WAV files in DAWs. Rendered tracks often have large sections of silence and uncompressed WAVs have always seemed wasteful to me.

gzip -1 is lossless and fast. It will somewhat compress pcm data :)

Re: QOI – The “Quite OK Image Format” for fast, lossless image compression

#6

Is there any open source audio compression format like that? Lossless and very fast. I haven't found any yet. EDIT: I'm thinking about a format that would be suitable as a replacement for uncompressed WAV files in DAWs. Rendered tracks often have large sections of silence and uncompressed WAVs have always seemed wasteful to me.

ALAC? FLAC? What is the problem with these?

Re: QOI – The “Quite OK Image Format” for fast, lossless image compression

#7

Is there any open source audio compression format like that? Lossless and very fast. I haven't found any yet. EDIT: I'm thinking about a format that would be suitable as a replacement for uncompressed WAV files in DAWs. Rendered tracks often have large sections of silence and uncompressed WAVs have always seemed wasteful to me.

FLAC is always lossless, but has a variable compression ratio so you can trade compression for speed.

Using the command line "flac" tool, "flac -0" is the fastest, "flac -8" is the slowest, but produces the smallest files.

In my experience, 0-2 all produce roughly equivalent sized files, as do 4-8.

Re: QOI – The “Quite OK Image Format” for fast, lossless image compression

#8

Is there any open source audio compression format like that? Lossless and very fast. I haven't found any yet. EDIT: I'm thinking about a format that would be suitable as a replacement for uncompressed WAV files in DAWs. Rendered tracks often have large sections of silence and uncompressed WAVs have always seemed wasteful to me.

ALAC? FLAC? What is the problem with these?

FLAC is limited to 24 bit depth. I was thinking of intermediate format suitable for use in DAWs and samplers that also supports floating point to avoid clipping.

Re: QOI – The “Quite OK Image Format” for fast, lossless image compression

#9
post #4

Is there any open source audio compression format like that? Lossless and very fast. I haven't found any yet. EDIT: I'm thinking about a format that would be suitable as a replacement for uncompressed WAV files in DAWs. Rendered tracks often have large sections of silence and uncompressed WAVs have always seemed wasteful to me.

gzip -1 is lossless and fast. It will somewhat compress pcm data :)

You would loose fast seeking ability with gzip. Or am I mistaken?

Re: QOI – The “Quite OK Image Format” for fast, lossless image compression

#10
If QOI is interesting because of speed, you might take a look at fpng, a recent/actively developed png reader/writer that is achieving comparable speed/compression to QOI, while staying png compliant.

https://github.com/richgel999/fpng

Disclaimer: have not actively tried either.

Post reply on HN