Bug 376986

Summary: Export frames : make it faster by not re-rendering a frame that does not changes
Product: [Applications] krita Reporter: gordie.lachance+dev
Component: AnimationAssignee: Eoin O'Neill <eoinoneill1991>
Status: RESOLVED FIXED    
Severity: wishlist CC: eoinoneill1991, griffinvalley, halla
Priority: NOR    
Version: 3.1.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description gordie.lachance+dev 2017-02-27 16:10:15 UTC
Hi, I don't know if this is possible and I'm sure it's not easy to do, but here is an idea.

Rendering an animation is quite slow, I guess "compiling" a single frame takes some ressources (merging layers, etc).

But when a frame from the timeline has not undergone any change compared to the previous one (no keyframes, no tweens, ...); it should not be re-rendered but only 'duplicated'.
Maybe this could make the render faster.
Comment 1 wolthera 2017-05-23 15:53:33 UTC
This sounds like a good idea, but I cannot imagine how this would be figured out programatically.
Comment 2 Eoin O'Neill 2020-04-14 19:40:14 UTC
This is resolved as of the following commit:

https://invent.kde.org/kde/krita/commit/7db236a20f6dcb7c7a897d0337af6c96dc411cde

Note -- more performance improvements could be possible by sym-linking rendered in-between frames for video rendering, but windows prevents that from being possible due to lack of native (natural) sym-link support. For now, rendering the frame happens once and all duplicate frames are copied from the hard disk and deleted later.