diff options
author | dennis <dennis@b9310e46-f624-0410-8ea1-cfbb3a30dc96> | 2009-01-24 21:17:35 +0000 |
---|---|---|
committer | dennis <dennis@b9310e46-f624-0410-8ea1-cfbb3a30dc96> | 2009-01-24 21:17:35 +0000 |
commit | ab5740188af38944ae3d5af5fc464e092053ce28 (patch) | |
tree | 9bb889bfacb335699b24b94cc31b74238ed7a56a /grafik | |
parent | 6f4cd1a1747ddff65eee865794f1f1213843eaa2 (diff) | |
download | neo-layout-ab5740188af38944ae3d5af5fc464e092053ce28.tar.gz neo-layout-ab5740188af38944ae3d5af5fc464e092053ce28.tar.bz2 neo-layout-ab5740188af38944ae3d5af5fc464e092053ce28.zip |
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
Diffstat (limited to 'grafik')
-rw-r--r-- | grafik/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
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 |