title: ImageCodecException was thrown resolving an image codec
body: <p>I am using <code>1.27.0-4.0.pre</code> sdk version to my flutter pwa. Before upgrading I used <code>1.24.0-10.2.pre</code> sdk version. in 1.24.0-10.2.pre version everything was good and I don't have any problem is showing svg image with <code>Image.network</code>. But now When I launch my pwa None of my Image is shown ?</p>
  <p><a href="https://i.stack.imgur.com/L3Wmr.png" rel="noreferrer"><img src="https://i.stack.imgur.com/L3Wmr.png" alt="enter image description here" /></a></p>
  <p>This read squarer appear instead of image . And I get this error on console:</p>
  <pre><code>══╡ EXCEPTION CAUGHT BY IMAGE RESOURCE SERVICE ╞════════════════════════════════════════════════════
  The following ImageCodecException was thrown resolving an image codec:
  Failed to decode image data.
  Image source: http://localhost:33033/assets/svgs/splash.svg
  
  When the exception was thrown, this was the stack:
  dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 236:49      throw_
  lib/_engine/engine/canvaskit/image.dart 102:7                                     createDefault
  lib/_engine/engine/canvaskit/skia_object_cache.dart 141:41                        new
  lib/_engine/engine/canvaskit/image.dart 92:3                                      decodeFromBytes
  lib/_engine/engine/canvaskit/image.dart 75:53                                     &lt;fn&gt;
  dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 324:14  _checkAndCall
  dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 329:39  dcall
  dart-sdk/lib/html/dart2js/html_dart2js.dart 37283:58                              &lt;fn&gt;
  dart-sdk/lib/async/zone.dart 1370:13                                              _rootRunUnary
  dart-sdk/lib/async/zone.dart 1265:19                                              runUnary
  dart-sdk/lib/async/zone.dart 1170:7                                               runUnaryGuarded
  dart-sdk/lib/async/zone.dart 1207:26                                              &lt;fn&gt;
  
  Image provider: NetworkImage(&quot;assets/svgs/splash.svg&quot;, scale: 1)
  Image key: NetworkImage(&quot;assets/svgs/splash.svg&quot;, scale: 1)
  </code></pre>
  <p>When I open <code>http://localhost:33033/assets/svgs/splash.svg</code> on chrome, this image exist and is loaded. What is a problem?</p>