Handle images with high height-to-width ratios

This commit is contained in:
ze0987 2025-03-25 22:55:28 +01:00 committed by GitHub
parent 8efa77eb07
commit f2f837800e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -29,7 +29,7 @@ function M:preload(job)
"-auto-orient",
"-strip",
"-sample",
string.format("%dx", rt.preview.max_width),
string.format("%dx%d>", rt.preview.max_width, rt.preview.max_height),
"-flatten",
"-quality",
rt.preview.image_quality,