It’s up to you and the devs if you want to take my advice.
This is simply advice for beginners to have an easier time. Every artist i meet I try to get them to at least try krita, but they barely last 5 minutes because it works so differently to other programs.
Paintstorm does it non-destructively for the crop-tool. ClipStudio has better UI for resize canvas, and photoshop gives you a warning.
Dear Romio, I think you don’t mean beginners, but people who are used to other programs.
As for me, I’m not a beginner either but my expectation for Crop is Crop Image. …And for some reason, Crop Canvas seems to be the default on my machine; maybe it was in the past (when I installed Krita)? This has actually been annoying me, as I always had to do “Image > Trim to image size” in addition to Crop to get what I wanted
So thank you for teaching me about this option (Crop Layer is something I think I could also sometimes use :)).
Still I would vouch for your suggestion to change the default, so that someone with other expectations does not lose their work! The other way around (my case) is an annoyance but not critical
My test on a Linux system running the appimage showed that a fresh installation defaulted to Image.
This may be different for different versions or for different operating systems, or it may even be random.
Yes, I didn’t question that. Just wanted to explain that for me, the Canvas option (whatever the reason it was selected in my setting) was not what I expected from Crop (as opposed to Romio). But also wanted to clarify that despite this, I agree that Canvas is probably the best default.
I saw your feature request, perfect
Seems more intuitive to me that it crops the image. In every other graphics application I have used, this is the case and to do what you wanted to do, one would create a selection on the layer and choose to crop the layer to the selection.
I don’t, as a rule, want to request features as Krita does what I want it to do. With Image manipulation I might need to crop layers but then I would use Gimp. With Krita I only paint and I don’t make full use of layers when I paint because I am used to traditional media.
Today I discovered the crop tool can do the same as Image -> Resize Canvas....
Been using this script that does the same but using selection bounds.
from krita import Krita
def msg(msg, duration=500, icon_name = "16_light_warning"):
inst = Krita.instance()
inst.activeWindow().activeView().showFloatingMessage(msg, inst.icon(icon_name), duration, 1)
def resize_canvas_from_selection():
inst = Krita.instance()
doc = inst.activeDocument()
if not doc: return
sel = doc.selection()
if not sel:
msg("Nothing is selected")
return
x = sel.x()
y = sel.y()
w = sel.width()
h = sel.height()
doc.resizeImage(x,y,w,h)
resize_canvas_from_selection()
Would be convenient if that combobox remembered the last setting. I’ve tried before to make changes to sharedtooldocker but they usually fail as the UI either doesnt exist yet or is not visible until the user triggers the relevant action.