1 Commits
Author SHA1 Message Date
Moser9815andClaude Opus 5 6e37a66d4a Add RMAddLabel and RMImageComparer to drop KJNodes/rgthree dependencies
Both replace a single node we were pulling an entire pack in for.

RMAddLabel matches KJNodes AddLabel widget-for-widget, with two fixes: left/right now
work at any aspect ratio (the original rotated on the width/channel axes and returned a
[B,C,H,W] tensor that could only concatenate when the image was square), and fonts are
read from the system font directory as well as the pack, so a clean install has 361
usable fonts instead of none.

RMImageComparer is a self-contained reimplementation of rgthree Image Comparer. The
Python half subclasses PreviewImage; the slider is drawn on the node canvas in
js/rm_image_comparer.js rather than through rgthree base-node and widget framework.
The batch index widget is added in JS, not Python, so stepping through a batch does not
invalidate the cache and re-run the graph.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

Claude-Session: https://claude.ai/code/session_012uM7Ru1JYn48n6c5Rzwd99
2026-08-24 14:22:41 -04:00