Bug 364046

Summary: Allow to export animation using commandline
Product: [Applications] krita Reporter: Konstantin Dmitriev <ksee.zelgadis>
Component: AnimationAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: tobias.jakobs
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: All   
Latest Commit: Version Fixed In:

Description Konstantin Dmitriev 2016-06-07 06:32:02 UTC
Krita already have possibility to convert KRA files to other formats using commandline (--export option). This is really useful for integration with scripts / other software.

I need a similar option to save animated KRA file to png sequence via commandline (we use that for integration with RenderChan). Thank you!

Reproducible: Always
Comment 1 Tobias 2020-01-07 10:07:36 UTC
I think this bugreport can be closed because Krita 4.2 has --export-sequence:


--export-sequence

    New in version 4.2.

    Export animation to the given filename and exit

    If a KRA file has no animation, then this command prints “This file has no animation.” error and does nothing.

    krita --export-sequence --export-filename file.png test.kra

    This line takes the animation in test.kra, and uses the value of –export-filename (file.png), to determine the sequence fileformat(‘png’) and the frame prefix (‘file’).