I have an image which has a lot of transparency around it and I need the canvas to automatically fit the image. Currently I am doing this by hand with the crop tool. Is there any fit canvas to image function in Krita?

  • It's entirely possible that it doesn't have this functionality, given that it is a painting / drawing application.
    – Joonas
    Mar 2, 2017 at 6:50
  • @Joonas, I fail to understand. I believe that it would be possible to have an automated crop feature which crops out all surrounding transparent pixels until it hits a colors pixel, and then resize the canvas to the cropped area. Mar 3, 2017 at 6:22
  • I mean I don't know if it does have that. It's just that this is an application where brushing stuff on the canvas is the main thing. It would not surprise me if it didn't have it. Like, I'm going to paint this scenery... and then I'll be super artistic and crop it mathematically/automatically. That was just my first thought when I saw this question. Again, I've not used enough of it to know if it has that or not.
    – Joonas
    Mar 3, 2017 at 6:39

2 Answers 2


You can do that in Image > Trim image to current Layer.


If you want to trim the surrounding pixels that are outside the canvas boundaries there is Trim to Image size in the image menu.

This will crop out all the pixels on all layers that are outside the canvas boundary.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.