From 703b0861954b02ddce8678aa9fc9971b1caa871e Mon Sep 17 00:00:00 2001 From: tannevaled Date: Fri, 9 Oct 2026 08:41:47 +0200 Subject: [PATCH] Name convert on the landing go-pdfkit/convert shipped v0.1.0 today: pictures into a PDF and a PDF back into pictures. A repository the landing does not name is a repository nobody finds. The blurb says what the package refuses as well as what it does, because the refusals are the interesting part: webp is turned down BY NAME rather than as an unknown format, the content decides a format rather than the file's name, and fitting onto paper uses one scale for both axes and only ever shrinks. Built locally with --panicOnWarning before pushing, and the fourteen entries checked in the rendered page rather than in the configuration. Co-Authored-By: Claude Opus 5 --- hugo.toml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/hugo.toml b/hugo.toml index 40b667a..0d2f45b 100644 --- a/hugo.toml +++ b/hugo.toml @@ -74,6 +74,13 @@ disableKinds = ["taxonomy", "term", "RSS", "sitemap", "404"] status = "ready" blurb = "**What a document says about a font** — not the outlines, which are the program's business. Which codes a string holds, how wide each is, what each is called, and what text each stands for, through `/ToUnicode` and the encodings. It refuses one guess: a **symbolic** font read through an assumed encoding gives the wrong letter with nothing to say so. The glyph-name table is checked against the documents themselves — **63 515 names, 99.31% agreement**." +[[params.repos]] + name = "convert" + pkg = "github.com/go-pdfkit/convert" + url = "https://github.com/go-pdfkit/convert" + status = "ready" + blurb = "**Pictures into a PDF, and a PDF back into pictures.** Reads PNG, JPEG, GIF, BMP, TIFF and WebP; writes all but WebP — which it refuses **by name**, because there is no pure-Go encoder and writing a PNG under a `.webp` name would be worse than saying no. The **content** decides a format, never the file's name. Only the **DPI** says which page a picture is: 2480×3508 is A4 at 300 and a page a metre tall at 72. Fitting onto paper uses **one scale for both axes** and only ever shrinks." + [[params.repos]] name = "extract" pkg = "github.com/go-pdfkit/extract"