Seshat AI improves pictures for print, as a module of its own
Seshat now has two modules. Preflight checks and fixes print files. The new ai_enhance module improves a single picture for print, from upscaling to a print size and extending for bleed to removing backgrounds, retouching and vectorizing logos.
Seshat, Rekhu's print-file knower, now comes in two modules, so each platform takes exactly what it needs:
- Preflight checks a print file against its order, fixes it and shows a proof.
- AI image improvement (
ai_enhance) works on one picture, without a check. That suits a platform with its own preflight that only wants Seshat's image work.
What the AI module does
| Upscale | To the resolution a print size needs; Seshat works out the factor itself, up to 4× |
| Extend | A picture grown beyond its edges, for bleed |
| Denoise and sharpen | JPEG artefacts and noise cleaned up |
| Restore | Old or scanned photos: scratches, noise, faded colour |
| Backgrounds | Removed (transparent or a colour) or replaced with a picture you send |
| Remove an object | A blemish or object filled from its surroundings |
| Vectorize | Logos and line drawings as sharp vectors; photos are refused |
| Colour correction | Exposure and white balance |
The rules
Seshat is honest about what it invented, such as an extended edge, a filled area or a reconstructed detail, and it says how sure it is. RGB stays RGB and CMYK stays CMYK. It never invents text or logos, and refuses to vectorize a photo. Files are kept for a day and never used for training.
Inside the full Seshat, a picture that is too small for its print size can now be upscaled in place, but only when the AI module is on.
For developers
Large pictures run as jobs, with polling or a signed webhook. Each mode has its own price, and every answer says what it cost, so you can bill your customers per picture. The module is switched on per application.
$result = Rekhu::seshat()->enhance($photo, ['denoise', 'upscale'], ['ppi' => 300, 'width_mm' => 100, 'height_mm' => 70]);
The modes run on CPU today. Larger extensions and new backgrounds from a description follow on a GPU.