<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>241758</bug_id>
          
          <creation_ts>2022-06-19 01:50:45 -0700</creation_ts>
          <short_desc>Unable to decode certain webp images</short_desc>
          <delta_ts>2022-06-20 09:44:43 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Images</component>
          <version>Safari 15</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>232398</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Lucas Meurer">lucasmeurer96</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>sabouhallawa</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1876660</commentid>
    <comment_count>0</comment_count>
      <attachid>460335</attachid>
    <who name="Lucas Meurer">lucasmeurer96</who>
    <bug_when>2022-06-19 01:50:45 -0700</bug_when>
    <thetext>Created attachment 460335
Example Image

Hi! I ran into a problem where Safari is unable to decode certain webp images. 
These images decode fine in chrome and firefox, so I don&apos;t think it&apos;s a problem with the image file. 

It seems like this only affects empty / single color webp images. 
As soon as there is some content in it it opens fine.

I attached an example image.
In case it&apos;s helpful: The image was generated using node-canvas and encoded to webp with sharp.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1876800</commentid>
    <comment_count>1</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2022-06-20 09:44:43 -0700</bug_when>
    <thetext>This looks like a dupe of this other issue.

*** This bug has been marked as a duplicate of bug 232398 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>460335</attachid>
            <date>2022-06-19 01:50:45 -0700</date>
            <delta_ts>2022-06-19 01:50:45 -0700</delta_ts>
            <desc>Example Image</desc>
            <filename>original.webp</filename>
            <type>image/webp</type>
            <size>212</size>
            <attacher name="Lucas Meurer">lucasmeurer96</attacher>
            
              <data encoding="base64">UklGRswAAABXRUJQVlA4TMAAAAAvz8fzAQfQi/pVsf8BIUHi//cmIvqf8Z///Oc///nPf/7zn//8
5z//+c9//vOf//znP//5z3/+85///Oc///nPf/7zn//85z//+c9//vOf//znP//5z3/+85///Oc/
//nPf/7zn//85z//+c9//vOf//znP//5z3/+85///Oc///nPf/7zn//85z//+c9//vOf//znP//5
z3/+85///Oc///nPf/7zn//85z//+c9//vOf//znP//5z3/+85//YwA=
</data>

          </attachment>
      

    </bug>

</bugzilla>