Issue 593 in webp: Converting webp to jpg using cwebp produces a format unusable by older safari browsers

81 views
Skip to first unread message

tobia… via monorail

unread,
Jan 17, 2023, 7:06:03 AMJan 17
to webp-d...@webmproject.org
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 593 by tobia...@live.com: Converting webp to jpg using cwebp produces a format unusable by older safari browsers
https://bugs.chromium.org/p/webp/issues/detail?id=593

What steps will reproduce the problem?
1. Use cwebp to convert webp to jpg (can even convert jpg to jpg)
2. Check if it loads in a safari browser of version 11 or older (sauce labs has a free tool)
3. See error loading the resource in dev tools network tab

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


What version of the product are you using? On what operating system?
CWEBP 1.2.2
MacOS 12.5

Please provide any additional information below.

Safari browsers of version 11 or older do not support WebP format. We can use CWEBP to convert our webp images to jpg or png. The conversion however, results in an image that is not usable by these same browsers that do not support webp.

--
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,
Jan 17, 2023, 8:54:16 PMJan 17
to webp-d...@webmproject.org
Updates:
Labels: Needs-Feedback

Comment #1 on issue 593 by jz...@google.com: Converting webp to jpg using cwebp produces a format unusable by older safari browsers
https://bugs.chromium.org/p/webp/issues/detail?id=593#c1


> We can use CWEBP to convert our webp images to jpg or png. The conversion
> however, results in an image that is not usable by these same browsers that
> do not support webp.

Do you mean dwebp to create the jpg or png files from a webp file? cwebp will only create webp files; it doesn't pay attention to the extension of the output file.

tobia… via monorail

unread,
Jan 18, 2023, 4:27:21 AMJan 18
to webp-d...@webmproject.org

Comment #2 on issue 593 by tobia...@live.com: Converting webp to jpg using cwebp produces a format unusable by older safari browsers
https://bugs.chromium.org/p/webp/issues/detail?id=593#c2

Hi JZ,

I was of the understanding that I can use cwebp to convert images by changing the output extension, not only to webp but also from webp back to other file types. I understand from your comment that this is not the case. Therefore, the issue I created is solved.

Thank you for your time.

jz… via monorail

unread,
Jan 18, 2023, 3:38:50 PMJan 18
to webp-d...@webmproject.org
Updates:
Labels: -Needs-Feedback
Status: Invalid

Comment #3 on issue 593 by jz...@google.com: Converting webp to jpg using cwebp produces a format unusable by older safari browsers
https://bugs.chromium.org/p/webp/issues/detail?id=593#c3

Thanks for the update. If you run into any issues with dwebp feel free to open another issue.
Reply all
Reply to author
Forward
0 new messages