Summary: | Filesize of importing animation frames | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | Shaheen <shaheen8292> |
Component: | Animation | Assignee: | Krita Bugs <krita-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | tamtamy.tymona |
Priority: | NOR | ||
Version: | 4.4.1 | ||
Target Milestone: | --- | ||
Platform: | Microsoft Windows | ||
OS: | Microsoft Windows | ||
Latest Commit: | https://invent.kde.org/graphics/krita/commit/ec089d615e2916610614524a4adc3a8380bbe7f0 | Version Fixed In: |
Description
Shaheen
2020-11-18 10:03:14 UTC
That would be good to have and not that difficult to do (just run "Trim to layer content" on every paint device that will become frames). Git commit ec089d615e2916610614524a4adc3a8380bbe7f0 by Eoin O'Neill, on behalf of Bip Boop. Committed on 05/01/2022 at 23:32. Pushed by eoinoneill into branch 'master'. Crop imported animation frames to content * Reduces file size * Reduces ram usage Optimization attempt of calculateExactBoundsImpl Purge default pixels unconditionaly on import frame Add a checkbox in settings/general/filehandling to disable croping default pixels on frames import * The option to trim frames on import means that the frame is cropped to the document's dimensions * purgeDefaultPixels is called on each imported frame unconditionally M +6 -8 libs/image/kis_paint_device.cc M +1 -1 libs/ui/actions/KisPasteActionFactories.cpp M +8 -0 libs/ui/dialogs/kis_dlg_preferences.cc M +1 -0 libs/ui/dialogs/kis_dlg_preferences.h M +11 -1 libs/ui/forms/wdggeneralsettings.ui M +7 -0 libs/ui/kis_animation_importer.cpp M +9 -0 libs/ui/kis_config.cc M +3 -0 libs/ui/kis_config.h M +1 -1 plugins/impex/csv/csv_loader.cpp https://invent.kde.org/graphics/krita/commit/ec089d615e2916610614524a4adc3a8380bbe7f0 |