From 8c5094afa5a2b5192a661ec919616131608b4089 Mon Sep 17 00:00:00 2001 From: Chris Leaman Date: Thu, 25 Apr 2024 21:27:32 +1000 Subject: [PATCH] Optimize thumbnail before release --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index b9d242b..88d6e38 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,7 @@ .ONESHELL: .PHONY: build +# this is run to generate the files for github release all: cd ./src/ latexmk -pdf -xelatex -interaction=nonstopmode cv.tex @@ -8,6 +9,7 @@ all: convert ./src/cv.pdf[0] -resize 800x800 -flatten cv_thumbnail.png convert cv_thumbnail.png -shave 1x1 -bordercolor black -border 1 cv_thumbnail.png convert cv_thumbnail.png -bordercolor None -border 20x20 \( +clone -background black -shadow 50x5+5+5 \) -compose DstOver -composite -compose Over cv_thumbnail.png + optipng cv_thumbnail.png build: cd ./src/