Skip to content

Load image and text dataset from folder, stretch vs pad #9742

@EddyNeave

Description

@EddyNeave

Custom Node Testing

Expected Behavior

When setting this beta node to "Pad" resize method the short axis of the image should be padded maintaining orginal images aspect ratio

Actual Behavior

"pad" resize method acts as "stretch" shrinking down the long axis of the non 1:1 aspect ratio image down causing tall images to be squished instead of padded.

Steps to Reproduce

just have a dataset with a 512x512 image and another with a 512x960 image imported using the beta node and previewed shows the 512x960 "stretched" down to 512x512 instead of padded to 960x960 then scaled down

Debug Logs

No log

Other

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Potential BugUser is reporting a bug. This should be tested.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions