Animals: maintainer notes

Every file, with its inks, source and path: the animals gallery. Rules: graphics.md. This page is for making and adding elements.

Sources

Each element is cut from an image in the moodboard folder animals/animals-moodboard (on GitHub); source in elements.json gives its number. Names read subject-style-colour.

How they are made

./make-element.sh SOURCE NAME [threshold%] [crop WxH+X+Y]

The paper is flattened (divided by a blurred local maximum) so uneven light does not turn grey (skip this with NOFLAT=1 for clean white sources with large solid areas, like 04), then thresholded and traced with potrace (brew install potrace), and printed in black and the three illustration inks. Solid linocuts suit a threshold around 70–75; thin engraved lines around 65–70.

For a painted or photographic source (not a clean print), use make-tonal.sh SOURCE NAME [crop] [edge%] [erase boxes] instead. It keeps the original colours as NAME-original.png and prints each ink in three tones. It needs a dark edge round the animal; where a pale edge meets the paper the outline can come out a little ragged (the bottom of the spotted butterfly's hindwings).

PNGs are optimised with pngquant --quality 80-100 --strip. They can be regenerated from the SVGs at any time (magick -background none -density 72 X.svg -trim +repage -resize 1000x PNG32:X.png). The exception is snake-coiled-watercolour-colour.png, which has no SVG and is kept lossless.

Add an animal

Put the source in the moodboard folder, run make-element.sh, check the result on a light ground, optimise the PNGs, then add it as in system/graphics/README.md, "Add an element".

Built with LogoFlowershow