Issue 574 in webp: dwebp fails with 3(BITSTREAM_ERROR)

24 views
Skip to first unread message

short… via monorail

unread,
Jun 14, 2022, 7:31:07 AMJun 14
to webp-d...@webmproject.org
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 574 by short...@gmail.com: dwebp fails with 3(BITSTREAM_ERROR)
https://bugs.chromium.org/p/webp/issues/detail?id=574

What steps will reproduce the problem?
1. run command: dwebp test.webp -o test.png

What is the expected output? What do you see instead?
I expect test.png to be created.
Instead, dwebp fails with this and does not create test.png:
Decoding of test.webp failed.
Status: 3(BITSTREAM_ERROR)

What version of the product are you using? On what operating system?
dwebp -version
1.2.2
Windows 7 Pro

Please provide any additional information below.
Chrome 102.0.5005.61 does display the image with this:
<html>
<body>
start<br/>
<img src="test.webp"></img><br/>
end<br/>
</body>
</html>

Attachments:
test.webp 146 KB

--
You received this message because:
1. The project was configured to send all issue notifications to this address

You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings

vrab… via monorail

unread,
Jun 14, 2022, 9:28:50 AMJun 14
to webp-d...@webmproject.org

Comment #1 on issue 574 by vra...@google.com: dwebp fails with 3(BITSTREAM_ERROR)
https://bugs.chromium.org/p/webp/issues/detail?id=574#c1

Hi, it seems your image is not a WebP, but a JFIF. You can convert it first to a WebP using cwebp which is able to read such format

short… via monorail

unread,
Jun 14, 2022, 12:22:24 PMJun 14
to webp-d...@webmproject.org

Comment #2 on issue 574 by short...@gmail.com: dwebp fails with 3(BITSTREAM_ERROR)
https://bugs.chromium.org/p/webp/issues/detail?id=574#c2

OMG this is so embarrassing.
Never trust extensions I guess.
Thank you for taking a look and sorry to have wasted your time.
For anybody's reference, there are online tools like this to verify the image type:
https://www.checkfiletype.com/
Reply all
Reply to author
Forward
0 new messages