Package profile
- Status
- Verified
- Publisher
- @chrisgoringe
- Source
- GitHub
- Stars
- 135
README
CG Image Filter
Problems?
If you have issues after an update, try removing the filter node and then adding it back before reporting it as a bug.
If you use the String to Int or String to Float nodes and get an error reporting that the nodes don't exist,
delete them and add them again. Due to a conflict in naming with other popula node packs they have had an id change.
Please read how to report a bug well before reporting a bug. I'm far, far more likely to be able to fix things if you give me the information requested.
Changes to Mask Image Filter
Because Comfy has changed the way that the Mask Editor works, the Mask Image Filter has had to be modified.
- Use the Save and Cancel buttons in the editor to save or cancel
- The extra values are no longer editable
If you used the extras, the best approach is to chain it with a Text Image Filter like this: chain
Introduction
A set of nodes designed to pause execution of the workflow to allow you to make selections and/or edits before continuing. There's an example workflow that illustrates all of them at the end.
- 'Image Filter' - pause the flow and pick which images from a set you want to proceed with
- 'Mask Image Filter' - launch the mask editor for the image, and return the image and mask
- 'Text Image Filter with Extras' - as 'Text Image Filter' but with three extra single line texts fields that are also returned
There are also some helper nodes.
Examples of what you might do with them
- Generate an image or batch, and select which ones you want before spending the time upscaling
- Generate an image and pick part of it to inpaint all in one go (the example workflow below does this)
- Edit auto-generated captions before saving them
- Iterate through a folder of images, picking a masked area to inpaint (and the inpainting prompt) for each
- you ideas here...
Example workflow
If you prefer trying a workflow to reading docs, use of the nodes is illustrated in this blob (drag the image into Comfy):
or jump down to example workflows for more examples.
Recent Changes
New in 1.9
- Custom audio
- triple-click in text field in
TextImageFilterto insert last sent text - added option in
Mask Image Filterto always start from last output - fixed
Mask Image Filterfingerprinting to prevent downstream execution when sending the same output as a previous run (h/t Reber01Good)
New in 1.8
- Fix for
Mask Image Filterwhen using more than one in a workflow - More reliable flash on background tab
- Better handling of filters in subgraphs
- New option - selecting image unselects others
New in 1.7
- Options for
Mask Image Filterbehaviour when no inputs are changed - Fixed several bugs in
Mask Image Filter - Updated to use new Comfy UI node specification
- Added typing shortcuts
For older changes see Change History
Image Filter
The image filter node pauses execution of the workflow while you choose which, if any, of the images produced, you want to progress.
Insert it like this:
image
When you run the workflow, and get to this point, a popup window will appear displaying the image(s) for you to select which, if any, you want to progress:
image
Click the images that you want to keep (their border will turn green) and then click 'Send' to continue the workflow. If you don't want to keep any of the images, click 'Cancel' (or press 'escape') to terminate the workflow.
The node also has a timeout specified, and a countdown is shown on the left hand side. If you don't Send or Cancel before the timeout, the node will either cance
Nodes in this pack
12 nodes
Nodes in this pack
12 nodes- Any List to String
- Batch from Image List
- cg_String to Float
- cg_String to Int
- Image Filter
- Image List From Batch
- Mask Image Filter
- Masked Section
- Pick from List
- Split String by Commas
- StringToStringList
- Text Image Filter
Related resources
27 connections
Related resources
27 connectionsSources
3 sources
Sources
3 sourcesVerified Oct 24
Verified Oct 24
Source excerpts
1 excerpt
Source excerpts
1 excerptSource context: Repo chrisgoringe/cg-image-filter
