Files
OpenRCT2-Web/scripts
Mike LiuandClaude Opus 4.6 2c524e8462 Add dark artifact cleanup to parse_restyled post-processing
FAL.ai sometimes paints dark horizontal bands across sprites (from grid
lines bleeding into content). The new cleanup_black_artifacts() step
detects opaque pixels significantly darker than the sprite's median
brightness (where the original was NOT dark) and fills them from the
nearest bright neighbor.

This took the Gemini visual quality rating from 2/10 to 10/10 on
test sprites — no more black/dark bands, clean transparency, shape
perfectly preserved.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-25 01:23:12 +00:00
..
2022-03-16 18:21:11 -07:00
2021-04-12 19:01:15 -03:00
2022-03-16 18:21:11 -07:00
2022-03-16 18:21:11 -07:00
2023-05-06 15:54:33 +03:00
2024-11-20 08:45:04 +01:00
2022-03-16 18:21:11 -07:00
2022-03-16 18:21:11 -07:00