# HG changeset patch # User Alys Brooks # Date 2021-11-06 23:18:02 # Node ID 5635cfc201368b30d5c43f2a256c3a77cecc811b # Parent 4c664096fc1cd677dd0b10611750e9d75faddbfb Add processing for portraits. diff --git a/Makefile b/Makefile --- a/Makefile +++ b/Makefile @@ -11,22 +11,31 @@ # 'make' by itself merely builds the software: default: $(DEFAULT_RUN) -core-debug: validate ink +core-debug: validate ink portraits dotnet build ${CORE_SOLUTION} -f netcoreapp3.1 -core-release: validate ink +core-release: validate ink portraits dotnet build ${CORE_SOLUTION} -f netcoreapp3.1 -c Release -framework-release: validate ink +framework-release: validate ink portraits msbuild -restore:True ${FRAMEWORK_SOLUTION} -p:Configuration=Release -framework-debug: validate ink clean-obj +framework-debug: validate ink clean-obj portraits msbuild -restore:True ${FRAMEWORK_SOLUTION} -p:Configuration=Debug #PIPELINE -isometric-park-fna/Content/%.json: isometric-park-fna/Content/%.ink +isometric-park-fna/Content/Portraits/converted/%.png: isometric-park-fna/Content/Portraits/%.jpg + convert $< -resize 500x500\> -dither FloydSteinberg -colors 8 -colorspace gray $@ + +isometric-park-fna/Content/portraits.png: $(shell find -ipath "*isometric-park-fna/Content/Portraits/*.jpg" | sed "s/.jpg/.png/" | sed "s:Portraits/:Portraits/converted/:") +# isometric-park-fna/Content/Portraits/converted/%.png + montage $^ -background transparent -geometry 300x400 -gravity north PNG8:isometric-park-fna/Content/portraits.png + +portraits: isometric-park-fna/Content/portraits.png + +isometric-park-fna/Content/%.json: $(shell find -ipath "*isometric-park-fna/Content/*.ink") inklecate $< -o $@ ink: isometric-park-fna/Content/dialog.json