# Fit canvas to all layers without trimming?

**URL:** <https://krita-artists.org/t/fit-canvas-to-all-layers-without-trimming/126823>\
**Category:** General Questions\
**Tags:** linux, version-5\
**Created:** [June 15, 2025, 8:22pm UTC](https://krita-artists.org/t/fit-canvas-to-all-layers-without-trimming/126823 "2025-06-15T20:22:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![alienrobot](https://krita-artists.org/letter_avatar_proxy/v4/letter/a/7cd45c/32.png) [@alienrobot](https://krita-artists.org/u/alienrobot)\
**Post date:** [June 15, 2025, 8:22pm UTC](https://krita-artists.org/t/fit-canvas-to-all-layers-without-trimming/126823/1 "2025-06-15T20:22:28Z")

</div>

Is it just me or is Krita still missing this option? I found a workaround here [How automatic fit canvas to all my layers - #7 by Takiro](https://krita-artists.org/t/how-automatic-fit-canvas-to-all-my-layers/22105/7) from 2021. It says there is a wishlist bug but I couldn’t find it.

I was trying to use Krita instead of Inkscape for creating a graphic, but usually when I do this I stack multiple images vertically such that some end up outside the canvas, and then I resize to fit the layers so they are all visible. Krita only seems to have the option to trim the layers which deletes pixels.

---

<div class="post-metadata">

**Author:** ![AhabGreybeard](https://krita-artists.org/user_avatar/krita-artists.org/ahabgreybeard/32/2969_2.png) [@AhabGreybeard](https://krita-artists.org/u/AhabGreybeard)\
**Post date:** [June 17, 2025, 10:48am UTC](https://krita-artists.org/t/fit-canvas-to-all-layers-without-trimming/126823/2 "2025-06-17T10:48:48Z")

</div>

It’s not just you.  
Here is that Wishlist bug report. You can do an advanced search where you can specify many parameters including the names of people involved, which is how I found it:

> **[415600 – Wishlist: Improved and additional Image Resize functions](https://bugs.kde.org/show_bug.cgi?id=415600)**

There has been some work on a script for this and scripts can be activated by custom keyboard shortcuts:

> [@Canvas Expander , resize canvas based on all paintlayers and active view](https://krita-artists.org/t/canvas-expander-resize-canvas-based-on-all-paintlayers-and-active-view/76109):
>
> Canvas Expander A krita extension that supplies helpful canvas related operations to help speed up workflow. Features Resize the document to fit all paint layers and viewport bounds, With options for just the layers or just the selected layer. Note that this does not trim the layers unlile ‘trim to selection’. The main utility of this function is to have something akin to mypaints infinite canvas. Scale the document to zoom, dynamically re-scale the document based on current zoom makin…

With regard to my reply in the topic:

> [@Canvas Expander , resize canvas based on all paintlayers and active view](https://krita-artists.org/t/canvas-expander-resize-canvas-based-on-all-paintlayers-and-active-view/76109/10):
>
> Thank you @TLTAA +1 I’ll try this later in the day when I have time to concentrate on it and I’ll let you know if I have any difficulties with it.

I didn’t get around to trying it and testing it. 😬 Maybe you could do that?

P.S. Thank you for your excellent tutorial/information websites that you’ve recently posted links to. I’ve bookmarked this one and will try it one day when I have time:

> **[How to Install DaVinci Resolve in Linux Mint](https://www.virtualcuriosities.com/articles/1784/how-to-install-davinci-resolve-in-linux-mint)**
>
> Tutorial, learn how to install DaVinci Resolve 19 in Linux Mint 22. It's not easy, but it's possible.

---

<div class="post-metadata">

**Author:** ![Someonesane](https://krita-artists.org/user_avatar/krita-artists.org/someonesane/32/124609_2.png) [@Someonesane](https://krita-artists.org/u/Someonesane)\
**Post date:** [June 22, 2025, 12:51am UTC](https://krita-artists.org/t/fit-canvas-to-all-layers-without-trimming/126823/3 "2025-06-22T00:51:08Z")

</div>

Here’s a method I’ve used:

1 - Select any tool that **isn’t** the Crop Tool.  
2 - Hold **Shift + Ctrl** and **Left click** on the thumbnail of every layer (this adds each of the layers opaque areas to the selection (including area outside the canvas border).  
3 - Select the Crop tool (we do this after the second step, because Krita will automatically adjust to meet the selection area as your cropping zone).  
4 - Click the “ **Crop** ” button in the Tool Options to apply the crop (you can left click the crop area to apply it, too, but using the Crop button avoids the chance of moving the cropping area by mistake).

---

<div class="post-metadata">

**Author:** ![system](https://krita-artists.org/uploads/default/original/1X/e446d8b3077ddf6dfb5b2cd65199c20095b47dcf.png) [@system](https://krita-artists.org/u/system)\
**Post date:** [July 22, 2025, 12:51am UTC](https://krita-artists.org/t/fit-canvas-to-all-layers-without-trimming/126823/4 "2025-07-22T00:51:44Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
