Files
2026-03-06 19:37:27 -05:00

969 B

Export layers in Krita as numbered files.

This python script exports Krita layers in the format of fileName_layerIndex_layerName.

How to use

  1. Go to Tools -> Scripts -> Scripter and:
    1. paste the Python script into the text editor section OR
    2. go to File -> Open, navigate through the pop up file explorer and click on the python script.
  2. Run the Python script by hitting the play button or typing Ctrl + R. The name of every layer exported will be printed to the console. Your exported files should be in a folder near to your Krita project file.

Warning

  • You should export from a saved Krita project. An unsaved project will export the files into your home directory (within a folder named exported_layers or whatever you set the export_directory to in the script.).
  • This has only been tested to work on Linux and Windows 11.
  • You MUST have a background layer (a blank one) because background layers are ignored.