From 8ba6d1a659ec314651b5651d9f4f227d49069a64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Fri, 18 Apr 2025 18:55:18 +0200 Subject: [PATCH] doc: adapt image generation README to inkscape / imagemagick changes. Heh, interesting how drastically random software changes over the years. --- doc/generated/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/generated/README.md b/doc/generated/README.md index 6a077ee70..f888b593b 100644 --- a/doc/generated/README.md +++ b/doc/generated/README.md @@ -24,14 +24,14 @@ is put into `doc/` directory. Apply `pngcrush` to them for smaller file sizes: Generated by the `shaders` executable. Must be run in this directory, the output is put into `doc/` directory. The executable requires two textures: -- `vector.png`, generated as full-page PNG output at 90 DPI from `vector.svg`, +- `vector.png`, generated as full-page PNG output at 96 DPI from `vector.svg`, converted to pure grayscale using imagemagick: ```bash - mogrify -flatten -background '#ffffff' -format grayscale vector.png + mogrify -flatten -background '#ffffff' -colorspace gray vector.png ``` -- `vector-distancefield.png`, generated as full-page PNG output at 360 DPI +- `vector-distancefield.png`, generated as full-page PNG output at 384 DPI (1024x1024) to `vector-src.png` and then processed through `magnum-distancefieldconverter`