Image load fails when large png is embadded in svg
Summary:
Image load fails when loading the attached SVG, but browser can open it. SVG contains tag with large PNG file encodded in base64.
Steps to reproduce:
- unzip attachment
- open Inkscape
- load invalid-svg.svg invalid-svg.zip
What happened?
Inkscape shows red X over the screen.

What should have happened?
Should open this image like in Firefox:
Version info
Inkscape 1.2.1 (2ed6d7ae0b, 2022-08-22, custom)
GLib version: 2.72.1
GTK version: 3.24.33
glibmm version: 2.66.2
gtkmm version: 3.24.5
libxml2 version: 2.9.13
libxslt version: 1.1.34
Cairo version: 1.16.0
Pango version: 1.50.6
HarfBuzz version: 2.7.4
OS version: Ubuntu Core 22[invalid-svg.zip](/uploads/191265cde553c6a5e36791a6a8c35c84/invalid-svg.zip)
Edited by Miroljub Tomic
