Bug 382537

Summary: Remove embedding textures in brush presets
Product: [Applications] krita Reporter: DoubleDee <kopi56>
Component: Brush enginesAssignee: Krita Bugs <krita-bugs-null>
Status: CONFIRMED ---    
Severity: wishlist CC: halla
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description DoubleDee 2017-07-20 12:38:29 UTC
Currently, when a brush preset uses a pattern, whole pattern image is saved inside the kpp file. It creates two issues: brush presets use unnecessary higher disk space and kpp files over a certain filesize (somewhere around 6.5 MB) don't load when program starts (preset is not in the brush presets list) - it happens when a texture is big in size.
When pattern is missing from texture folder, brush preset informs about the missing resource anyway.

My suggestion is remove packing pattern into a kpp file completely.
Comment 1 Halla Rempt 2017-07-27 13:47:26 UTC
For this something else is needed as well: patterns used in brush presets should be saved to bundles, similar to how we save only the name of a brush tip, instead of the brush tip data.
Comment 2 Halla Rempt 2017-07-27 13:49:40 UTC
It will also need some careful management if we don't want to break older brush packs. Setting to wish.