summaryrefslogtreecommitdiff
path: root/grafik/Makefile
diff options
context:
space:
mode:
authordennis <dennis@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2009-01-24 21:17:35 +0000
committerdennis <dennis@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2009-01-24 21:17:35 +0000
commitab5740188af38944ae3d5af5fc464e092053ce28 (patch)
tree9bb889bfacb335699b24b94cc31b74238ed7a56a /grafik/Makefile
parent6f4cd1a1747ddff65eee865794f1f1213843eaa2 (diff)
downloadneo-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/Makefile')
-rw-r--r--grafik/Makefile8
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