add: галерея (2) одиночная картинка, слова

This commit is contained in:
2026-08-30 23:28:12 +03:00
parent 6756b301b5
commit e26b6f6fac
2 changed files with 16 additions and 16 deletions
+1 -1
View File
@@ -358,7 +358,7 @@ def analyze_svg_structure(svg_content: str) -> dict:
# Наукообразные показатели
total_oscillators = use_count if use_count > 0 else defs_count
bytes_per_quantum = round(total_bytes / max(total_oscillators, 1), 1)
density = round(total_oscillators / max((width * height) / 100000.0, 1.0), 2)
density = round(total_oscillators / max((width * height) / 1048576.0, 1.0), 2)
return {
"total_bytes": total_bytes,