We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In generate function:
width, height = input_image.size factor = args.resolution / max(width, height) factor = math.ceil(min(width, height) * factor / 64) * 64 / min(width, height) width = int((width * factor) // 64) * 64 height = int((height * factor) // 64) * 64 input_image = ImageOps.fit(input_image, (width, height), method=Image.Resampling.LANCZOS)
This can lead to unexpected clipping. Can this be changed by modifying the parameters?
The text was updated successfully, but these errors were encountered:
Same problem here. Sometimes there will be a resolution loss (original res: 300 * 419 -> out res: 296 * 416)
Sorry, something went wrong.
No branches or pull requests
In generate function:
This can lead to unexpected clipping. Can this be changed by modifying the parameters?
The text was updated successfully, but these errors were encountered: