gitwtfhub

wtf is krita-clonestamp?

metamountain/krita-clonestamp — explained in plain English

Analysis updated 2026-05-18

0PythonAudience · generalComplexity · 2/5LicenseSetup · easy

TL;DR

A Krita plugin that adds a Photoshop style clone stamp brush for copying and blending parts of a painting with a live preview.

Mindmap

mindmap
  root((repo))
    What it does
      Clone stamp brush
      Live preview
      Single undo per stroke
    Tech stack
      Python plugin
      C++ toolbox prototype
      Krita libkis API
    Use cases
      Texture repair
      Background blending
      Photo style retouching
    Audience
      Krita artists
      Digital painters
    Licensing
      GPL 2.0 or later
      CC0 python plugin

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Retouch or repair a digital painting by copying textured areas from one part of the canvas to another.

REASON 2

Blend backgrounds or fix mistakes in illustrations using a familiar clone stamp workflow from other art software.

REASON 3

Krita users who want native-feeling clone stamping without switching to Photoshop or GIMP.

What's in the stack?

PythonC++Krita libkis API

How it stacks up

metamountain/krita-clonestamp0xallam/my-recipe0xhassaan/nn-from-scratch
Stars00
LanguagePythonPythonPython
Last pushed2022-11-22
MaintenanceDormant
Setup difficultyeasymoderatemoderate
Complexity2/52/54/5
Audiencegeneralgeneraldeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · easy Time to first run · 5min

Installs through Krita's own Import Python Plugin dialog, no build step needed for the Python version.

The main repository and C++ tool are GPL 2.0 or later, a copyleft license, the separate Python plugin folder is CC0, meaning public domain.

Wtf does this do

Krita Clonestamp is a plugin for the free digital painting program Krita that adds a Photoshop style clone stamp tool, something Krita does not offer on its own. You Ctrl click anywhere on your canvas to pick a source point, then drag elsewhere to paint a soft edged copy of that area, with a live preview showing what will be painted before you commit the stroke. This is a common retouching and texture repair technique in other art and photo editing software, brought over to Krita. The tool includes several details aimed at matching how professional clone stamp tools behave. Strokes that cross back over their own source always copy the original pixels rather than pixels you just painted, brush size and hardness can be adjusted live by holding Shift and dragging on the canvas, and each full stroke counts as one single undo step instead of many small ones. You can also choose whether the sampled offset stays fixed or moves with your cursor, and whether sampling reads only the current layer or all visible layers. It installs as a Python plugin through Krita's own plugin importer, no compiling required, and includes a built in updater that can fetch newer versions from the project's page. The repository also contains a separate, unfinished native C++ version of the same tool, intended for eventual submission back into Krita itself, since Krita's Python scripting cannot add a real toolbox icon the way a compiled tool can. The project was built by someone without a professional programming background, working with Claude Code as an AI pair programmer, and has been checked through hands on testing rather than automated tests. The author describes it plainly as a working but rough prototype, and invites experienced Krita, Qt, or KDE developers to help review it or carry the C++ version through Krita's own contribution process. The main repository and the C++ tool are licensed under GPL 2.0 or later, while the separate Python plugin folder is released under CC0, placing it in the public domain.

Yoink these prompts

Prompt 1
Walk me through downloading and installing the clonestamp.zip plugin into Krita.
Prompt 2
Explain how Aligned versus Non-Aligned sampling modes change what the clone stamp paints.
Prompt 3
Help me understand why my clone stamp stroke isn't working on my current canvas.
Prompt 4
Show me how to enable the debug log file to troubleshoot the plugin.

Frequently asked questions

wtf is krita-clonestamp?

A Krita plugin that adds a Photoshop style clone stamp brush for copying and blending parts of a painting with a live preview.

What language is krita-clonestamp written in?

Mainly Python. The stack also includes Python, C++, Krita libkis API.

What license does krita-clonestamp use?

The main repository and C++ tool are GPL 2.0 or later, a copyleft license, the separate Python plugin folder is CC0, meaning public domain.

How hard is krita-clonestamp to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is krita-clonestamp for?

Mainly general.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.