LuminaWebsite/assets/js
Maaxxs 4e414cba63 Karte: screenshot stitcher and sharper tiles
Adds tools/stitch_map_screenshots.py, which assembles overlapping in-game
map screenshots into one large image. How far the map can be zoomed in
sharply depends only on the source resolution - the tiler stops at 1:1 - so
the way to a sharp map is capturing a grid of screenshots at maximum in-game
zoom rather than one full-map screenshot.

Offsets are found by FFT phase correlation and verified by the normalised
cross correlation of the actual overlap, so filename order does not matter.
Because phase correlation is cyclic, both readings of every peak are tried
per axis - shifts beyond half the image width are the normal case at 35%
overlap. Overlaps are composited by nearest image centre, which keeps seams
away from the frame edges without the blur of feathering. Verified against a
reference image: 12 shuffled screenshots with UI bands reassemble
pixel-identically.

Sharpness on the website side: the tile layer now uses detectRetina, so
high-density displays get the next tile level drawn at half size instead of
an upscaled, blurry top level. Default JPEG quality raised from 82 to 88,
which suits map labels better.

The GD check in make_map_tiles.php now reports the loaded php.ini, the
extension_dir and the exact lines to add - a stock Windows/scoop PHP loads no
php.ini at all, so the previous one-line error left no way forward.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-20 13:56:28 +02:00
..
events.js Events: new tab for the bot's scheduled event reminders 2026-09-20 12:40:56 +02:00
map.js Karte: screenshot stitcher and sharper tiles 2026-09-20 13:56:28 +02:00
nav.js Nav: group sidebar links, add mobile slide-out drawer 2026-09-20 01:37:12 +02:00
premades.js Premades: bigger class icons, distinct class-action design 2026-09-20 01:25:29 +02:00
raids.js Raids: use a real date/time picker instead of a free-text field 2026-09-20 01:42:53 +02:00
reports.js Reports: replace the table with a styled card list 2026-09-20 02:56:32 +02:00
success-popup.js Show success flashes as a centered popup with an animated checkmark 2026-09-20 02:32:23 +02:00