2 Commits
Author SHA1 Message Date
Djeex 099525a55c v2.1.2 2026-08-16 14:38:05 +02:00
DjeexandClaude Sonnet 5 2185aba135 Chrome HDR artefacting fix
Chrome's GPU rasterizer tiles large composited layers, and a lingering
will-change: transform keeps an image promoted to one of those layers
indefinitely — on HDR gain-map photos scaled down to fit the page,
that can leave visible seam lines at the tile boundaries. Drop the
hint once the fade transition actually ends so the image reverts to
normal (non-promoted) painting afterwards.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
2026-08-16 14:12:07 +02:00
2 changed files with 1 additions and 7 deletions
-2
View File
@@ -12,8 +12,6 @@
Lumeex is a static site generator designed to create minimalist photo galleries that highlight your artworks over the author. It empowers users to organize and explore images using tags, with each page load presenting photos in a random order to encourage discovery of new content.
👉 __Check the online version : [Lumeex-web](https://lumeex.djeex.fr)__
The project includes two thoughtfully designed themes—one modern, one minimalistic—both crafted to keep the spotlight on your photos:
- **Modern** — [View Demo](https://modern.djeex.fr)
+1 -5
View File
@@ -11,7 +11,6 @@ def convert_and_resize_image(input_path, output_path, resize=True, max_width=114
return
img = Image.open(input_path)
icc_profile = img.info.get("icc_profile")
if img.mode != "RGB":
img = img.convert("RGB")
@@ -28,10 +27,7 @@ def convert_and_resize_image(input_path, output_path, resize=True, max_width=114
if fmt == "JPEG":
output_path = output_path.with_suffix(".jpg")
save_kwargs = {"quality": 90 if fmt == "JPEG" else 100}
if icc_profile:
save_kwargs["icc_profile"] = icc_profile
img.save(output_path, fmt, **save_kwargs)
img.save(output_path, fmt, quality=90 if fmt == "JPEG" else 100)
logging.info(f"[✓] Processed image: {input_path}{output_path}")
except Exception as e: