Yotsuba Games
Back to Node List

Pixel Patch

pixel_patch

Edit and apply a patch that records only changed pixels on top of an image

Reviewed
Guide available
The node name and summary are available in English. Port, parameter, and article details are currently shown in Japanese.

Input Ports

NameTypeDescription
ç”»ćƒ
image
Image
ć·źćˆ†ă‚’é©ç”šă™ă‚‹ć…ƒç”»ćƒïŒˆă‚Șăƒ—ă‚·ăƒ§ăƒłïŒ‰

Output Ports

NameTypeDescription
ç”»ćƒ
image
Image
ć·źćˆ†é©ç”šćŸŒăźç”»ćƒăƒ—ăƒŹăƒ“ăƒ„ăƒŒ
パッチ
patch
PixelPatch
ć€‰æ›Žă—ăŸăƒ”ă‚Żă‚»ăƒ«ă ă‘ă‚’èš˜éŒČする patch document

Parameters

NameTypeDefaultRangeDescription / Options
ćč…
width
Int
321–256

パッチキャンバă‚čたćč…ïŒˆăƒ”ă‚Żă‚»ăƒ«ïŒ‰

é«˜ă•
height
Int
321–256

パッチキャンバă‚čăźé«˜ă•ïŒˆăƒ”ă‚Żă‚»ăƒ«ïŒ‰

ăƒ‘ăƒƒăƒăƒ‡ăƒŒă‚ż
patch_data
CustomData
——

スディタ缡理ぼ patch äżć­˜ăƒ‡ăƒŒă‚ż

What is it for?

  • Manually fixing only part of a generated result
  • Keeping manual corrections visible in the graph instead of hidden state
  • Toggling the same patch or applying it to another image

Overview

Layers a hand-drawn correction difference (patch) over a generated result. Corrections remain independent data containing only changed pixels, so they survive upstream generation edits and can be toggled or reused on another image.

Usage tips

  • The node excels at combining procedural generation with manual cleanup. Connect noise_generate or a similar source to pixel_patch, then fix only a few pixels with the pen. The correction remains at the same coordinates when upstream parameters change.
  • Route the patch output through patch_toggle / patch_merge to toggle or gather corrections with wiring.
  • Large redraws are outside this node's scope; make those changes in the source asset.

Related nodes

  • patch_apply / patch_toggle / patch_merge — apply and control patches
  • image_manual_diff — turns an external correction into a patch
  • pixel_cleanup — mechanical cleanup; choose between manual and automatic methods

Patch editor

Open the dedicated editor with the "Edit Patch" button in the Inspector.

  • Pen: writes difference pixels
  • Eraser: places a difference that makes the coordinate transparent
  • Color: chooses the drawing color
  • Grid: toggles the grid display
  • Zoom: changes magnification
  • Clear All: resets the current patch to empty

Notes

  • The image input is for preview. The patch itself flows independently from the patch output.
  • The current patch editor edits only the patch. It cannot yet overlay the image input inside the editor.
  • The node works without a connected image. In that case, the image output draws only the patch on a transparent canvas.
  • The patch target dimensions come from width / height. They must match the source image dimensions at PatchApply.

Examples

  1. Noise Generate -> Pixel Patch -> Preview
    • Manually fix only part of an automatically generated image.
  2. Pixel Patch.patch -> PatchToggle -> PatchApply
    • Compare with and without the manual correction while retaining it.
  3. Pixel Patch.patch -> PatchMerge
    • Manage several manual correction patches together.
Back to Node List
Pixel Patch — PixPipeline Node Reference