Add an option to export the whole page when when using Batch Export

Summary:

This is a feature request.

Right now layers can be batch exported, but only with the dimensions of the elements on them.

In order to make it easier to further process exported layers with a graphics tool like Gimp, it would be nice to have the option to export layers as raster images with the dimensions of the whole page. This way the exported layers can be restacked in Gimp with the same position relative to each other as they were in Inkscape.

Ideally, Inkscape should be able to export all layers into a layered xcf file or other raster format that supports layers.

Steps to reproduce:

  • open Inkscape
  • create two new layers
  • draw rectangle on each layer so that just their corner nodes touch
  • batch export layers

What happened?

The layers get exported, but just with the dimensions of the rectangles on them. When imported into Gimp as layers, the relative positioning of the rectangles to each other is lost.

What should have happened?

There should be an option to export layers with the dimensions of the whole page. This way the positioning of the rectangles relative to each other is preserved when imported. Ideally, Inkscape would export layers directly to a raster format that supports layers like xcf.

Sample attachments:

Version info


Edited by Sebastian Koehler