Comfy-Org / Comfy-Org/ComfyUI

Resize Image/Mask (Comfy Core) - scales uniformely instead of scaling height

Open
#12,460 0 comments 0 reactions 0 assignees View on GitHub
Potential Bug
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 6h
Merged PRs (30d)
155

Description

### Custom Node Testing

- [ ] I have tried disabling custom nodes and the issue persists (see [how to disable custom nodes](https://docs.comfy.org/troubleshooting/custom-node-issues#step-1%3A-test-with-all-custom-nodes-disabled) if you need help)

### Expected Behavior

- the Resize Image/Mask node intends to scale in one of the dimensions hieght or width

### Actual Behavior

Image - you set it it to scale mask height, and it scales mask uniformly in every dimension instead of scaling in 1 chosen dimension

### Steps to Reproduce

draw a mask, take Resize Image/Mask node and preview after scaling on 1 of the dimensions (scale height or scale width) it

### Debug Logs

```powershell
Prompt executed in 0.18 seconds
got prompt
Prompt executed in 0.01 seconds
```

### Other

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with the Comfy Core Resize Image/Mask node and reproduce the reported workflow: draw a mask, set scaling to height or width, and preview the result. Verify whether the selected dimension changes independently rather than scaling uniformly, and confirm the corrected behavior for both height and width.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
ai, computer-vision
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.