question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

WebP2 decoder fails on some images

See original GitHub issue
  1. Open the Squoosh logo in squoosh.
  2. Encode a lossless WP2 (either by setting the quality to 100 in dev or checking lossless in wp2-options). Works fine.
  3. Reduce palette. Fails to decode!

It’s possible that the encoder is producing a bad file in this case, I guess.

@surma @RReverser who wants to take this?

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
surmacommented, Nov 23, 2020

The decoder returns WP2_STATUS_BITSTREAM_ERROR, so I am assuming that @RReverser is right that an update of the library is likely to fix this.

0reactions
kosamaricommented, Jul 1, 2021

Note to contributors: this maybe investigative work

Read more comments on GitHub >

github_iconTop Results From Across the Web

WebP 2 - Google Git
This package contains the library that can be used in other programs to encode or decode Webp 2 images, as well as command...
Read more >
WebP2 image codec [Archive] - Doom9's Forum
[Archive] WebP2 image codec New and alternative video codecs. ... ERROR: Failed to encode: Decoding of color planes failed
Read more >
Failed to decode some webp images in iOS12.0 #2354 - GitHub
but in google chrome is good; YYWebImage which uses libWebp library is good .
Read more >
WebP2 vs AVIF (and more) image comparison : r/AV1 - Reddit
In a few images it also just gets very blocky vs webp2 that still looks fine. Might just be different failure modes at...
Read more >
WebP 2: experimental successor of the WebP image format
The WebP 2 experimental codec is mostly pushing the features of WebP further in ... ​And some questions from me, how to encode...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found