<?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>219977</bug_id>
          
          <creation_ts>2020-12-16 22:19:25 -0800</creation_ts>
          <short_desc>WebP loading error in Safari on iOS 14.3</short_desc>
          <delta_ts>2025-12-15 07:57:03 -0800</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 14</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>iOS 14</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=236622</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Takuya Yamazaki">zproject.develop</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bobsingor</cc>
    
    <cc>bouakkazridha1110</cc>
    
    <cc>BRAIDYMERKLE</cc>
    
    <cc>e</cc>
    
    <cc>erik+webkit</cc>
    
    <cc>mail</cc>
    
    <cc>mathias.latournerie</cc>
    
    <cc>me</cc>
    
    <cc>radek.sery</cc>
    
    <cc>steven</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1715321</commentid>
    <comment_count>0</comment_count>
      <attachid>416391</attachid>
    <who name="Takuya Yamazaki">zproject.develop</who>
    <bug_when>2020-12-16 22:19:25 -0800</bug_when>
    <thetext>Created attachment 416391
Reproducible image

Some WebP images can no longer be read in iOS 14.3.
There was no problem until iOS 14.2.

We have prepared a page to check the problem.
https://zprodev.github.io/ios14_3_webp_error/index.html

User Agent on my device : Mozilla/5.0 (iPhone; CPU iPhone OS 14_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.2 Mobile/15E148 Safari/604.1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1715864</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2020-12-18 17:06:57 -0800</bug_when>
    <thetext>&lt;rdar://problem/72485913&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1717331</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2021-01-05 08:57:47 -0800</bug_when>
    <thetext>*** Bug 220317 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1717334</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2021-01-05 08:59:12 -0800</bug_when>
    <thetext>Thank you for the report! Marking as invalid because this was determined to be an issue in system frameworks below WebKit. This will continue to be investigated by Apple internally.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1719914</commentid>
    <comment_count>4</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2021-01-15 10:08:13 -0800</bug_when>
    <thetext>*** Bug 220629 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1720954</commentid>
    <comment_count>5</comment_count>
    <who name="Yusuke Suzuki">ysuzuki</who>
    <bug_when>2021-01-20 11:48:58 -0800</bug_when>
    <thetext>*** Bug 220775 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1721010</commentid>
    <comment_count>6</comment_count>
    <who name="Eric Portis">e</who>
    <bug_when>2021-01-20 14:40:47 -0800</bug_when>
    <thetext>Cloudinary is attempting to work around this issue by turning off WebP support to affected clients.

If this is indeed about the underlying OS frameworks, rather than the browser version, as far as we can tell it appeared sometime after MacOS 11.0.1 and before or in 11.1.0. All we have been able to narrow down on the iOS side is ≥14.0.

If you have additional guidance on which versions of the OSes are affected, so that we can prevent Safari users from receiving broken images, it would be much appreciated!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1721940</commentid>
    <comment_count>7</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2021-01-24 17:13:14 -0800</bug_when>
    <thetext>*** Bug 220853 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1722753</commentid>
    <comment_count>8</comment_count>
    <who name="Perry">me</who>
    <bug_when>2021-01-26 15:45:29 -0800</bug_when>
    <thetext>I have some more version numbers, although I&apos;m uncertain if they give anything not already known.
Fails (i.e., image doesn&apos;t load): iOS 14.3, iOS 14.4, macOS 11.1
Works: iOS 14.0.1 

I&apos;m uploading a second image which fails in the same scenarios as the page linked in the initial report.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1722754</commentid>
    <comment_count>9</comment_count>
      <attachid>418482</attachid>
    <who name="Perry">me</who>
    <bug_when>2021-01-26 15:46:45 -0800</bug_when>
    <thetext>Created attachment 418482
A second bad WebP image

Downloaded from &lt;https://commons.wikimedia.org/wiki/File:Chessboard480.svg&gt; via cURL:

    curl &apos;https://upload.wikimedia.org/wikipedia/commons/thumb/d/d7/Chessboard480.svg/416px-Chessboard480.svg.png&apos; -H &apos;Accept: image/webp&apos; --output &apos;WebP loading error.webp&apos;

Replacing &quot;416&quot; with &quot;200&quot; gives a WebP file that /does/ work. I haven&apos;t tested much further beyond that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1723055</commentid>
    <comment_count>10</comment_count>
    <who name="Eric Portis">e</who>
    <bug_when>2021-01-27 10:42:34 -0800</bug_when>
    <thetext>Re: Perry in Comment #9

When I replace &quot;416&quot; with &quot;200&quot; I actually get a PNG back instead of a WebP? Not sure what decision making is happening on the server...

---

I compiled all of the example images here, plus a couple that we&apos;ve received from Cloudinary customers:

https://ericportis.com/etc/broken-webps/

The one pattern that jumps out to me is that most of the broken images seem to have palletized color information in some channel; sometimes in the alpha channel (e.g., &quot;lamp&quot;), other times in color channels (e.g., &quot;stripes&quot;, &quot;chessboard&quot;).

Two possible exceptions are &quot;blue&quot; and &quot;text&quot;. Looking at the image content I would kind of expect indexing (they both have very limited color palletes), but their webpinfos don&apos;t mention indexing as a transform, as every other image does...

If anyone from Apple could confirm our understanding of which versions of MacOS and iOS are affected, or share any information that could give us a sense of either the scale or cause of the problem, it would be *very* helpful.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1723064</commentid>
    <comment_count>11</comment_count>
    <who name="Perry">me</who>
    <bug_when>2021-01-27 11:01:22 -0800</bug_when>
    <thetext>(In reply to Eric Portis from comment #10)
&gt; Re: Perry in Comment #9
&gt; 
&gt; When I replace &quot;416&quot; with &quot;200&quot; I actually get a PNG back instead of a WebP?
&gt; Not sure what decision making is happening on the server...
If the Accept header is set to image/webp it serves it as a webp for me—going to the URL in a browser seems to serve it as a PNG. (See the curl command in comment 8.)

I&apos;m not super confident that there&apos;ll be too much follow-up on the bug itself, especially as this isn&apos;t even a WebKit issue, but an internal one. I&apos;m happy to be proved wrong though ;).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1723090</commentid>
    <comment_count>12</comment_count>
    <who name="Eric Portis">e</who>
    <bug_when>2021-01-27 11:49:19 -0800</bug_when>
    <thetext>Re: Perry in Comment #10

% curl &apos;https://upload.wikimedia.org/wikipedia/commons/thumb/d/d7/Chessboard480.svg/200px-Chessboard480.svg.png&apos; -H &apos;Accept: image/webp&apos; --output &apos;isthisa.webp&apos;; webpinfo isthisa.webp; exiftool isthisa.webp
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   668  100   668    0     0   3976      0 --:--:-- --:--:-- --:--:--  3952
File: isthisa.webp
Errors detected.
ExifTool Version Number         : 12.00
File Name                       : isthisa.webp
Directory                       : .
File Size                       : 668 bytes
File Modification Date/Time     : 2021:01:27 11:47:56-08:00
File Access Date/Time           : 2021:01:27 11:47:56-08:00
File Inode Change Date/Time     : 2021:01:27 11:47:56-08:00
File Permissions                : rw-r--r--
File Type                       : PNG
File Type Extension             : png
MIME Type                       : image/png
Image Width                     : 200
Image Height                    : 200
Bit Depth                       : 8
Color Type                      : RGB
Compression                     : Deflate/Inflate
Filter                          : Adaptive
Interlace                       : Noninterlaced
Background Color                : 255 255 255
Image Size                      : 200x200
Megapixels                      : 0.040</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1724476</commentid>
    <comment_count>13</comment_count>
    <who name="Eric Portis">e</who>
    <bug_when>2021-02-01 17:16:11 -0800</bug_when>
    <thetext>Tried my luck at creating WebPs that fail today... had some luck but am more confused now than ever.

https://ericportis.com/etc/tiny-webps/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1734051</commentid>
    <comment_count>14</comment_count>
      <attachid>421723</attachid>
    <who name="Erik Bročko">erik+webkit</who>
    <bug_when>2021-02-26 15:57:58 -0800</bug_when>
    <thetext>Created attachment 421723
Solid black color

This is what cwebp spits out for a PNG with purely black color.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1734052</commentid>
    <comment_count>15</comment_count>
      <attachid>421724</attachid>
    <who name="Erik Bročko">erik+webkit</who>
    <bug_when>2021-02-26 16:00:25 -0800</bug_when>
    <thetext>Created attachment 421724
Solid hex 121212 color

And this is even smaller image filled only with RGB hex 121212 color.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1762455</commentid>
    <comment_count>16</comment_count>
    <who name="braids">BRAIDYMERKLE</who>
    <bug_when>2021-05-21 09:53:16 -0700</bug_when>
    <thetext>fwiw to anyone looking into this issue: an OS upgrade to 14.5.1 appears to have resolved this bug for me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1849726</commentid>
    <comment_count>17</comment_count>
      <attachid>454255</attachid>
    <who name="Bob Singor">bobsingor</who>
    <bug_when>2022-03-09 09:53:50 -0800</bug_when>
    <thetext>Created attachment 454255
Example of a webp image that is not working on Safari</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1914199</commentid>
    <comment_count>18</comment_count>
    <who name="Eric Portis">e</who>
    <bug_when>2022-11-22 16:18:29 -0800</bug_when>
    <thetext>This issue appears to have been fully fixed in macOS 13 Ventura.

However, today I discovered a seemingly-related issue, affecting JPEG2000s.

https://bugs.webkit.org/show_bug.cgi?id=248249
FB11815925</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2165920</commentid>
    <comment_count>19</comment_count>
      <attachid>421723</attachid>
    <who name="">bouakkazridha1110</who>
    <bug_when>2025-12-15 07:56:19 -0800</bug_when>
    <thetext>Comment on attachment 421723
Solid black color

RIDHA RB12</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2165921</commentid>
    <comment_count>20</comment_count>
    <who name="">bouakkazridha1110</who>
    <bug_when>2025-12-15 07:57:03 -0800</bug_when>
    <thetext>(In reply to Alexey Proskuryakov from comment #4)
&gt; *** Bug 220629 has been marked as a duplicate of this bug. ***

&lt;input type=&quot;file&quot; accept=&quot;image/*&quot; capture&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>416391</attachid>
            <date>2020-12-16 22:19:25 -0800</date>
            <delta_ts>2020-12-16 22:19:25 -0800</delta_ts>
            <desc>Reproducible image</desc>
            <filename>error.webp</filename>
            <type>image/webp</type>
            <size>812</size>
            <attacher name="Takuya Yamazaki">zproject.develop</attacher>
            
              <data encoding="base64">UklGRiQDAABXRUJQVlA4TBcDAAAvj8OHEO/iIJIkRUr/Cg8cwDNj2YAcSZIiyc1Wf/1498/Mdx1u
I0lSpPTfwrt79SVm/t9y3EiSIlUtHDOfEeu/R/djht7OgCrwBvigBUhQ7SuBSpUq/f7/gPvzkRXP
9yuX7eZ3uV2j0rxYvb9/Pyr9x2B/PESlShXP94thOr0rVVSq9JyMZtmsOzAWMIwNDKOBMUEPxhiG
MYaxwwAjVDBKFNW9OuILqg9AVJ//GAf8/mN8wX+MN7JqAUACBK4AP1yQAB8ErgBAlm3bqhOdc9/j
GZIEIri7u7vbDe7Q/4Y4/J6qsSL6PwHy6fDU0sraptFdXV6cGpVvjs/3V4qNDWp0c03FSs/8+Jem
+8u1anyzcv/0Z4MzXXlVF0ZxYnTjmtCp5tpnhz6abc3URYnxjZymLbMfTHemGiQGONC0c1pExvpz
GiQmONBc/4TIXFldYoSdlhZkpC/TyApFmvWNTFbUJWbYaWVysaihHQq1uLhS0MgORVpYWWvQ2A7F
Wr++qZoYYtVN/If/8B/+w3/4D//hP/yH//Af/vvv2YCp/RuWF//hP/yH//Af/sN/+A//4T/8h//w
H/7Df/gP/+E//If/8B/+w3/4D//hP/yH//Af/sN/+A//4T/8h//wH/7Df/gP/+E//If/8B/+w3/4
D//hP/yH//Af/sN/+A//4T/8h//wH/7Df/gP/+E//If/8B/+w3/4D//hP/yH//Af/sN/+A//4T/8
h//wH/7Df/gP/+E//If/8B/+w3/4D//hP/yH//Dfv6vWGjS2Q7HWr68UNLJDkRZWlooa2qFQi4uT
FXV2yGllcrQ308gKRZr1jspuSZ0VclraFTnuz2lggwLN9R+L3Bx0pBpYoEDTjoNbkXu/15qpi6xP
5DRt3vP3Iq/V8/2uvKoLo9jqxFHoVHNte2fVVxG58/6gv5Sp8c1K/Qfe34mIvF16f7TTXykW6qxO
XaFY6d458v7y7Z08ee/96eH21sam0d3Y2j488d77J/n4sept8IN8/nxlgS6f5Ktvd1XrU717k2++
3d9cX1idi+ub+xf5FAA=
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>418482</attachid>
            <date>2021-01-26 15:46:45 -0800</date>
            <delta_ts>2021-01-26 15:46:45 -0800</delta_ts>
            <desc>A second bad WebP image</desc>
            <filename>WebP loading error.webp</filename>
            <type>image/webp</type>
            <size>98</size>
            <attacher name="Perry">me</attacher>
            
              <data encoding="base64">UklGRloAAABXRUJQVlA4TE4AAAAvn8FnAA/wXudL/98zdf5jCQraSJFwgH+XOIB7x8Ekov9i0gQL
7LVCXFVf2SfiW94WBUXAGCgoAsZAQREwBgqKgDFQUASMgYIiYAwMFBE=
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>421723</attachid>
            <date>2021-02-26 15:57:58 -0800</date>
            <delta_ts>2021-02-26 15:57:58 -0800</delta_ts>
            <desc>Solid black color</desc>
            <filename>color_000000.webp</filename>
            <type>image/webp</type>
            <size>54</size>
            <attacher name="Erik Bročko">erik+webkit</attacher>
            
              <data encoding="base64">UklGRi4AAABXRUJQVlA4TCIAAAAvV8KVAAcQEf0PACjS//8U0f/U//73v//973//+9///oce
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>421724</attachid>
            <date>2021-02-26 16:00:25 -0800</date>
            <delta_ts>2021-02-26 16:00:25 -0800</delta_ts>
            <desc>Solid hex 121212 color</desc>
            <filename>color_121212.webp</filename>
            <type>image/webp</type>
            <size>38</size>
            <attacher name="Erik Bročko">erik+webkit</attacher>
            
              <data encoding="base64">UklGRh4AAABXRUJQVlA4TBEAAAAvn8AnAAdQiUpUov+BiOh/AAA=
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>454255</attachid>
            <date>2022-03-09 09:53:50 -0800</date>
            <delta_ts>2022-03-09 09:53:50 -0800</delta_ts>
            <desc>Example of a webp image that is not working on Safari</desc>
            <filename>img_p14_2.webp</filename>
            <type>image/webp</type>
            <size>242</size>
            <attacher name="Bob Singor">bobsingor</attacher>
            
              <data encoding="base64">UklGRuoAAABXRUJQVlA4TN4AAAAvB8fgEBcgEEjyp9lwDQFB0Xi/CQSS/HEWfP4D/hUwiCQpzoFH
/GAHlJL/T0f0fwKC//mf//mf//mf//mf//mf//mf/5+I/aLUoxyXY+U//uM//uM//uM//uM//uM/
/uM//uM//uM//uM//uM//uM//uM//uM//uM//uM//uM//uM//uM//uM//uM//uM//uM//uM//uM/
/uM//uM//uM//uM//uOqcpon/uM//uM//uM//uM//uM//vs8GnyetT7YjoafZynWm//4j//4742E
//mf//mf//mf//mfHgE=
</data>

          </attachment>
      

    </bug>

</bugzilla>