https://bugs.kde.org/show_bug.cgi?id=429294
Bug ID: 429294
Summary: Filesize of importing animation frames
Product: krita
Version: 4.4.1
Platform: Microsoft Windows
OS: Microsoft Windows
Status: REPORTED
Severity: wishlist
Priority: NOR
Component: Animation
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
Hi,
I’ve been using Krita animation for a while, and it’s sometimes necessary to
import animation frames into the Krita files.
But the filesize bloats up very heavily while importing the image sequences.
For example, even if the .PNGs that I imported were around 60mb, the .KRA file
gains 400mb.
(Even if it’s just a few black lines on a transparent background)
Eventually, the file gets too heavy and restricts this type of workflow.
Is there any way that the .kra filesize can be reduced and kept in control?
Maybe even re-optimizing the images after import?
STEPS TO REPRODUCE
I’ve made an example here if anyone wants to check:
https://1drv.ms/u/s!AuS-azz3l43fn5RX9xuJ6mf8Lmooig?e=hrML02
In it,
01_draw_in_krita.kra ----> is a 1mb file in which I animated.
02_exported_png ----> is 1.89mb exported alpha png sequence.
03_imported_png.kra ----> is 10mb file when I reimported the same pngs.
So that’s 10 times the filesize! This is just a tiny test example.
But in actual bigger animation production, this problem intensifies very
heavily very quickly. And this happens while importing images from other
softwares too. So I don’t think it’s a particular .png format issue.
OBSERVED RESULT
Even RAM usage increases:
If I import the .png frames as an additional layer, then the RAM usage goes
from 31MB -> 525 MB and after Save and reopen it’s 505MB with a
.kra file size of 11.4MB.
If I simply duplicate the original layer, to give exactly the same content as
by importing frames, then the RAM usage goes
from 31 MB -> 45MB and after Save and reopen it’s 45MB with a
.kra file size of 2.2 MB.
I think this is kinda expected. If you draw in Krita a blob, Krita will
remember just the blob and some area around. If you import a PNG, even if it’s
mostly fully transparent, it will remember the whole rectangle that Krita
imported, not just the blob.
EXPECTED RESULT
Some post-import optimization would be good. So that we can animate in Krita
without worrying too much about huge filesize and RAM usage. It might end up
being useful for non-animation-importing too.
SOFTWARE/OS VERSIONS
Windows: 10
ADDITIONAL INFORMATION
--
You are receiving this mail because:
You are watching all bug changes.