Changes between Version 15 and Version 16 of Submitting/Docs


Ignore:
Timestamp:
01/21/16 00:33:47 (9 years ago)
Author:
neteler
Comment:

color quantization with pngnq

Legend:

Unmodified
Added
Removed
Modified
  • Submitting/Docs

    v15 v16  
    126126 * `v_clean_rmsa.png`
    127127
    128 Image size: 600 pixel width (height depends on that), use e.g. !ImageMagic:
     128Image size: '''600 pixel width''' (height depends on that), use e.g. !ImageMagic:
    129129
    130130{{{
     
    134134Smaller images are also possible when appropriate, e.g. when a lot of images are included or they are something special, e.g. equations, icons or simple diagrams.
    135135
    136 Please compress PNG images with:
     136Please '''compress''' PNG images with:
    137137
    138138{{{
     139# optionally, but usually worth it (careful color quantization):
     140pngnq -n 128 -s 3 file.png
     141
     142# shuffle original and quantitized image names
     143mv file.png file_ORIG.png
     144mv file-nq8.png file.png
     145
     146# compress better (lossless)
    139147optipng -o5 file.png
    140148}}}
    141149
    142 Format: Images should be ideally in PNG. JPG and GIF is allowed as well when appropriate. Vector images should be included in pages as rasters (i.e. PNGs) but the original format (preferably SVG) should be committed to the repository as well.
     150Format: Images should be ideally in PNG (well, JPG and GIF is allowed as well when appropriate but usually it is not!). Vector data should be included in pages as raster images (i.e. PNGs) but the original format (preferably SVG) should be committed to the repository as well.