Issue 580 in webp: imagewebp make corrupt file

210 views
Skip to first unread message

imotr… via monorail

unread,
Aug 17, 2022, 7:15:01 PM8/17/22
to webp-d...@webmproject.org
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 580 by imotr...@gmail.com: imagewebp make corrupt file
https://bugs.chromium.org/p/webp/issues/detail?id=580

What steps will reproduce the problem?
1. Make a migration for mysql from php (Yii 1.1)
2. In the migration declare a static function that convert image (jpg, png, etc) to webp.
3. Try update the attached image.
4. See that the file created is a corrupt file.

What is the expected output? What do you see instead?


The webp image should be created correctly


What version of the product are you using? On what operating system?




Please provide any additional information below.


I am trying to migrate images from a database from .jpg to .webp format, but this migration failed with a specific image.


I have tried to convert this same image to .webp from another functionality and if it can be converted to .webp.

I have also tried to convert other images that are in the same folder and these can be changed to .webp

Attachments:
c9781ed7302705b7613d3d3583b56cab.jpg 4.0 MB

--
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

jz… via monorail

unread,
Aug 17, 2022, 7:44:15 PM8/17/22
to webp-d...@webmproject.org
Updates:
Labels: Needs-Feedback

Comment #1 on issue 580 by jz...@google.com: imagewebp make corrupt file
https://bugs.chromium.org/p/webp/issues/detail?id=580#c1


> 1. Make a migration for mysql from php (Yii 1.1)
> 2. In the migration declare a static function that convert image (jpg, png, etc) to webp.

Sorry, I'm not familiar with what you're describing here. It sounds like the
conversion is being handled by php, do you have an example?

That isn't a part of libwebp, though. Using the cwebp tool, which relies on
libjpeg-turbo 2.1.2 in my case, I'm able to encode the image.

jz… via monorail

unread,
Dec 15, 2022, 8:41:40 PM12/15/22
to webp-d...@webmproject.org
Updates:
Status: Invalid

Comment #2 on issue 580 by jz...@google.com: imagewebp make corrupt file
https://bugs.chromium.org/p/webp/issues/detail?id=580#c2

Closing this due to lack of activity. If you are still having an issue and can answer the open questions, please feel free to reopen the bug.
Reply all
Reply to author
Forward
0 new messages