Repository navigation
v0.2.0
imgkit is now plate. The module path, binary and every name that carried "imgkit" change in this release; nothing under the old name keeps working.
Moving from imgkit
go install github.com/lockyc/plate@latest
plate doctor --install- Binary:
imgkit→plate. Remove the old one from your Go bin directory. - Policy file:
imgkit.toml→plate.toml. - Environment:
IMGKIT_DEVICE→PLATE_DEVICE,IMGKIT_ENGINE_<NAME>→PLATE_ENGINE_<NAME>. - Managed engines and caches:
~/.local/share/imgkit→~/.local/share/plate,~/.cache/imgkit→~/.cache/plate(XDG locations respected). Move them to skip a re-download, or letplate doctor --installfetch again.
Fixes since v0.1.0
infillandinpaintrefuse a source with transparent pixels, andinfillrefuses a hole wider than its coarsest level reaches, instead of writing a plausible-looking wrong fill.- The synthesis policy is checked at dispatch from the command table, so every pixel-synthesising command honours
plate.tomlthe same way. renderandfontscheck the page load whose result is kept, and leave no stale CSS behind on failure.pressaccepts 1-bit stencil masks, no longer fails a CMYK image whose pixel bytes look like an RGB operator, and escapes%in output paths so Ghostscript writes the file you named.- A dash-led input or output path is passed to engines as a file, not a flag.
- Float flags refuse NaN and infinity at parse time.
- ML scripts and the Vision helper share one content-addressed cache.