When the option "Enforce minimum crop size based on the output size" is set and the target resolution is larger than the minimum size, the crop box overflows. I know its an odd occurrence because the final image will be upscaled and blurry, but it's needed.

Fixed it by checking if the minimum size is larger than the original image size, and if so set the minimum size to the original image size.

Before:
before patch

After:
after patch

Comments

esbite’s picture

StatusFileSize
new1.08 KB

Updated patch including hack to fix portrait images.