From 2a13c6e8811c2b1dea72b37d68dc9289128cc72d Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Tue, 26 Oct 2021 18:32:12 +0100 Subject: [PATCH] yellow: process bag image --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 121d838..3ee9600 100644 --- a/Makefile +++ b/Makefile @@ -7,17 +7,17 @@ all: pumpkin-books.pdf # Don't print the ps, printers (eg ours!) don't always have the fonts -pumpkin-books.ps: pumpkin-books.ps.pl +pumpkin-books.ps: pumpkin-books.ps.pl bag.pgm ./$< >$@.new && mv -f $@.new $@ -pumpkin-books.pdf: pumpkin-books.ps bag.pgm +pumpkin-books.pdf: pumpkin-books.ps gs -q -dNOPAUSE -dBATCH -dPDFSETTINGS=/prepress \ -sDEVICE=pdfwrite -sOutputFile=$@ $< bag.pgm: Sack_-_Sac_-_Zak_brown.svg Makefile rsvg-convert -f png -o $@.tmp.png $< set -o pipefail; set -e; \ - pngtopnm <$@.tmp.png \ + pngtopnm <$@.tmp.png -mix -background 'white' \ | ppmtopgm \ | pnmdepth 255 \ | pnmnoraw >$@.tmp.new -- 2.30.2