summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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