Infinite Canvas

I know that Krita has an “infinite” kanvas, since we can draw outside the boarder.

So my question is, can the boarder be disabled in anway? I tried searching for a tutorial on Youtube, yet none seemed of much help and the only thing I found here is canvas only mode which is not what I want…

I don’t think it can be disabled in any way.
However, at any time you can do Image → Trim to Image Size which will delete all off-canvas content.
Also, in Settings → Configure Krita → General → File Handling, you can enable the ‘Trim files before saving’ option.

No, there’s no mypaint-like infinite canvas feature. Lukas Tvrdy tried to implement that ten years ago or so, but it is really incompatible with the way our canvas view is implemented. I also had, at one point, the content outside the image bounds showing up dimmed on the canvas background, but the KWord maintainer (Krita was part of KOffice back then) thought that was useless, and killed the feature and made it impossible to reimplement.

1 Like

Ahh I see, a bit of a shame since I like drawing on infinite canvases but, eh, if it doesn’t work it doesn’t work ^^

Thanks for the quick reply :slight_smile:

Ah, I totally misunderstod. I thought you wanted to disable painting outside the canvas.

2 Likes

I’m still wondering how it is implemented since infinities don’t usually go well with the finiteness of computer resources. I assume it is simply a really large canvas that got saved as tiles or something.

Would it be enough for you to expand the canvas every time you need more space to draw/paint?
If so, you can use the scroll bars to move the canvas up and down or right and left to the stop and then click the small arrow icon on the light gray bar that appears on the side you scrolled to. This will extend the canvas in that direction and can be repeated infinitely.

Michelist

1 Like

That sounds awesome though. Sadge.

For myself I made Tela create a offset in either direction that it can retract back to the original intended resolution. This helps open up the canvas temporarily and use the extra space. This is never saved though as it cleans the offset before closing. If the resolution is not a problem I just crop with grow.

There is one raster app that has infinite canvas called leonardo, if you want to see how it goes. Also concepts app but vector.

Okay thanks for the tips!

Basically, only the tiles that have pixels are actually in memory (this goes for Krita as well, btw), but mypaint’s canvas view fills in everything else with white and doesn’t have as much code as Krita that actually checks the image size all the time to determine things like selection boundaries.

1 Like

What an absolute villain!

Is it still impossible to implement, now that Krita isn’t part of KOffice?

Yeah… That code has become so complicated it’s basically impossible to rework.

1 Like

Also, when you use the crop tool, you can expand it and this will add to the canvas size, it’s a quick intuitive way to add very specific new space to your image as you need it.

1 Like

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