Tamas
Tamas

Reputation: 11244

Finding lossy / lossless VP8X bitstream

I am using the Go WebP decoder and it's giving me all the information that I am after except for one.

According to the WebP spec, VP8X signifies the extended file format. As part of this there seems to be a "A bitstream chunk may be either (i) a VP8 chunk, using "VP8 " (note the significant fourth-character space) as its tag or (ii) a VP8L chunk, using "VP8L" as its tag."

The question is, how can I access this? I'd like to extend the go decoder so that if I decode a WebP with VP8X, I wish to know whether the following chunk is VP8 or VP8L.

How would I achieve this?

Upvotes: 0

Views: 307

Answers (0)

Related Questions