From 072e461601ccb455a4ce8b9adf9766e2aadb7aac Mon Sep 17 00:00:00 2001 From: dennis Date: Fri, 30 Jan 2009 01:40:11 +0000 Subject: optipng mitaufgenommen. git-svn-id: https://svn.neo-layout.org@1567 b9310e46-f624-0410-8ea1-cfbb3a30dc96 --- grafik/Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'grafik') diff --git a/grafik/Makefile b/grafik/Makefile index 1453d14..608f168 100644 --- a/grafik/Makefile +++ b/grafik/Makefile @@ -37,12 +37,14 @@ tastatur3d/hauptfeld/%.png: tastatur3d/%.svg inkscape --without-gui --export-id="Haupttastaturfeld" --export-png=$@ -h200 tastatur3d/$*.svg mogrify -colors 256 -type Palette +dither -alpha off -alpha on $@ mogrify -depth 8 $@ + optipng $@ tastatur3d/ziffernfeld/%.png: tastatur3d/%.svg mkdir -p tastatur3d/ziffernfeld inkscape --without-gui --export-id="Ziffernblock" --export-png=$@ -h200 tastatur3d/$*.svg mogrify -colors 256 -type Palette +dither -alpha off -alpha on $@ mogrify -depth 8 $@ + optipng $@ tastatur3d/haupt_ziffern_feld/%.png: tastatur3d/%.svg tastatur3d/hauptfeld/%.png tastatur3d/ziffernfeld/%.png mkdir -p tastatur3d/haupt_ziffern_feld @@ -51,6 +53,7 @@ tastatur3d/haupt_ziffern_feld/%.png: tastatur3d/%.svg tastatur3d/hauptfeld/%.png rm /tmp/$*_tmp.png mogrify -colors 256 -type Palette +dither -alpha off -alpha on $@ mogrify -depth 8 $@ + optipng $@ %.pdf: %.svg inkscape --without-gui --export-pdf=$@ $< @@ -59,10 +62,12 @@ tastatur3d/haupt_ziffern_feld/%.png: tastatur3d/%.svg tastatur3d/hauptfeld/%.png inkscape --without-gui --export-png=$@ $< mogrify -colors 256 -type Palette +dither -alpha off -alpha on $@ mogrify -depth 8 $@ + optipng $@ %.png: %.svg inkscape --without-gui --export-png=$@ -w1000 $< mogrify -colors 256 -type Palette +dither -alpha off -alpha on $@ mogrify -depth 8 $@ + optipng $@ .PHONY: default clean pdf cleanpdf png cleanpng ebenen cleanebenen -- cgit v1.2.3