Skip to content

[pull] master from comfyanonymous:master#97

Merged
pull[bot] merged 1 commit intocode:masterfrom
Comfy-Org:master
Jun 3, 2025
Merged

[pull] master from comfyanonymous:master#97
pull[bot] merged 1 commit intocode:masterfrom
Comfy-Org:master

Conversation

@pull
Copy link

@pull pull bot commented Jun 3, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.1)

Can you help keep this open source service alive? 💖 Please sponsor : )

* [feat] Add GetImageSize node to return image dimensions

Added a simple GetImageSize node in comfy_extras/nodes_images.py that returns width and height of input images. The node displays dimensions on the UI via PromptServer and provides width/height as outputs for further processing.

* add display name mapping

* [fix] Add server module mock to unit tests for PromptServer import

Updated test to mock server module preventing import errors from the new PromptServer usage in GetImageSize node. Uses direct import pattern consistent with rest of codebase.
@pull pull bot added the ⤵️ pull label Jun 3, 2025
@pull pull bot merged commit 8564480 into code:master Jun 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant