Browse Source

doc: apply pngcrush to shader images.

pull/205/head
Vladimír Vondruš 8 years ago
parent
commit
02ebfacc27
  1. 3
      doc/generated/README.md
  2. BIN
      doc/shaders-distancefieldvector.png
  3. BIN
      doc/shaders-flat.png
  4. BIN
      doc/shaders-meshvisualizer.png
  5. BIN
      doc/shaders-phong.png
  6. BIN
      doc/shaders-vector.png
  7. BIN
      doc/shaders-vertexcolor.png

3
doc/generated/README.md

@ -30,3 +30,6 @@ output is put into `doc/` directory. The executable requires two textures:
```bash
magnum-distancefieldconverter --importer PngImporter --converter PngImageConverter --output-size "64 64" --radius 16 vector-src.png vector-distancefield.png
```
Apply `pngcrush` to the result for smaller file sizes:
for f in $(ls shaders-*.png); do pngcrush -ow $f; done

BIN
doc/shaders-distancefieldvector.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 7.6 KiB

BIN
doc/shaders-flat.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
doc/shaders-meshvisualizer.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 14 KiB

BIN
doc/shaders-phong.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 15 KiB

BIN
doc/shaders-vector.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.4 KiB

After

Width:  |  Height:  |  Size: 8.3 KiB

BIN
doc/shaders-vertexcolor.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Loading…
Cancel
Save