Rebuild ImageAutosize to use ComfyUI V3 node API: add a proper ComfyExtension entrypoint and io.Schema-based node. Rename display to "Image/Mask Autosize", accept IMAGE or MASK inputs, and replace multiplier output with scale_x/scale_y. Add constraint_priority (min_size/max_size), anchored crop handling, divisible-by rounding protection, and new interpolation modes. Update README, add CHANGELOG, bump package version to 0.2.0, refresh workflow image, and include comprehensive unit tests for sizing, cropping, and mask behavior.
15 lines
759 B
TOML
15 lines
759 B
TOML
# pyproject.toml
|
|
[project]
|
|
name = "comfyui-imageautosize" # Unique identifier for your node. Immutable after creation.
|
|
description = "A node for ComfyUI that provides a convenient way of resizing or cropping an image for diffusion tasks."
|
|
version = "0.2.0" # Custom node version. Must be semantically versioned.
|
|
license = { file = "LICENSE.txt" }
|
|
dependencies = [] # Filled in from requirements.txt
|
|
|
|
[project.urls]
|
|
Repository = "https://github.com/SparknightLLC/ComfyUI-ImageAutosize"
|
|
|
|
[tool.comfy]
|
|
PublisherId = "sparknight" # TODO (fill in Publisher ID from Comfy Registry Website).
|
|
DisplayName = "ComfyUI-ImageAutosize" # Display name for the Custom Node. Can be changed later.
|
|
Icon = "https://example.com/icon.png" # SVG, PNG, JPG or GIF (MAX. 800x400px) |