Summary: | New option in crop tool: crop only a current frame | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | Tiar <tamtamy.tymona> |
Component: | Animation | Assignee: | Emmet O'Neill <emmetoneill.pdx> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | emmetoneill.pdx, halla, scottpetrovic |
Priority: | NOR | ||
Version: | 4.1.0 beta | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Microsoft Windows | ||
Latest Commit: | https://invent.kde.org/graphics/krita/commit/6931dae16cf9461951a459bb7e85b5c60e3f8763 | Version Fixed In: | |
Sentry Crash Report: |
Description
Tiar
2018-06-26 12:57:16 UTC
I am not sure if cropping one frame makes sense. That would mean each layer could have multiple document sizes...depending on the frame. For the spritesheet example, there is already at least one workflow for doing that. https://github.com/Falano/kritaSpritesheetManager I am not sure if we want to go down the route of having different document sizes for each frame as a solution. That isn't really the purpose of the animation feature. This would probably need more discussion before anything might be done. There are two options in Crop Tool now: crop a layer or crop a canvas (+ all content on all layers round the boundaries of the new canvas size). The first option doesn't change the document/canvas size. I want the first option, just applied to only one frame instead of all frames on the layer. Ahh ok. It is in the tool options for the Crop tool. The section is called "Applies to". I think that is what you are referring to. I think that makes sense then. Yes, I think that would make this a bug. Cropping with "applies to layer" should only affect the current animation frame selected, not all frames for the layer. I was thinking about it as a wish: I would like to have both options, not only one (no matter which one it is). For example, cropping the layer as a whole could help if you want to get rid of the content outside of the canvas (there is never too much of RAM in animation), or if you want to cut something out from every frame on the layer. It's already implemented, so unless you can't easily have both options, removing it doesn't make sense. TL;DR: I would like to be able to choose between Canvas, Frame and Layer in "Applies" area. Git commit 6931dae16cf9461951a459bb7e85b5c60e3f8763 by Emmet O'Neill. Committed on 29/09/2020 at 02:55. Pushed by emmetoneill into branch 'master'. Crop Tool: "Frame" crop type option. Added a new option to the crop tool that allows for cropping only the contents of the active animation frame of the active layer. M +10 -3 libs/image/kis_image.cc M +2 -1 libs/image/kis_image.h M +8 -7 plugins/tools/tool_crop/kis_tool_crop.cc M +3 -1 plugins/tools/tool_crop/kis_tool_crop.h M +9 -4 plugins/tools/tool_crop/wdg_tool_crop.ui https://invent.kde.org/graphics/krita/commit/6931dae16cf9461951a459bb7e85b5c60e3f8763 |