b4615ca9b82c134d7b23bc3722d4bf628c312699
KayTool
KayTool is a custom node utility package developed for ComfyUI. I plan to add more features in the future.
Custom Save Images Node:
Current Features:
ColorAdjustment Node Feature Description
-
Supports adjustments for image exposure, contrast, color temperature, tint, and saturation
- Exposure and Contrast: Range from -100 to +100
- Color Temperature: Range from -100 to +100, where negative values add blue and positive values add yellow
- Tint: Range from -100 to +100, where negative values add green and positive values add magenta
- Saturation: Range from -100 to +100
-
Offers multiple filter effects via a selection list that calls filters from the
pilgramlibrary- All filters are sequentially numbered, with an added "None" option to apply no filter
-
Customizable filter strength
- Strength ranges from 0 to 100 (0 means no filter applied, 100 means full filter application)
-
Option to "apply all filters" generates and returns a sequence of images with each filter effect applied
-
After adjusting exposure, contrast, color temperature, tint, and saturation, the selected filter is applied
CustomSaveImage Node Feature Description (English)
- Choose the image format for saving (PNG or JPG)
- Customizable JPG image quality (0-100)
- Supports two color profiles (sRGB IEC61966-2.1 and Adobe RGB (1998))
- When Adobe RGB is selected, the image is automatically converted to the Adobe RGB color space to ensure color accuracy
- Option to save metadata (including workflow information, author, copyright info, and custom prompts)
- Customizable metadata fields:
- Author
- Copyright Info
- Automatically generates a unique filename to ensure each saved image has a distinct name
- Automatically creates an output folder
output/Custom_Save_Imageto store all generated images - When saved in PNG format, metadata is stored as PNG information (PngInfo); when saved in JPG format, metadata is stored in EXIF format
Additional Notes:
- To save in JPG format, the metadata option must be set to False.
- When saving with metadata (workflow information), the format will automatically switch to PNG, and any JPG settings will be ignored.
- For smaller file sizes without noticeable quality loss, set the JPG quality to 40. Lower values may cause visible compression artifacts (blockiness).
Installation and Usage:
Clone this project into your ComfyUI/custom_nodes directory, and make sure to place the sRGB Profile.icc and AdobeRGB1998.icc files in the resources directory.
Languages
JavaScript
78.8%
Python
21.2%