I want to make the snapping guidelines visible like those in Photoshop for the Krita Digital Art Software. Does Krita have a settings option that I could make use of, if not how can I write an external python script which will enable me to do so?

  • Krita's Guides are well visible (if enabled in the view menu) as soon as one drags them out of the rulers. Do you expect something else? – user287001 Aug 16 '19 at 17:04
  • Yes I need the lines which appear when snapping to center sideways, etc. with respect to certain image or canvas – MrCrossCompile Aug 16 '19 at 17:07

I have Krita 4.1.5 . Orthogonal and extension snapping guidelines are implemented there. Enable the snappings in the View > Snap To -menu. In the next image you see the guideline for extension snapping:

enter image description here

They work only with vector shapes. If I have a bitmap shape in a pixel layer, it's treated as whole layer. Its centerpoint can snap to guides, to image area horizontal and vertical center and to edges. But it doesn't see anything of the bitmap content of other pixel layers to snap. If I have a line in pixel layer, Krita doesn't calculate it's a line. It's only some pattern and the centerpoint of its layer is the only meaningful point that can snap.

How to program new functionality is unfortunately beyond my knowledge and the purpose of this site. You should join other programmers who have underhood knowledge of Krita.

  • Doesn’t that work for all objects? – MrCrossCompile Aug 17 '19 at 3:01
  • @MrCrossCompile There's more in the answer. – user287001 Aug 17 '19 at 7:45
  • Since, python plugins are supported in krita maybe someone can help who has programmed a similar script for themselves – MrCrossCompile Aug 17 '19 at 8:02
  • Interpreted scripts are so far from bit level data processing that recognizing 1)there's a line in a bitmap layer and 2)snapping to it's extension is needed - is surely ineffective. If there's a clear shape edge surrounded by full transparency or you aim only a bounding box, you can succeed. – user287001 Aug 17 '19 at 10:31

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.