Browse Source

doc: adapt image generation README to inkscape / imagemagick changes.

Heh, interesting how drastically random software changes over the years.
pull/674/head
Vladimír Vondruš 1 year ago
parent
commit
8ba6d1a659
  1. 6
      doc/generated/README.md

6
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 Generated by the `shaders` executable. Must be run in this directory, the
output is put into `doc/` directory. The executable requires two textures: 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: converted to pure grayscale using imagemagick:
```bash ```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 (1024x1024) to `vector-src.png` and then processed through
`magnum-distancefieldconverter` `magnum-distancefieldconverter`

Loading…
Cancel
Save