From ab5740188af38944ae3d5af5fc464e092053ce28 Mon Sep 17 00:00:00 2001 From: dennis Date: Sat, 24 Jan 2009 21:17:35 +0000 Subject: Problembehebung: Die PNG-Dateien werden jetzt mit korrekter Transparenz-Information erzeugt. git-svn-id: https://svn.neo-layout.org@1531 b9310e46-f624-0410-8ea1-cfbb3a30dc96 --- grafik/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'grafik/Makefile') diff --git a/grafik/Makefile b/grafik/Makefile index c67a2f6..e8591ec 100644 --- a/grafik/Makefile +++ b/grafik/Makefile @@ -34,25 +34,25 @@ tastatur3d/tastatur_neo_Ebene%.svg: tastatur3d/tastatur_neo_alle_Ebenen.svg tastatur3d/hauptfeld/%.png: tastatur3d/%.svg mkdir -p tastatur3d/hauptfeld inkscape --without-gui --export-id="Haupttastaturfeld" --export-png=$@ -h200 tastatur3d/$*.svg - mogrify -colors 256 -depth 8 +dither $@ + mogrify -colors 256 -type Palette +dither -alpha off -alpha on $@ tastatur3d/ziffernfeld/%.png: tastatur3d/%.svg mkdir -p tastatur3d/ziffernfeld inkscape --without-gui --export-id="Ziffernblock" --export-png=$@ -h200 tastatur3d/$*.svg - mogrify -colors 256 -depth 8 +dither $@ + mogrify -colors 256 -type Palette +dither -alpha off -alpha on $@ tastatur3d/haupt_ziffern_feld/%.png: tastatur3d/%.svg tastatur3d/hauptfeld/%.png tastatur3d/ziffernfeld/%.png mkdir -p tastatur3d/haupt_ziffern_feld convert -splice 20x0 -background transparent tastatur3d/ziffernfeld/$*.png /tmp/$*_tmp.png convert +append tastatur3d/hauptfeld/$*.png /tmp/$*_tmp.png $@ rm /tmp/$*_tmp.png - mogrify -colors 256 -depth 8 +dither $@ + mogrify -colors 256 -type Palette +dither -alpha off -alpha on $@ %.pdf: %.svg inkscape --without-gui --export-pdf=$@ $< %.png: %.svg inkscape --without-gui --export-png=$@ -w1000 $< - mogrify -colors 256 -depth 8 +dither $@ + mogrify -colors 256 -type Palette +dither -alpha off -alpha on $@ .PHONY: default clean pdf cleanpdf png cleanpng ebenen cleanebenen -- cgit v1.2.3