Optimize Foundry world media to WebP (with optional downscale) and repoint document references. Backfill existing worlds and auto-convert on upload. Never touches the database on disk. It works on v13/v14 LevelDB.
- Backfill: optimize media already in a world. Scan by scope (scenes / actors / journals / items), run a dry-run that shows real byte savings before anything is written, then Apply to convert.
- Optimize on upload: auto-convert PNG/JPG images to WebP as they're uploaded.
Tunable WebP quality, a max-dimension downscale cap, and a lossless-alpha threshold so small transparent tokens/icons stay crisp. GM-only, pure client-side, no build step.
