main Breadcrumbs image-resize-comfyui / __init__.py Latest commit HistoryHistory File metadata and controls Code Blame 3 lines (2 loc) · 139 Bytes Raw 1 2 3 from .image_resize import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS __all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_...
This repository has been archived by the owner on May 11, 2024. It is now read-only. palant/image-resize-comfyuiPublic archive NotificationsYou must be signed in to change notification settings Fork3 Star67 Code Issues Pull requests Actions ...
To install, clone this repository intoComfyUI/custom_nodesfolder withgit clone https://github.com/palant/image-resize-comfyuiand restart ComfyUI. Node configuration action In theresize onlymode, the image will only be resized while keeping its side ratio. Theside_ratiosetting is ignored then. ...
def execute(self, image, width, height, keep_proportion, interpolation="nearest", condition="always"): if keep_proportion is True: _, oh, ow, _ = image.shape def execute(self, image, width, height, keep_proportion, interpolation="nearest", condition="always", multiple_of=0):...