Unable to export figure to EPS if non-zero non-one opacity on object and a large canvas is used (no problems with fill/stroke-opacity)

Migrated from https://bugs.launchpad.net/inkscape/+bug/603623

Summary:

Unable to save an SVG file to PS / EPS.

Steps to reproduce:

What happened?

An error message is displayed, without further information.

On the CLI, additional info is shown:

** (org.inkscape.Inkscape:15720): CRITICAL **: 20:39:44.228: error while rendering output: invalid value (typically too big) for the size of the input (surface, pattern, etc.)
Failed to save PS/EPS/PDF to: NewRoad2.eps

What should have happened?

At least a better error message should be displayed. The page dimensions of 13000x9600 px don't seem excessive.

Version info


Inkscape 1.2-alpha (0bd5040e63, 2022-02-05)

    GLib version:     2.70.3
    GTK version:      3.24.31
    glibmm version:   2.66.2
    gtkmm version:    3.24.5
    libxml2 version:  2.9.12
    libxslt version:  1.1.34
    Cairo version:    1.17.4
    Pango version:    1.50.3
    HarfBuzz version: 3.2.0

    OS version:       Windows 10 20H2
Edited by Nathan Lee