Studio Yotsuba
Back to Node List

Patch Apply

patch_apply

Apply a patch document that stores only changed pixels to an image

Reviewed
Guide available

Input Ports

NameTypeDescription
Image
image
Image
Required
Source image
Patch
patch
PixelPatch
Patch document that stores only changed pixels

Output Ports

NameTypeDescription
Image
image
Image
Image after patch application

What is it for?

  • Applying a patch to the final image
  • Returning the result of patch ON/OFF control or merging to an image
  • Keeping generation and manual correction in separate nodes

Overview

An application node that applies a patch (correction difference) to an image. The patch family separates responsibilities: edit with pixel_patch, control with patch_toggle / patch_merge, then return the result to the artwork with this endpoint.

Usage tips

  • The go-to setup is image + patch (from pixel_patch or a merge) → patch_apply. An unconnected patch passes the image through, so placing the node early is safe.
  • Dimension mismatches are errors. Keep the patch target dimensions equal to the destination image.

Related nodes

  • pixel_patch — edits the patch
  • patch_merge / patch_toggle — combines or toggles patches before application
  • image_manual_diff — creates a patch from an external correction

Notes

  • If patch is unconnected, image passes through unchanged.
  • A mismatch between the patch target dimensions and image dimensions produces a node error.
  • Keep responsibility for returning the patch to an image here, while retaining editing state in PixelPatch.

Examples

  1. Noise Generate -> PatchApply
    • Prepare a place to connect a patch later downstream.
  2. Pixel Patch.patch -> PatchApply
    • Apply only the manual correction as a separate node.
  3. PatchMerge -> PatchApply
    • Combine several patches, then apply them once.
Back to Node List