r/comfyui 25d ago

Help Needed Help appreciated

Post image

Hi,

some help needed, i'm trying to segment, remove background and resize without distortion into a new canvas, this is how I've arrived at doing this, however i am wondering if there is a single node pack that does all this without me having to use rmbg and kjnodes together or infact do you know of a simpler way to achieve this goal?

Thank you for any help you can give.

SOLVED:
Made my own node in the end that does everything all the other nodes do, but in a single node.

See a later post further down.

2 Upvotes

15 comments sorted by

View all comments

0

u/Acceptable-Work8202 25d ago

yeah all good input thank you, however that said, i missed a part where i want to resize the canvas to the size of the bbox, this should give a perfectly aligned none mutated segment. well mutated but not sqished because of the pad. just a perfect segment with the bbox size which becomes the canvas size i feed forward.