mirror of
https://github.com/dh1tw/iso-country-flags-svg-collection-1.git
synced 2025-12-06 03:42:01 +01:00
simplify: remove png2png step.
This commit is contained in:
parent
adc376c25f
commit
3fb025cd15
|
|
@ -1,22 +1,15 @@
|
|||
#!/bin/sh
|
||||
|
||||
RESOS="640x480,320x240,160x120,80x60,40x30,20x15"
|
||||
STYLE="none simple flat fancy glossy"
|
||||
RESOS="1280x960,640x480,320x240,160x120,80x60,40x30,20x15"
|
||||
STYLE="none glossy simple flat fancy"
|
||||
|
||||
for s in $STYLE; do
|
||||
echo "Processing style $s ..";
|
||||
scripts/build.pl \
|
||||
--cmd svg2png \
|
||||
--out build \
|
||||
--res 1280x960 \
|
||||
--svgs build/svg-country-4x2-$s
|
||||
|
||||
echo "Processing style $s ..";
|
||||
scripts/build.pl \
|
||||
--cmd png2png \
|
||||
--out build \
|
||||
--res $RESOS \
|
||||
--pngs build/png-country-4x2-$s/res-1280x960
|
||||
scripts/build.pl \
|
||||
--cmd svg2png \
|
||||
--out build \
|
||||
--res $RESOS \
|
||||
--svgs build/svg-country-4x2-$s
|
||||
done
|
||||
|
||||
echo " ok.";
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
#!/bin/sh
|
||||
|
||||
RESOS="512x512,256x256,128x128,96x96,72x72,64x64,48x48,36x36,32x32,24x24,16x16"
|
||||
STYLE="none simple flat fancy glossy"
|
||||
STYLE="none glossy simple flat fancy"
|
||||
|
||||
for s in $STYLE; do
|
||||
echo -n " $s";
|
||||
echo "Processing style $s ..";
|
||||
scripts/build.pl --cmd svg2png --out build --res $RESOS \
|
||||
--svgs build/svg-country-squared-$s
|
||||
done
|
||||
|
|
|
|||
Loading…
Reference in a new issue