From dea4cd22a583e51f12f758c7864ebb2134cf2d5d Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Fri, 16 Oct 2026 15:20:49 +0200 Subject: Docs: page render bound Co-Authored-By: Claude Opus 5.5 --- docs/superpowers/specs/2026-10-16-attachments-design.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/superpowers/specs') diff --git a/docs/superpowers/specs/2026-10-16-attachments-design.md b/docs/superpowers/specs/2026-10-16-attachments-design.md index 2b56f7d..1f6a923 100644 --- a/docs/superpowers/specs/2026-10-16-attachments-design.md +++ b/docs/superpowers/specs/2026-10-16-attachments-design.md @@ -60,7 +60,7 @@ starts) and nothing is sent to the model: | --- | --- | --- | | text | a `text/*` mime type, or a code suffix (llamachat's list) | the file as UTF-8 (errors replaced) in a `--- file: name ---` block | | image | png, jpeg, webp, gif | an `image_url` part, a base64 data URL | -| pdf | `.pdf` | `pdftotext -layout` per page in one block; a page with no text is rendered with `pdftoppm -r 150 -scale-to 2048 -png` and sent as an image, at most 4 such pages (further ones are listed as not shown and the chip is truncated) | +| pdf | `.pdf` | `pdftotext -layout` per page in one block; a page with no text is rendered with `pdftoppm -png` at 150 dpi, lowered so the longest side stays within 1600 px (never raised), and sent as an image, at most 4 such pages (further ones are listed as not shown and the chip is truncated) | | other | anything else | refused, see above | Text blocks share a budget: half the free context, -- cgit v1.2.3