Nodes/ComfyUI_LC123_nodes/LC Aspect Ratio Pipe (In/Edit)
ComfyUI Node

LC Aspect Ratio Pipe (In/Edit)

Packs image, mask, width, height, latent, batch and resolution into an LC_PIPE, or edits an existing one. Only wired sockets overwrite; everything else on the pipe passes through. Resolution fills in as max(width, height) when width/height are wired and resolution is not.

By lonecatone23·Created 2 months ago·Updated about 7 hours ago· 22
LC Aspect Ratio Pipe (In/Edit)
  • pipe
  • image
  • mask
  • latent
  • pipe
◄width0►
◄height0►
◄batch0►
◄resolution0►
CategoryLC123/image

Inputs (8)

NameTypeDefaultDescription
pipeoptLC_PIPEExisting LC_PIPE to edit (optional). Every other key on it passes through.
imageoptIMAGEimage. Overwrites the pipe's image when wired.
maskoptMASKmask. Overwrites the pipe's mask when wired.
widthoptINT00–4294967295width. Overwrites the pipe's width when wired.
heightoptINT00–4294967295height. Overwrites the pipe's height when wired.
latentoptLATENTlatent. Overwrites the pipe's latent when wired.
batchoptINT00–4294967295batch. Overwrites the pipe's batch when wired.
resolutionoptINT00–4294967295resolution. Overwrites the pipe's resolution when wired.

Outputs (1)

NameTypeDescription
pipeLC_PIPE—