Fixed issue with new bucket scaler

This commit is contained in:
Jaret Burkett committed 2026-05-28 11:34:16 -06:00
1 parent 30886b8f92
commit 87bac27513
1 file changed
+1 -1
+1 -1
View File
@@ -22,7 +22,7 @@ def get_bucket_for_image_size(
target_pixels = min(total_pixels, max_pixels) target_pixels = min(total_pixels, max_pixels)
scaler = target_pixels / total_pixels scaler = (target_pixels / total_pixels) ** 0.5
w_raw = (width * scaler) / divisibility w_raw = (width * scaler) / divisibility
h_raw = (height * scaler) / divisibility h_raw = (height * scaler) / divisibility