Clarify comment

This commit is contained in:
Eric Bailey
2026-06-04 10:35:19 -05:00
parent 6b439bf7f4
commit f1af61df50
+2 -1
View File
@@ -239,7 +239,8 @@ export async function compressImage(
minQualityPercentage = 0
maxQualityPercentage = 101
attempts++
// 4000px → 3200px → 2560px → 2048px → ~1638px
// max.width → 0.8× → 0.64× → 0.512× → ~0.41×
// e.g. 4000px → 3200px → 2560px → 2048px → ~1638px
currentDimension = Math.floor(currentDimension * 0.8)
continue
}