ComfyUI Node

Stamp Load

Nine built-in stamps you can tint any color

By tsukino4a·Created 27 days ago·Updated 25 days ago· 2
Stamp Load
  • stamp_color
  • stamp
stamp_presetheart_solid
stamp_angle0

Stamp Load is the front half of the 4A Stamp Censor pack's one trick: it hands Stamp Censor a ready-to-use stamp shape, and Stamp Censor is the thing that scatters it over a mask. On its own, Stamp Load does almost nothing - it builds a single stamp and passes it along. But it's the node you'll actually spend your time fiddling with, because it's where the "does this look like a design choice or a censor bar" decision gets made.

It ships with nine presets that cover the full range of coverage vibes: four hearts (heart_solid, heart_standard, heart_wobbly_a, heart_soft), two horizontal bars (bar_h_scribble, bar_h_thick), and a star_wobbly, circle_scribble, and cross_x. The solid heart is the safe default; the scribble bar is the one that reads most like a real content-moderation stamp.

How it works

On startup the pack scans its assets/ folder and lists every PNG except one reserved file, demo_scene.png, which is only used for the internal demo plate. The filename without extension becomes the preset id in the dropdown. The interesting part is the tint: built-in stamps only work in two formats - white on a transparent background, or black ink on white. If the stamp is white-on-transparent, the color picker replaces the white; if it's black ink on white, the black is kept, the white is discarded, and then the black gets tinted. Either way, stamp_color is a tint, not a recolor, and it's applied live in the preview.

You can also drop your own PNGs into assets/ to extend the list. The format rules matter: the file has to be one of those two tintable formats, or the tint will silently do nothing useful. After adding a file, press R (Refresh Node Definitions) or reload the page - it appears in the dropdown under its filename.

Inputs and output

There are only three widgets, and they're all self-explanatory:

  • stamp_preset - the shape, straight from the dropdown.
  • stamp_color - a hex color code, default #000000. This is the tint applied to the preset.
  • stamp_angle - the base rotation in degrees.

Output is a single stamp (the pack's own STAMP type), wired into Stamp Censor's stamp input. One subtle thing about stamp_angle: the preview on this node rotates as you drag, but the output stamp itself stays unrotated. Stamp Censor applies the angle on its side so it can add auto-rotate (aligning stamps to each mask region's long axis) and jitter on top. You set the base angle here; any angle_jitter in Stamp Censor adds to it.

Install

Same as the rest of the pack - search 4A Stamp Censor in ComfyUI-Manager, or:

cd ComfyUI/custom_nodes
git clone https://github.com/tsukino4a/ComfyUI-4A-StampCensor.git ComfyUI-4A-StampCensor

Restart ComfyUI after. No extra pip dependencies (Pillow and NumPy come from ComfyUI) and no model files to download - the stamps are plain PNGs in the repo's assets/ folder, MIT licensed.

The one trap

It's the tint formats. If you add a custom stamp and the color picker does nothing, your PNG probably isn't white-on-transparent or black-on-white - a full-color sticker gets used as-is and won't take a tint (that's what Stamp Custom Load is for). Don't name a file demo_scene.png; it's reserved and ignored. And if a stamp isn't showing up, you forgot the R refresh - the dropdown doesn't rescan on its own.

For a specific color and shape this is the node to reach for - the tintable preset loader with a live preview, which beats queueing to find out what a color looks like. Want your own full-color sticker with its own alpha instead? Skip this one and use Stamp Custom Load.

Category4A/StampCensor

Inputs (3)

NameTypeDefaultDescription
stamp_presetCOMBOheart_solidBuilt-in stamp shape.
stamp_colorCOLORCODE#000000Tint color for built-in stamps (white+transparent or black ink on white).
stamp_angleFLOAT0-180–180Initial angle used by Stamp Censor when Auto Rotate is off. Preview rotates; the output stamp does not.

Outputs (1)

NameTypeDescription
stampSTAMP