Repository navigation
Source Image
Everything the generator produces is a transformation of what you give it. Ten minutes on the source is worth more than any amount of setting-tweaking afterwards.
| Property | Aim for | Why |
|---|---|---|
| Resolution | At least 2000px on the long edge | The largest output is 1920x1080 and the ebook cover is 1600x2560. Upscaling shows |
| Background | Transparent PNG | Lets every format place the mark on its own background. A baked-in white square becomes a white square on a dark theme |
| Padding | Little to none | The generator adds its own margins per format. Padding you supply gets added to that, and the mark ends up small |
| Format | PNG, or exported from vector | JPG artefacts around a logo's edges survive every subsequent operation |
| Content | The mark alone, no strapline | A strapline that reads at 1200px is unreadable at 60x60, and it will still be there |
The single most useful thing: export from the vector original at high resolution with a transparent background. If you have an SVG or an AI file, that is your source.
Shrink your source to 32x32 and look at it. That is social_icon_small, and a favicon is smaller still.
- Still recognisable: you can generate everything from one image
- A coloured blob: you need two sources, a full lockup for the wide formats and a simplified mark for the small square ones
Two sources is the normal answer for a real brand, and it is not a failure of the tool. Run it twice and take the wide outputs from one run and the square icons from the other.
rembg with a model chosen for the content: Auto, Person or portrait, Object or product, Anime or illustration.
It helps on a photograph, a product shot, a screenshot with a background you did not choose, or a logo you only have as a JPG on white.
It hurts on:
- Soft shadows and glows, which it treats as background and cuts away
- Anti-aliased text edges, which can come back with a fringe
- Anything already transparent. There is nothing to remove and it can only lose pixels
The rule: if your source already has a clean alpha channel, leave background removal off. It is for rescuing sources that do not.
Edge smoothing after removal is worth turning on when you do use it, and the model choice matters more than the sliders: a portrait model on a product shot gives you a bad cut regardless of settings.
For formats that need a filled background, the generator adds a radial gradient derived from the image's prominent colours. It looks considered on a social banner and out of place on a favicon or a document header where a flat background is expected.
Generate once, look at the square icons specifically, and turn it off if it is competing with the mark.
Fifteen-plus effects: grayscale, black and white, inversion, hue shift, temperature, contrast, blur, vignette, saturation, brightness, sharpening, watermarking, auto crop, noise reduction, drop shadow.
The order that works:
- Fix the source first: auto crop to remove dead space, noise reduction if it is a scan or a photo
- Then correct: contrast, brightness, sharpening. These recover a mediocre source
- Only then style: grayscale, hue, temperature, vignette. These create a variant
Mixing steps 2 and 3 makes it impossible to tell whether you improved the image or just changed it. And if you want a monochrome variant of your brand, generate the normal set first and the styled set separately, so you have both.
BrandKit · Documentation · Issues · MIT · Self-hosted: your images stay on your machine
In this wiki
Reference
Project