From 4316665d217454fb6bd4c4d4847c76dee24ca0d5 Mon Sep 17 00:00:00 2001 From: ben Date: Sun, 15 Aug 2010 00:29:56 +0000 Subject: mogrify zerstört die Transparenz im Hintergrund MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://svn.neo-layout.org@2341 b9310e46-f624-0410-8ea1-cfbb3a30dc96 --- grafik/Makefile | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/grafik/Makefile b/grafik/Makefile index 7d21085..d9e8797 100644 --- a/grafik/Makefile +++ b/grafik/Makefile @@ -42,15 +42,11 @@ 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 -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/hauptfeld/%.png tastatur3d/ziffernfeld/%.png @@ -58,8 +54,6 @@ tastatur3d/haupt_ziffern_feld/%.png: tastatur3d/hauptfeld/%.png tastatur3d/ziffe convert -splice 20x0 -background transparent -colors 256 -type Palette +dither -alpha off -alpha on tastatur3d/ziffernfeld/$*.png /tmp/$*_tmp.png convert +append tastatur3d/hauptfeld/$*.png /tmp/$*_tmp.png $@ rm /tmp/$*_tmp.png - mogrify -colors 256 -type Palette +dither -alpha off -alpha on $@ - mogrify -depth 8 $@ optipng $@ %.pdf: %.svg @@ -67,14 +61,10 @@ tastatur3d/haupt_ziffern_feld/%.png: tastatur3d/hauptfeld/%.png tastatur3d/ziffe ../www/%.png: ../www/%.svg 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 $@ -- cgit v1.2.3