comfyui-DF-ResizeImage
This custom node resizes an image while forcing the final width and height to be multiples of a chosen value. - Resize by long side while keeping aspect ratio. - Resize by short side while keeping aspect ratio. - Resize by scale factor. - Set output by long side and short side directly. - Return the resized image together with the final width and height. - Default alignment is multipleof = 16. If the input image is 1111 x 1126 and you choose: - mode = longside - longside = 1536 - multipleof = 16 - rounding = nearest The output size will be 1520 x 1536. 1. Clone this repository to ComfyUI/customnodes/comfyui-DF-ResizeImage. 2. Restart ComfyUI. - image: ComfyUI image input. - mode: longside, shortside, scalefactor, or longandshort. - interpolation: bicubic, bilinear, area, or nearest. - multipleof: force both sides to be multiples of this number. - rounding: how values are snapped to the multiple. Use nearest for the example above. - longside: used by longside and longandshort. - shortside: used by shortside and longandshort. - scalefactor: used by scalefactor. - image: resized image. - width: final output width. - height: final output height.
Image/Resize · 1 Eingabe · 7 Parameter · 3 Ausgaben