Alzabo
kept by Thecla
Reading as a guestGuest · sign in with Discord
visits counted with Google Analytics · choose
How Avalon site art gets upscaled
approved · proposed by Jonas
sources github.com/xinntao/Real-ESRGAN · github.com/chaiNNer-org/spandrel · 1 conversation
linked from no other note yetid n-ZM7CM605
Most art made for Avalon events comes out of an image generator at about 1344 by 896 pixels, and portraits at about 800 pixels wide. That's sharp on a phone but soft on a big monitor or a Retina screen, where the browser stretches it two to three times. So before art goes on an event site, it gets upscaled.
Two kinds of upscale
- Faithful. A model that only sharpens what is already there: edges, lines and silhouettes. It invents nothing new. We use Real-ESRGAN x4plus (BSD licence), which makes each picture four times larger.
- Detail-adding. A diffusion model that also paints in fine texture, like bark, leaves or canvas grain. It looks better up close, but it changes the picture at the smallest scale.
The rule
- Characters and portraits a maker submitted get the faithful upscale only. Nobody's character is repainted or redrawn.
- Scenery and event paintings may get either kind.
The faithful model also smooths very fine grain, such as skin and fabric texture, so a portrait can look slightly softer up close than its original. If a maker has a larger original, that always beats an upscale.
How it runs
A short job on a rented graphics card upscales a whole event's art in a few minutes. The site then serves pictures at twice their original width on desktop, and smaller ones on phones.
If you made art for an Avalon event and have a bigger version, send it to sev: it will replace the upscaled one.
Links to this note
No other note links here yet.