
How many times do you need want to create something like this ?

Well, This node was created to make the composition process quick and easy!
With the Compositor Node you can:
Reset your canvas: you lost your image outside of screeen: Reset All button to restore initial configuration, select and move via layers.
Reload with no fear: Remember positions, scaling, rotations, z-index across generations and reloads

technicalities: Input options with the new configuration you can choose the quality of the input (saved to disk) and position: the tmp folder is temporary and will not on reload persist reloads. save to output in by default in a well isolated folder with unique names
_Attention!!!: This is an Alpha preview, v3 still there. :

Known Issues / Work in Progress:
click here to expand the changelog...
v 3.1.0 - 20.09.2024
new configuration feature: onConfigChange action toggle when you change the configuration (or any of the attached nodes) you can now choose if:
new configuration feature: normalize height when this is activated your images will all be the same height of the canvas (this can lower image quality)
transforms enhancement: you can force transform outputput values to be integers (as some nodes requires it)
new feature: (experimental and limited): Tools ! this is an experimental feature. it allows controlling some aspects of the compositor.
- v 3.0.8 - 18.09.2024
- new feature: invert mask option. the implementation of mask was not correct. now it's possible to invert the mask via toggle.
- new feature: angle output the angle of rotation is now accessible in the output (and soon the bounding box x,y, width and height).
- bugfix: fix cut images on swap due to wrongly preserved width and height
- _new feature: added force int to allow the outputs to be used with set area conditioning (that requires int)
- v 3.0.4 - 18.09.2024 - bugfix: the width and height stored in transforms were swapped and the output node would report them incorrectly. thanks @sky958958 for spotting it
- v 3.0.2 - 17.09.2024 - friendly transforms for area prompting!
With the goal of being able to do regional area prompting,
now you can easily output each input x,y coordinates and their scaled width and height with the help of the new Transform Output node!
select the channel corresponding the input and the node will output the values for you.
- enhancement: a new node outputs x,y,width,height other images into a convenient node to be attached to the transforms output
- enhancement: save and restore skew from transform (now you can distort your images to help fake perspective)
- v 3.0.0 - 16.09.2024 - this release is a full rewrite of the code and fixes: - issues #45 , #34, #18
also, and adds new features: - enhancement: simplified control panel (cature on queue, save transform, pause are removed as not needed anymore) - new feature: automatic upload of the output on mouse out of the canvas area (no need to click capture) - new feature: flash on save (once the image is uploaded the composition area green border briefly flashes in orange) - new feature: preliminary work for optional control panels (they will contain alignment controls, and other tools) - enhancement: enqueue with continue, on the first run, if necessary information is missing (like output) the flow will stop, make your composition, and click continue to re-enqueue the flash finishes.
- v 2.0.4 - 06.09.2024 - enhancement: You can now scale the selected image via mouse wheel!
- v 2.0.1 - 05.09.2024 - V2 is HERE!
- enhancement: An all new widget layout with maximized working area and less clutter
- new feature: A new companion configuration widget to allow more control and easier maintenance
- enhancement: More control! it's now possible to select an image or group and then "alt+drag" to center scale and rotate
- new feature: More control! it's now possible to nudge a selection by one pixel by using keyboard arrows, and while holding shift the movement is 10px! pixel perfect alignments!
- new feature: the node now remembers the transforms you have applied, on the new run it will re-apply the stored transforms (storing transforms is controlled in the config)
- new feature: masks are here! you can now pass masks, and they will be applied automatically! (depending on the results you might want still to invert them)
- regression: a bit annoying but is_changed is not being observed so flows are re-triggered even on fixed
- regression: img in workflow saved is not visible anymore
- V 1.0.9 - 30.08.2024 - Huge refactoring!
- new feature: multiple instances are now possible
- bugfix: zooming out does not hide the compositor images anymore
- bugfix: when saving a png with the workflow the compositor content is now visible (will not be restored...yet)
- enhancement: the node does not re-trigger the execution of the flow if the image is not changed
- performance: the node is now more efficient and correctly implements the is_changed check via checksum, avoiding re-triggering flows downstream if the composition has not changed
- maintainability: the node is now refactored and better engineered, with a lot of comments. could be a good use case for those learning to code comfy extensions.
- V 1.0.8 - 28.08.2024 - new feature: safe area indication - a green border is overlaid on top of the composition to indicate the exported area
- V 1.0.7 - 28.08.2024 - new feature: preserve stacking order. when selecting a node, it's z-order is preserved image1 being the background/farthest and image8 the foreground/closest.
- the first connected node will be the most distant from camera (background)
- the last will be the closest to camera (subject/foreground)
- V 1.0.4 - 27.08.2024 - new feature: now it's possible to pause the flow with a switch to avoid processing an unfinished composition
Method 1: git clone open the custom nodes directory in your editor and
git clone https://github.com/erosDiffusion/ComfyUI-enricos-nodes.git
like all other custom nodes (that are not integrated with manager)
Method 2: ComfyUi Manager In Comfy UI Manager search "Compositor" and select the node from erosDiffusion and press install.
Method 3: via manager's button open ComfyUI manager click on Install via Git URL and paste this url
https://github.com/erosDiffusion/ComfyUI-enricos-nodes.git
if you get: "This action is not allowed with this security level configuration" then check your manager config.ini as discussed here: and set the security to weak (at your risk)

Quick Start (V4):
config input$ claude mcp add ComfyUI-enricos-nodes \
-- python -m otcore.mcp_server <graph>