Studio Yotsuba
Back to Node List

Image Manual Diff

image_manual_diff

Build a patch containing only changed pixels by comparing an original image and an edited image

Reviewed
Guide available

Input Ports

NameTypeDescription
Original
original
Image
Required
Original source image
Edited
edited
Image
Required
Edited image to compare against the original

Output Ports

NameTypeDescription
Image
image
Image
Forwarded edited image
Patch
patch
PixelPatch
Patch containing only the changed pixels extracted from the two images

What is it for?

  • Importing an image retouched in an external tool as a patch
  • Keeping only the difference between an original and edited image in the graph
  • Bringing an existing image into a patch workflow

Overview

Compares an original image with an edited one and automatically extracts a patch containing only the changed pixels. It is the entry point for importing manual retouches made in an external tool such as Aseprite into the graph as a patch.

Usage tips

  • The external-edit workflow is: export an image and retouch it externally → two image_load nodes (original and edited) → image_manual_diff → patch_apply. The correction remains applied even when upstream changes later.
  • Merge the extracted patch with a hand-drawn patch from pixel_patch by using patch_merge.

Related nodes

  • image_load — loads the original and edited images
  • patch_apply / patch_toggle / patch_merge — uses the patch
  • pixel_patch — draws corrections inside the graph

Notes

  • original and edited must have the same dimensions. A mismatch produces a node error.
  • The output patch records only the pixels that changed.
  • The image output is the compared edited image itself, so it can also be previewed directly.

Examples

  1. Image Load(original) + Image Load(edited) -> Image Manual Diff
    • Converts an externally edited result into a patch.
  2. Image Manual Diff.patch -> PatchToggle -> PatchApply
    • Toggles only the correction for comparison.
Back to Node List