Fixed issue with new bucket scaler

This commit is contained in:
Jaret Burkett
2026-05-28 11:34:16 -06:00
parent 30886b8f92
commit 87bac27513

View File

@@ -22,7 +22,7 @@ def get_bucket_for_image_size(
target_pixels = min(total_pixels, max_pixels)
scaler = target_pixels / total_pixels
scaler = (target_pixels / total_pixels) ** 0.5
w_raw = (width * scaler) / divisibility
h_raw = (height * scaler) / divisibility